All pastes #365035 Raw Edit

Untitled

public text v1 · immutable
#365035 ·published 2007-02-20 16:44 UTC
rendered paste body
; ############################################################
; pcw
; ############################################################

/var %world


on 1:TEXT:!pcw*:#pcelites,#trib*:{
  /set %used $calc( ( %used ) + 1)
  if (($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan)) {
    /notice $nick 12The 4PC World 12is 4 %world 12 set by 4 %nic 12- 6Set $duration($calc( $ctime - %pcsettime. [ $+ [ $chan ] ] )) Ago.12 - Used4 %used 12Times. To change the World type !setpcw ***
  }
  else {
    /notice $nick 12The 4PC World 12is 4 %world 12 set by 4 %nic 12- 6Set $duration($calc( $ctime - %pcsettime. [ $+ [ $chan ] ] )) Ago.12 - Used4 %used 12Times.
  }
}

on 1:TEXT:!world*:#pcelites,#trib*:{
  /set %used $calc( ( %used ) + 1)
  if (($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan)) {
    /notice $nick 12The 4PC World 12is 4 %world 12 set by 4 %nic 12- 6Set $duration($calc( $ctime - %pcsettime. [ $+ [ $chan ] ] )) Ago.12 - Used4 %used 12Times. To change the World type !setpcw ***
  }
  else {
    /notice $nick 12The 4PC World 12is 4 %world 12 set by 4 %nic 12- 6Set $duration($calc( $ctime - %pcsettime. [ $+ [ $chan ] ] )) Ago.12 - Used4 %used 12Times.
  }
}