IvanD Posted July 28, 2020 Posted July 28, 2020 GM lvl 99 only NPC that warps to prontera,0,0 but with a password... gm can set password ingame... anyone have this script? i appreciate it guys Quote
0 buraquera Posted July 28, 2020 Posted July 28, 2020 map,x,y,pos script Prontera Warper::PrtWarper SPRITE_ID,{ if (getgmlevel == 99){ input $pass; mes "Password updated"; end; } input .@pass$; if (.@pass$ == $pass){ warp "prontera",0,0; end; } } Quote
0 IvanD Posted July 30, 2020 Author Posted July 30, 2020 On 7/28/2020 at 1:41 PM, buraquera said: map,x,y,pos script Prontera Warper::PrtWarper SPRITE_ID,{ if (getgmlevel == 99){ input $pass; mes "Password updated"; end; } input .@pass$; if (.@pass$ == $pass){ warp "prontera",0,0; end; } } error sir Quote
0 Penicilina Posted July 30, 2020 Posted July 30, 2020 I went ahead and slightly modified buraquera's script map,x,y,pos script Prontera Warper::PrtWarper SPRITE_ID,{ if(getgmlevel()==99){ switch(select("Warp to Prontera","Change Password")){ case 1: mes "Enter Password"; input .@pass$; if (.@pass$ == $pass$){ warp "prontera",0,0; end; } mes "Wrong Password"; close; break; case 2: mes "Enter new Password"; input $pass$; mes "Password updated"; close; break; } } end; } Try this Of course remember to edit the map, coordinates and sprite in order for the NPC to appear Also note that this will warp into a random position because of 0,0 coordinates please let me know if it works 1 Quote
Question
IvanD
GM lvl 99 only
NPC that warps to prontera,0,0 but with a password... gm can set password ingame...
anyone have this script?
i appreciate it guys
3 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.