All pastes #171506 Raw Edit

PCW SCRIPT.

public text v1 · immutable
·published 2006-09-15 13:41 UTC
rendered paste body
------------------PCW SCRIPT--------------

on *:TEXT:!pcw:#:{ 
  .notice $nick   12 The Current World Is    4 $+( ,%pc,)  12This world was set 3 $duration($calc($ctime - %pcc $ctime)))     12ago. [ Set by      $+( ,%pcnick,)   ] !Pcw command has been used        $+( ,%pcwcount,)  times so far!
  /inc %pcwcount
}
on *:TEXT:!setworld *:#:{
  if ($nick isop $chan) || ($nick ishop $chan { 
    /set -s %pc $2 
    /set -s %pcnick $nick
    /unset %pcc $ctime
    /set %pcc $ctime
    /notice $nick The new world is $2
    /msg $chan   4 The world has been changed!! Type !pcw to see the new world
  }
  else { /notice $nick You are not allowed to set a world, only operators are }
}