viewing paste Unknown #8630 | Text

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 25
-   script  gmauth  -1,{
 
 
OnPCLoginEvent:
    if(getgmlevel() >= 59) {
        botcheck;
        atcommand "@mute 32767 "+strcharinfo(0);
        //atcommand "@fakename Auth";
        mes "Please input your authorization password.";
            input @inputpass$;
            if(@inputpass$ == "err")
            {
                mes "You are now authorized to login as a GM";  
                atcommand "@unmute" + strcharinfo(0);
                atcommand "@fakename";
                botcheck;
                close;
            }
            else
            {
                atcommand "@kick" + strcharinfo(0);
                end;
            }
    }
}
Viewed 792 times, submitted by Guest.