When i coded mirc scripting i always avoided to use modals, windows or dialogs for unnecessary stuff. This is one of them cases where a simple well formatted echo would suffice.
alias calc { if ($1-) echo -ta <Calculator> $1- = $calc($1-) }
Would achieve the exact same effect in less time and less hassle. But hey, To each its own :)
I would agree, except that when I'm coding something I often need to refer back to the same values I've previously calculated. Most of the time I'm using this 'calculator' while mIRC is minimized to the tray, so it acts as its own 'app'. I wrote this for convenience and not a shortest-code-possible contest.