viewing paste Unknown #309 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
-   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;
}
Viewed 587 times, submitted by Guest.