PewN Posted June 7, 2012 Posted June 7, 2012 (edited) - script security -1{ OnPcLoginEvent: if(!getgmlevel() >= 21 ){ mes "You are a GM/Admin we need to verify if you are a real gm or admin"; mes "you need to input the correct password"; mes "or else i will kick you"; next; input .@pwd$; if(.@pwd$!="fckingpassword") { mes "You input a wrong password"; atcommand strcharinfo(0)+ "@kick "+strcharinfo(0)+""; close; } else { mes "You input a correct password"; close; } } how to make it also GM can use command everytime this message pop out? Edited June 7, 2012 by bVersatile Quote
Emistry Posted June 7, 2012 Posted June 7, 2012 use what command ? the script itself doesnt block any usage of command by default... Quote
PewN Posted June 7, 2012 Author Posted June 7, 2012 (edited) .@warp @goto @go @jumpto like that. what is the wrong here Emistry? i need that the gm above 30 will get this message - script security -1,{ OnPcLoginEvent: if(getgmlevel() 30){ warp "ama_test",0,0; sleep2 5000; mes "You are a GM/Admin we need to verify if you are a real gm or admin"; mes "you need to input the correct password"; mes "or else i will kick you"; next; input .@pwd$; if(.@pwd$!="jerkisafucker") { mes "You input a wrong password"; atcommand "@kick "+strcharinfo(0)+""; close; } else { mes "You input a correct password"; warp "louyang",217,90; dispbottom "Thank you for your cooperation!"; } close; } } Edited June 7, 2012 by bVersatile Quote
Emistry Posted June 7, 2012 Posted June 7, 2012 did you added some mapflag like this somewhere in your other script ? mapname mapflag nowarp mapname mapflag nogo mapname mapflag nocommand etc.... if yes then remove it Quote
PewN Posted June 7, 2012 Author Posted June 7, 2012 did you added some mapflag like this somewhere in your other script ? mapname mapflag nowarp mapname mapflag nogo mapname mapflag nocommand etc.... if yes then remove it its okay now! but i have a 1 request how to make it only lvl 30 above will see this message? Quote
RCharles Posted June 7, 2012 Posted June 7, 2012 I found better GM security password script over here http://rathena.org/board/topic/57786-done-anti-hack-for-gm-account-password/ If you want, you can check and try.. Quote
_Dynosawr_ Posted June 7, 2012 Posted June 7, 2012 (edited) I took your script and edited it a bit. Here's a link: http://pastebin.com/raw.php?i=teV51MPN If they input the wrong password, they get kicked. If they try to warp, it doesn't let them. Enjoy. Edit: I redid the script again, it allows them to set their password and change it as well. Edited June 7, 2012 by Joey Quote
Question
PewN
how to make it also GM can use command everytime this message pop out?
Edited by bVersatile8 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.