Hey mIRC team and Users,

is was wondering if anyone could help me and if the developers could check this out.
the if, elseif and else statement.
I've got some issues with it.
On the help page the first thing i read is
Quote

Basic format
if (v1 operator v2) { commands }
elseif (v1 operator v2) { commands }
else { commands }


So i tried
Quote

on *:TEXT:*:#: {
if ($1 === Yo){/msg $chan hi}
elseif ($1 === That){/msg $chan ok}
else {/msg $chan forget it}
}


But that failed.
While reading further and experimenting
i found the bottom partial script code to be working.
Can someone explain this to me, why this difference in statement?