on *:text:!setworld*:#:{ if ($nick isop $chan || $nick ishop $chan) set %world $2 msg $chan The pcw has been updated type !world or pcw } on *:text:!world:#:{ .msg $nick The world for $chan is %world } on *:text:!pcw:#:{ .msg $nick The world for $chan is %world }