on *:text:!setworld*:#:{ if ($nick isop $chan) || ($nick ishop $chan) { if ($2 isnum 1-138) { set %world $2 msg $chan the world is now: $2 } } } on *:text:!world:#:{ if (%world != $null) { notice $nick the current pc world is: %world } }