Frenetic commented on a Page, Basic IRC command help script  -  Sep 03, 2011

Also, the best way in my opinion to do this would be if statements... like this:
Code:

on :TEXT::#channel here:{
if ($1- == !register nick) notice $nick First thing you want to do if you have not already is register your nick. /msg nickserv register [password] [email] is the command you need to use. To make sure you did it right, you should do a /whois nick on yourself. It should spit out Status: is a registered nick.
elseif ($1- == !Identify Nick) ...

Why not,

on *:TEXT:*:#channel here:{
if ($1- == !register nick) notice $nick First thing you want to do if you have not already is register your nick. /msg nickserv register [password] [email] is the command you need to use. To make sure you did it right, you should do a /whois nick on yourself. It should spit out Status: is a registered nick.
if ($1- == !Identify Nick) ...

Instead of elseif?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.