on *:TEXT:!changeworld*:#: { if ($nick isop $chan) { if ($2 isnum 1-132) { set %world $2 } } } on *:text:!world: { .notice $nick The current world is %world. }