viewing paste Unknown #606 | 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  jailmute    -1,{
 
OnPCLoadMapEvent:
 
    if(strcharinfo(3) == "sec_pri"){
        if(getgroupid() < 50){
            addtimer 100, "jailmute::OnTimer";
            atcommand "@mute "+.temp+" "+strcharinfo(0);
            set Mute,1;
            }
        }
        else if (Mute){
            goto OnTimer;
        }
        end;
        
OnTimer:
    if(strcharinfo(3) == "sec_pri"){
        addtimer 100, "jailmute::OnTimer";
        }
        else{
            atcommand "@unmute "+strcharinfo(0);
            set Mute,1;
            }
        }
Viewed 788 times, submitted by Guest.