All pastes #576184 Raw Edit

Something

public text v1 · immutable
·published 2007-06-19 11:56 UTC
rendered paste body
on *:text:!bot on:#:{ if ($nick isop $chan) || ($nick ishop $chan) && ($2 == on) { set %boton on } }
on *:text:!bot off:#:{ if ($nick isop $chan) || ($nick ishop $chan) && ($2 == off) { unset %boton } }

on *:TEXT:!setpcw*:#fastpcwstaff:{ 
  if ($nick isop $chan) || ($nick ishop $chan) { 
    if ($2 isnum 2-140) { 
      set %pcw $2 
      set %pcnick $nick 
      set %pctime $ctime      
    msg #Fastpcw 14[« PCW Updated, type 4!pcw 14to view »] [« By: 4 %pcnick 14»]    } 
  } 
} 

on *:TEXT:!suggest*:#:{ if (%boton) { 
    if ($2 isnum 2-140) { 
      set %suggest1 World: $2 
      set %snick $nick    
      set %suggest2 Description: $3- 
      notice $nick Thanks for the suggestion an operator is now reading the suggestion. 
      msg #fastpcwstaff 14[« New suggestion »] [« By: 4 %snick »] [« 4 %suggest1 14»] [« 4 %suggest2 14»] 
    } 
  } 


  on *:TEXT:!pcw*:#:{ if (%boton) {
      if ($nick !isreg $chan) { 
        notice $nick 14[« Current world: 7 %pcw 14»] [« By: 7 %pcnick 14»] [« Suggested: 7 %suggest1 14»] [« Set 7 $duration($calc($ctime - %pctime)) 14ago. »] 
      } 
      else { 
        notice $nick Voice+ users may only use this command. 
      } 
    } 

    on *:TEXT:!world*:#:{ if (%boton) { 

        if ($nick !isreg $chan) { 
          notice $nick 14[« Current world: 7 %pcw 14»] [« By: 7 %pcnick 14»] [« Set 7 $duration($calc($ctime - %pctime)) 14ago. »] 
        }  
      } 

      on *:TEXT:!w*:#:{ 
        if ($nick !isreg $chan) { 
          notice $nick 14[« Current world: 7 %pcw 14»] [« By: 7 %pcnick 14»] [« Set 7 $duration($calc($ctime - %pctime)) 14ago. »] 
        } 
        else { 
          notice $nick Voice+ users may only use this command. 
        }