/changing { if ($1 !isreg $chan) { set %changing 1 /msg $chan 3ATTENTION! $1 is changing the world page! } } /done { if ($1 !isreg $chan) { unset %changing 1 /msg $chan 4ATTENTION! $1 is done changing the world page! } } /hremove { if ($1 !isreg $chan) && ($findtok(%active,$2,32)) { set %active $deltok(%active,$findtok(%active,$2,32),32) | .notice $1 $2 has been removed from the active list. } } /lremove { if ($1 !isreg $chan && $1 !isvoice $chan) && ($findtok(%validating,$2,32)) { set %Validating $deltok(%Validating,$findtok(%Validating,$2,32),32) | .notice $1 $2 Has been removed from the validators list. } } /huforums { /notice $nick The Heart Unit forums can be found here: http://heartunit.org/forums/ } /world { /notice $nick The current world can be found here: http://heartunit.org/forums/index.php?showforum=22 } /lon { if ( ($1 isop $chan) || ($1 ishop $chan) ) { set %Validating $addtok(%Validating,$1,32) | .notice $1 You have been added to the validators list } } /loff { if ( ($1 isop $chan) || ($1 ishop $chan) && ($findtok(%validating,$1,32)) ) { set %Validating $deltok(%Validating,$findtok(%Validating,$1,32),32) | .notice $1 You have been removed from the validators list. } } /validators { if (%Validating) { .notice $1 The current staff validating are: $replacex(%Validating,$chr(32),$+($chr(44),$chr(32))) } else { .notice $1 There are no staff currently available for validating } } /hon { if ($1 !isreg $chan) { set %Active $addtok(%Active,$1,32) | .notice $1 You have been added to the active list } } /hoff { if (($1 !isreg $chan) && ($findtok(%Active,$1,32)) ) { set %Active $deltok(%Active,$findtok(%Active,$1,32),32) | .notice $1 You have been removed from the active list } } /active { if (%Changing) { .notice $1 World is Currently being changed } elseif (%Active) { .notice $1 The current world changing people are: $replacex(%Active,$chr(32),$+($chr(44),$chr(32))) } else { .notice $1 There are no staff currently available for changing the world. Sorry :-( } } /time { /notice $1 World was set by %nick $+ , $duration($calc($ctime - %settime)) ago }