"
what does $iif(#,#,$nick) do"
echo -mbflirt $iif(#,#,$nick) $nick $+ : $1-/echo [[/b]color] [-cdeghiNtsaqlbfnmr] [[/b]color name] [#channel|[=]nick] <text>echo -mbflirt is the command and switches.
$iif(#,#,$nick) the target (where to echo)
$nick $+ : $1- the text to echo.
In this case the $iif() determines the target for the echo. If target of the message was "#beginner" then the "#" will equate to "#beginner" and the result is "
echo -mbflirt #beginner", else it will be $null and so "
echo -mbflirt $nick would be the result.
Clear as mud?