PapaZola Posted December 29, 2011 Posted December 29, 2011 hello all i want request some antibot like this this script will work only for job bard,dancer,gpysy,clown if other job online no need type code if job bard,dancer,gpysy,clown online this job will freeze until player enter the code for antibot sorry for my bad english Quote
Emistry Posted December 29, 2011 Posted December 29, 2011 try this - script Sample -1,{ OnPCLoginEvent: if( BaseClass == Job_Bard || BaseClass == 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; } Quote
KeiKun Posted December 30, 2011 Posted December 30, 2011 Here Tested with Dancer Character ( first test was dumb i typed wrong number ) test.txt Quote
PapaZola Posted December 30, 2011 Author Posted December 30, 2011 now its work thx keikun and sir emistry Quote
Emistry Posted December 30, 2011 Posted December 30, 2011 not working sir emistry Aw...sorry..a little mistake.... change if( BaseClass == Job_Bard || BaseClass == Job_Dancer ){ to if( BaseJob == Job_Bard || BaseJob == Job_Dancer ){ then it should be work fine...tested and working ~ Quote
Mohawk Posted June 22, 2012 Posted June 22, 2012 Can i edit this to make its usefull for all job ?? Quote
Euphy Posted June 22, 2012 Posted June 22, 2012 @Mohawk: Fairly self-explanatory, remove this line (and the corresponding bracket at the end): if( BaseClass == Job_Bard || BaseClass == Job_Dancer ){ Quote
Question
PapaZola
hello all
i want request some antibot like this
this script will work only for job bard,dancer,gpysy,clown
if other job online no need type code
if job bard,dancer,gpysy,clown online this job will freeze until player enter the code for antibot
sorry for my bad english
9 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.