All pastes #262751 Raw Edit

Anonymous

public text v1 · immutable
#262751 ·published 2006-11-30 21:26 UTC
rendered paste body
alias -l c1 return $+(14,$1-,)
alias -l c2 return $+(07,$1-,)

on *:TEXT:!setworld*:#ahoy: {
  if ($nick isop #) || ($nick ishop #) && ($$2 isnum) {
    set %ownpc $$2
    set %ownpc $+ .time $ctime
    set %ownpc $+ .nick $nick
    /notice $nick New PC world set to %ownpc
    /msg #worldofpc $c2(The current) $c1(pc-world) $c1(has been changed!) $c1(-) $c2(Type: !world)

  }
}
on $*:text:/^[@!]world/Si:#worldofpc: {
  /notice $nick $c1(Current PC World:) $c2(%ownpc) $+ $c1(- Last Update:) $c2($duration($calc($ctime - $eval($+(%,ownpc,.time),2)))) 
}