Jump to content
  • 0

An npc script like this?


Question

Posted

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

2 answers to this question

Recommended Posts

Posted


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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...