Miscellany
public text v1 · immutableon 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) $+ . }