Jump to content
  • 0

An npc script like this?


Santafe

Question


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   34
  • Joined:  06/01/13
  • Last Seen:  

Hey all,

Would like a script in which, on checking if the player has the item: 30000 (custom item) , the npc he says: ''Hey Brave adventurer, Seems that you have the requirements to enter the sacred cave! Would you like to go there?''yes/no, and then he warps you there example: new_1-1. Thx in advance :3

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   2
  • Joined:  05/23/12
  • Last Seen:  


map,x,y,pos script NameNPC skin,{

if ( countitem(30000) ) {

mes "Hey Brave adventurer, Seems that you have the requirements to enter the sacred cave.";

mes "Would you like to go there ?";

next;

if ( select("Yes:No") == 1 ) {

close2;

warp "new_1-1",0,0;

end;

}

else {

mes "Bye !";

close;

}

}

else {

mes "You don't have the requirements.";

close;

}

}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   34
  • Joined:  06/01/13
  • Last Seen:  

Thx :)

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...