viewing paste Unknown #6896 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
-   script  modparty    -1,{
 
    OnWhisperGlobal:
        // Leave party if player has one
        if (getcharid(1))
            leaveparty;
        
        // Pause so char-server accepts data
        sleep2 1;
        
        // Make party while player does not have one
        while (!getcharid(1))
        {
            makeparty("someparty_"+ rand(1,10000));
            sleep2 1;   // Pause
        }
        
        end;
 
}
Viewed 1001 times, submitted by Guest.