Jump to content
  • 0
Sign in to follow this  
ThyroDree

Soul Link requires item > zeny

Question

How to make this payable with Zeny only ( because it requires 1 Items to get Linked )

prontera,151,188,5	script	Soul Linker	719,{	mes "^0000FF[ "+strnpcinfo(1)+" ]^000000";	mes "Hello "+strcharinfo(0)+"";	mes "Do you want me to Soul Link you?";	next;	switch(select("Yes:No")) {	case 1:		if(countitem(.itemid[0]) < .itemid[1]) || (Class < 7)  {				mes "^0000FF[ "+strnpcinfo(1)+" ]^000000";			mes "First jobs aren't allowed to use my service. or";			mes "You need "+.itemid[1]+"x ^0000ff"+ getitemname(.itemid[0]) +"^000000 for a Soul Link.";			close;		}		set .@basejob$,strtoupper(jobname(BaseJob));		if (jobname(BaseJob) == "Super Novice") set .@basejob$,"SUPERNOVICE";		if (jobname(BaseJob) == "Star Gladiator") set .@basejob$,"STAR";		if (jobname(BaseJob) == "Soul Linker") set .@basejob$,"SOULLINKER";		if (jobname(BaseJob) == "Assassin") set .@basejob$,"ASSASIN";		if (jobname(BaseJob) == "Bard" || jobname(BaseJob) == "Dancer" ) set .@basejob$,"BARDDANCER";		npcskill "SL_"+.@basejob$+"",5,99,99;		delitem .itemid[0], .itemid[1]; // delete required item.			close;	case 2:		mes "^0000FF[ "+strnpcinfo(1)+" ]^000000";		mes "Okay,goodbye!";		close;	}OnInit:	setarray .itemid[0],30081,1; // replace with TCG Item id. Format Item id,Item quantity	end;} // --------------------------------------------------//	Duplicates:// --------------------------------------------------geffen,124,69,4	duplicate(Soul Linker)	Soul Linker#geffen	719 

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
prontera,151,188,5    script    Soul Linker    719,{    mes "^0000FF[ "+strnpcinfo(1)+" ]^000000";    mes "Hello "+strcharinfo(0)+"";    mes "Do you want me to Soul Link you?";    next;    switch(select("Yes:No")) {    case 1:        if(Zeny < .Zeny) || (Class < 7)  {                mes "^0000FF[ "+strnpcinfo(1)+" ]^000000";            mes "First jobs aren't allowed to use my service. or";            mes "You need "+.Zeny+" Zeny for a Soul Link.";            close;        }        set .@basejob$,strtoupper(jobname(BaseJob));        if (jobname(BaseJob) == "Super Novice") set .@basejob$,"SUPERNOVICE";        if (jobname(BaseJob) == "Star Gladiator") set .@basejob$,"STAR";        if (jobname(BaseJob) == "Soul Linker") set .@basejob$,"SOULLINKER";        if (jobname(BaseJob) == "Assassin") set .@basejob$,"ASSASIN";        if (jobname(BaseJob) == "Bard" || jobname(BaseJob) == "Dancer" ) set .@basejob$,"BARDDANCER";        npcskill "SL_"+.@basejob$+"",5,99,99;        set Zeny,Zeny - .Zeny;        close;    case 2:        mes "^0000FF[ "+strnpcinfo(1)+" ]^000000";        mes "Okay,goodbye!";        close;    }OnInit:    set .Zeny,100; //Amount of zeny here    end;} // --------------------------------------------------//    Duplicates:// --------------------------------------------------geffen,124,69,4    duplicate(Soul Linker)    Soul Linker#geffen    719 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.