on *:NOTICE:!setpcw*:#: { if ($nick isop $chan || $nick ishop $chan) { set %world $2 .notice +$chan World has been changed } } on *:text:!pcw*:#:{ .notice $nick The current pcw is $2. }