• 0
Sign in to follow this  
cadz

help

Question

glast_01,44,363,5	script	Mount NPC	1098,{
set .npcName$,"Carrier";

mes "["+.npcName$+"]";
 	mes "Hi there adventurer!";
	mes "your tired of walking";
	next;
switch(select("Yes:No"))

   {
case 1:
	mes "["+.npcName$+"]";
	mes "Okay here you go have fun with your mount";
	getitem 12622,1;
	next;
	mes "["+.npcName$+"]";
	mes "Remember sometimes take a little walk";
	mes "Exercise is good for your health";
	close;
	
case 2:
	mes "["+.npcName$+"]";
	mes "Okay get lost.";
	close;
	
	}

}


hi anyone can help me like this

 

if inventorylist_equip = 12622

mes "sorry you have the item already";

close;

done already fix thanks

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts


if ( countitem( 12622 ) ) {

    mes "sorry you have the item already";

    close;

}

Share this post


Link to post
Share on other sites


glast_01,44,363,5 script Mount NPC 1089,{

mes "["+strnpcinfo(1)+"]";

mes "Hi there adventurer!";

mes "Your tired of walking..";

if (select("Yesss!:Nopss!")==2) close;

next;

mes "["+strnpcinfo(1)+"]";

mes "Okay, here you go have a fun with your mount!";

next;

mes "["+strnpcinfo(1)+"]";

if (!countitem(12622)) {

mes "Remember sometimes take a little walk";

mes "Exercise is good for your health";

getitem 12622, 1;

}

else {

mes "Sorry you have the item already!";

}

close;

}

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.   Paste as plain text instead

  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.

Sign in to follow this