- script antibot -1,{
OnWhisperGlobal:
set .@pass$, "pass "+@rand;
if(compare ( @whispervar0$, "pass" ) ) {
if(@whispervar0$ == .@pass$) {
pcblockmove getcharid(3),0;
dispbottom "the pass you enter is correct.";
end;
}
set @rand, rand(1000,9999);
skilleffect 9,@rand;
dispbottom "the pass you enter is wrong please try again.";
}
end;
OnPCLoginEvent:
pcblockmove getcharid(3),1;
set @rand, rand(1000,9999);
skilleffect 9,@rand;
dispbottom "whisper to \"npc:antibot\" the following \"pass <number>\" to be able to move";
end;
}