lol sorry was adding/editing my
prevoius post as you replied

As far as exists identifer question:
you could use $readini to access the
mirc.ini file and see what is loaded
OR maybe better use $script(filename.ext)

the elseif statements are always good
to use when you're only looking for one
condition to evaluate true as then the
rest of the statements do not need to be
evaluated and speed things along their way
in this situation if you use elseif you
wont need $$3 which with the double $
requires that $3 be present or script halts