All pastes #564487 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-13 16:46 UTC
rendered paste body
#pc off
on *:text:!pcw:#PCChan: { inc %pcviews | notice $nick 4The 10Current 4Pest 10Control 4World 10is:4 $readini(pc.ini,PC,$chan) $+ .10Command 4Used:10 %pcviews $+ . 4Last 10Set:4 $duration($calc( $ctime - %pcsettime. [ $+ [ $chan ] ] )) 10by 4 $+ $readini(pc.ini,nicks,$chan) }
on *:TEXT:!setpcw *:#PCCHAN: {
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
    writeini PC.ini Nicks $chan $nick
    set %pcsettime. [ $+ [ $chan ] ] $ctime 	
  writeini pc.ini PC $chan $replace($remove($2,$chr(36)),$chr(32),_) | msg $chan 4The 10Pest 4Control 10World 4has 10been 4Updated!10Type 4!pcw 10or 4!world 10to 4see 10the 4new 10world! }
ELSE { //notice $nick 4Sorry 10only 4ops 10and 4halfops/voices 10can 4set 10Pc 4world. } }
on *:text:!world:#PCCHAN: { inc %pcviews | notice $nick 4The 10Current 4Pest 10Control 4World 10is:4 $readini(pc.ini,PC,$chan) $+ .10Command 4Used:10 %pcviews $+ . 4Last 10Set:4 $duration($calc( $ctime - %pcsettime. [ $+ [ $chan ] ] )) 10by 4 $+ $readini(pc.ini,nicks,$chan) }
#pc end