This:> if ($1 && $2 && $3 && $4) {
if (. isin $1-) { echo -a Network name should not be in the format or irc.ircnetwork.com. It should be in the format of the network name, e.g. JangoIRC }Can be shortened a bit to:
if ($1-4) && (. isin $1-) { echo -a Network name should not be in the format or irc.ircnetwork.com. It should be in the format of the network name, e.g. JangoIRC }
But I don't see why the check for $1 to $4 is needed. The else halt serves no purpose.