awesomazingxed Posted January 26, 2015 Posted January 26, 2015 Hello everyone, can someone check this script. Eventhough the woe is active, GM below level 99 can log in. Anyone knows? - script KickGM#woe -1,{ OnPCLoginEvent: if( !getgmlevel() || getgmlevel() >= 99 ) end; if( agitcheck() || agitcheck2() ) goto OnAgitStart; set .GMList$[ getarraysize( .GMList$ ) ],strcharinfo(0); end; OnPCLogoutEvent: for( set .@i,0; .@i < getarraysize( .GMList$ ); set .@i,.@i + 1 ) if( strcharinfo(0) == .GMList$[.@i] ) deletearray .GMList$[.@i],1; end; OnAgitStart: for( set .@i,0; .@i < getarraysize( .GMList$ ); set .@i,.@i + 1 ) atcommand "@kick "+.GMList$[.@i] end; } Quote
Luciar Posted January 28, 2015 Posted January 28, 2015 Posts in the support sections may be bumped with MORE INFORMATION no less than 24 hours after the last post.Any other bumping is not allowed. Quote
Elsa Mist Posted February 12, 2015 Posted February 12, 2015 - script KickGM#woe -1,{ OnPCLoginEvent: if( !getgmlevel() || getgmlevel() >= 99 ) end; if( agitcheck() || agitcheck2() ) goto OnAgitStart; set .GMList$[ getarraysize( .GMList$ ) ],strcharinfo(0); end; OnPCLogoutEvent: for( set .@i,0; .@i < getarraysize( .GMList$ ); set .@i,.@i + 1 ) if( strcharinfo(0) == .GMList$[.@i] ) deletearray .GMList$[.@i],1; end; OnAgitStart: for( set .@i,0; .@i < getarraysize( .GMList$ ); set .@i,.@i + 1 ) atcommand "@kick "+.GMList$[.@i]; end; } try this Hello everyone, can someone check this script. Eventhough the woe is active, GM below level 99 can log in. Anyone knows? - script KickGM#woe -1,{ OnPCLoginEvent: if( !getgmlevel() || getgmlevel() >= 99 ) end; if( agitcheck() || agitcheck2() ) goto OnAgitStart; set .GMList$[ getarraysize( .GMList$ ) ],strcharinfo(0); end; OnPCLogoutEvent: for( set .@i,0; .@i < getarraysize( .GMList$ ); set .@i,.@i + 1 ) if( strcharinfo(0) == .GMList$[.@i] ) deletearray .GMList$[.@i],1; end; OnAgitStart: for( set .@i,0; .@i < getarraysize( .GMList$ ); set .@i,.@i + 1 ) atcommand "@kick "+.GMList$[.@i] end; } Anyone? Quote
Question
awesomazingxed
Hello everyone, can someone check this script.
Eventhough the woe is active, GM below level 99 can log in.
Anyone knows?
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.