Basically what I'd like is for people to be able to type !calc <equation> and by using a script it would return a value.
All I have so far is the following:
on 1:text:!calc*:*:/msg $chan $calc(<unsure?>)
My guess is that you'd need to assign a variable like so? /set %calc
But I'm not sure how to.
I've had a reasonable look around for premade scripts etc, but nothing turned up.