viewing paste Unknown #53383 | 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
switch(select("Turn ON/OFF Event:Set Players & Rounds")) {
case 1:
    if (.play) {
    mes " The Event is currently ON ";
    } else {
    mes " The Event is currently OFF ";
    mes "Would you like to ON? ";
    }
    if(select("Yes:No")==2) close;
    if (.play) {
    set .play,0;
    disablenpc "DeathMatch";
    disablenpc "BG DeathMatch";
    announce " A GM has turn the Event OFF", 0;
    close;
    }
    set .play,1;
    announce " The Event will start in a few moments", 0;
    goto OnStart;
    close;
    }
Viewed 634 times, submitted by Guest.