Jump to content
  • 0

help


cadz

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


if ( countitem( 12622 ) ) {

    mes "sorry you have the item already";

    close;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  96
  • Reputation:   42
  • Joined:  11/15/11
  • Last Seen:  


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;

}

Link to comment
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.

×
×
  • Create New...