manabeast Posted June 10, 2012 Posted June 10, 2012 (edited) this script is just for bard and dancer only. how to enable to all ppl? - script Anti -1,{ OnPCLoginEvent: if( BaseJob == Job_ ||BaseJob == Job_Bard || BaseJob == Job_Dancer ){ atcommand "@option 2"; sc_start SC_BERSERK,10000000,1; mes "Please Red Colour Key in the Code..."; set .Code,rand(1000,99999); mes "^0000FF"+rand(1,9999)+"^FF0000"+.Code+"^0000FF"+rand(1,9999)+"^000000"; input @Code; if( @Code != .Code ){ atcommand "@kick "+strcharinfo(0); }else{ atcommand "@option 0"; sc_end SC_BERSERK; } close; } end; } Edited June 10, 2012 by manabeast Quote
Rikimaru Posted June 10, 2012 Posted June 10, 2012 Remove the : if( BaseJob == Job_ ||BaseJob == Job_Bard || BaseJob == Job_Dancer ){ so the script would look like this : - script Anti -1,{ OnPCLoginEvent: atcommand "@option 2"; sc_start SC_BERSERK,10000000,1; mes "Please Red Colour Key in the Code..."; set .Code,rand(1000,99999); mes "^0000FF"+rand(1,9999)+"^FF0000"+.Code+"^0000FF"+rand(1,9999)+"^000000"; input @Code; if( @Code != .Code ){ atcommand "@kick "+strcharinfo(0); }else{ atcommand "@option 0"; sc_end SC_BERSERK; } close; end; } 1 Quote
manabeast Posted June 10, 2012 Author Posted June 10, 2012 thx. it's work ^^. i like this simple easy anti bot. Quote
Rikimaru Posted June 10, 2012 Posted June 10, 2012 No problem. Maybe yes,but there are better ones 1 Quote
Question
manabeast
this script is just for bard and dancer only. how to enable to all ppl?
Edited by manabeast3 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.