Hey good morning everyone, i would like a npc which has a simple use, uhm when you talk to the npc he will ask you to put a password and if the password is correct, you'll be teleported in a map. (example gef_fild15) if possible, i would like to implement an option to be able to change password if GM acc is 99 on the npc.. i tried to make one but.. there's an error.
prontera.gat,150,150,5 script Men In Black 811,{
mes "[Men In Black]";
mes "Enter the password.";
next;
input @lb_pass$;
if(@lb_pass$ != 123456){
mes "[Men In Black]";
mes "Incorrect password.";
close;
}
mes "[Men In Black]";
mes "Correct password, teleporting to the map..";
close2;
warp "Prontera.gat",180,150;
end;
}
Question
Killmesoftly
Hey good morning everyone, i would like a npc which has a simple use, uhm when you talk to the npc he will ask you to put a password and if the password is correct, you'll be teleported in a map. (example gef_fild15) if possible, i would like to implement an option to be able to change password if GM acc is 99 on the npc.. i tried to make one but.. there's an error.
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.