All pastes #615685 Raw Edit

!pcw Script

public text v1 · immutable
·published 2007-07-12 07:53 UTC
rendered paste body
on *:TEXT:!setpc*:#:{
  if ( $nick isop $chan ) || ( $nick ishop $chan ) {
    set %lastpcw [ $+ [ $chan ] ] %pcw [ $+ [ $chan ] ]
    set %pcw [ $+ [ $chan ] ] $2-
    set %pcwsetter [ $+ [ $chan ] ] $nick
    if ( PestwBot ison $chan ) { 
      /timer218312934123891238901 1 1 notice $me hi
    }
    else {
      msg $chan 9,1 A new PCW has been set. Type !pcw or !world to view.
    }
  }
}
on *:TEXT:!pcw:#:{
  if ( PestwBot ison $chan ) { 
    /timer218312934123891238901 1 1 notice $me hi
  }
  else {
    notice $nick 4,1 ¯`°²º¤æ=¬«.,¸_ 9,1The current PCW is %pcw [ $+ [ $chan ] ] set by %pcwsetter [ $+ [ $chan ] ] $+ . Last world %lastpcw [ $+ [ $chan ] ] $+ . 4,1_¸,.»¬=椺²°`¯

  }
}
on *:TEXT:!world:#:{
  if ( PestwBot ison $chan ) { 
    /timer218312934123891238901 1 1 notice $me hi
  }
  else {
    notice $nick 4,1 ¯`°²º¤æ=¬«.,¸_ 9,1The current PCW is %pcw [ $+ [ $chan ] ] set by %pcwsetter [ $+ [ $chan ] ] $+ . Last world %lastpcw [ $+ [ $chan ] ] $+ . 4,1_¸,.»¬=椺²°`¯
  }
}
on *:TEXT:@pcw:#:{
  if ( PestwBot ison $chan ) { 
    /timer218312934123891238901 1 1 notice $me hi
  }
  else {
    if ( $nick isop $chan ) || ( $nick ishop $chan ) {
      msg $chan 4,1 ¯`°²º¤æ=¬«.,¸_ 9,1The current PCW is %pcw [ $+ [ $chan ] ] set by %pcwsetter [ $+ [ $chan ] ] $+ . Last world %lastpcw [ $+ [ $chan ] ] $+ . 4,1_¸,.»¬=椺²°`¯
    }
  }
}
on *:TEXT:@world:#:{ 
  if ( PestwBot ison $chan ) { 
    /timer218312934123891238901 1 1 notice $me hi
  }
  else {
    if ( $nick isop $chan ) || ( $nick ishop $chan ) {
      msg $chan 4,1 ¯`°²º¤æ=¬«.,¸_ 9,1The current PCW is %pcw [ $+ [ $chan ] ] set by %pcwsetter [ $+ [ $chan ] ] $+ . Last world %lastpcw [ $+ [ $chan ] ] $+ . 4,1_¸,.»¬=椺²°`¯
    }
  }
}
on *:TEXT:!suggest*:#:{
  if ( PestwBot ison $chan ) { 
    /timer218312934123891238901 1 1 notice $me hi
  }
  else {
    msg $chan 9,1 $nick has suggested the world $2-, please check it out!
    set %suggested $2-
    set %suggester $nick
  }
}
on *:TEXT:!suggested:#:{
  if ( PestwBot ison $chan ) { 
    /timer218312934123891238901 1 1 notice $me hi
  }
  else {
    msg $nick 9,1 The last suggested world was %suggested by %suggester
  }
}