Okay so i'm thinking...

$calc(2 - 3) = $calc(+2-+3) = -1
$calc(2 + -3) = $calc(+2+-3) = $calc(+2-+3) = -1
$calc(1 +++--++-- 2) = $calc(+1+++--++--+2) = $calc(+1++-+-+-+2) = $calc(+1+-2) = $calc(+1-+2) = -1
$calc(1 ---- 2) = $calc(+1----+2) = $calc(+1+-+-+-+-+2) = $calc(+1+2) = 3

I think I arrived at this by placing a + to the left of every character that isn't +. But my brain is scrabled. I can't make sense of anything now. I do know that this was really a waist of time. mIRC has a ton of inconsitanies that wreck havoc when you start doing some complicated stuff. I mean just look at /set and /var...

/var <var> = 1 + 2 ; <var> = 3
/set <var> = 1 + 2 ; <var> = = 1 + 2

And they both call the /set alias too! WTF!?! (I'm starting another thread about this)


Beware of MeStinkBAD! He knows more than he actually does!