on *:text:!code:#:{ set %code $read(code.txt) .msg $chan security code: %code } on *:text:*:#:{ if $1 == %code { .msg $chan code confirmed } }