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:

Code:
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. frown

I've had a reasonable look around for premade scripts etc, but nothing turned up.

Last edited by Xiad; 19/12/06 03:34 AM.