All pastes #88498 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-07-15 01:13 UTC
rendered paste body
on 1:TEXT:!setworld *:#:{
  if (($2 !== $null) && ($nick isop $chan) && ($2 isnum)) {
    write -l1 world.txt $2
  notice $nick Changed to $2 $+ . }
  else { /notice $nick You're not an op, the world you specified wasn't numbers or you didn't specify one! }
}
on 1:TEXT:!cworld:#:{ /msg $chan The current world is $read(world.txt) $+ . }