alias bugtest {
if (1 == 1) {
if (2 == 1) { ;echo -a one | ;echo -a two }
else { echo -a False }
}
}
Those comments are obstructing the if statement becuase it is stripping out the commands but not the relative |, better parsing would solve.
I found the problem when i was trying to do this:
if ($readini($scriptdirconfig.ini,bot-config,authserv)) { ;.timer 1 1 %sw mode %me +x | ;.timer 1 1 %sw as AUTH $v1 }