Shoutbox

[Release] - Active Calculator - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Release] - Active Calculator (/showthread.php?tid=66911)

[Release] - Active Calculator by Montago on 10-03-2006 at 12:11 AM

lets say i write "today i earned 8*30 dollars"

my script then converts the text into "today i earned {8*30} = 240 dollars"

also the /Calc function will do this silently with a toast windows messege

some bugs, but generally works... might be usefull :)

the calculation is based on EVAL... however malitious code cannot be conducted, because the input is caught by a regular expression... so only  '123456798+-*/()' goes into the eval...

download at
http://mdk-photo.com/MSNScripts/Calculator.plsc