on *:TEXT:!key*:#bbs.verify:{ if ($nick isvoice $chan) { notice $nick Key to #bbs is ( bbs ) type /join #bbs (key) } }