All pastes #462558 Raw Edit

Stuff

public text v1 · immutable
#462558 ·published 2007-04-28 11:23 UTC
rendered paste body
####################
########Alias#######
####################

pcoff { /set %pc off | /msg $chan Pc commands are now disabled }

pcon { /set %pc on | /msg $chan Pc commands are now enabled }

setpcw { set %pcw $1
  set %pcnick God
  msg #rspc The world has been updated to %pcw by %pcnick $+ .
  msg #rspc-staff The world has been updated to %pcw by %pcnick $+ .
  timers off
  .timerrspc 0 20 msg #rspc 3The current 4#RSPC 3Pest Control World is 2»» %pcw $+ 42««3 set by %pcnick $+ .
}

##########################
#########Remote###########
##########################

on *:TEXT:*:#: {
  if ($1 == !setpcw) || ($1 == .setpcw) || ($1 == .change) || ($1 == !change) || ($1 == .setworld) || ($1 == !setworld) {
    if ($chan == #rspc) || ($chan == #rspc-staff) {
      if ($nick isvoice $chan) || ($nick ishop $chan) || ($nick isop $chan) {
        { set %pcw $2 }
        if (%msger == on) { msg #rspc The new world has been said!! %pcw !! %pcw !!
          if ($chan == #rspc) { set %god $nick }
          elseif ($chan == #rspc-staff) { set %god God }
        }
      }
    }
  }   
  elseif ($1- == .hamish on) { /timer1 0 20 /msg #rspc The current #RSPC Pest Control World is »» %pcw «« set by [ %God ]. }
  elseif ($1- == .hamish off) { /timer1 off }
}
on *:text:.off*:#rspc,#rspc-staff: {
  if ($nick isop $chan) || ($nick ishop $chan) {
    /set %pcoff
    msg $chan pc scripts are now disabled
  }
}

on *:text:.on*:#rspc,#rspc-staff: {
  if ($nick isop $chan) || ($nick ishop $chan) {
    /set %pcon
    msg $chan pc scripts are now enabled
  }
}