PewN Posted June 7, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted June 7, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted June 7, 2012 use what command ? the script itself doesnt block any usage of command by default... Quote Link to comment Share on other sites More sharing options...
PewN Posted June 7, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted June 7, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
PewN Posted June 7, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted June 7, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted June 7, 2012 if( getgmlevel() >= 30 ){ Quote Link to comment Share on other sites More sharing options...
PewN Posted June 7, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted June 7, 2012 thx you are a legend Quote Link to comment Share on other sites More sharing options...
RCharles Posted June 7, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 154 Reputation: 10 Joined: 05/31/12 Last Seen: May 15, 2014 Share 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 Link to comment Share on other sites More sharing options...
_Dynosawr_ Posted June 7, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 69 Reputation: 10 Joined: 05/14/12 Last Seen: June 26, 2012 Share 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 Link to comment Share on other sites More sharing options...
Question
PewN
how to make it also GM can use command everytime this message pop out?
Edited by bVersatileLink to comment
Share on other sites
8 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.