Author Topic: Calculator Commands | v1.5  (Read 8952 times)

I don't think that's possible with torquescript.

...
...................
............................. .....................

mSin(hurrr);
mCos(durrr);
mTan(herp);

...
...................
............................. .....................

mSin(hurrr);
mCos(durrr);
mTan(herp);
Okay, next update will have /ccSin, /ccCos, and /ccTan.

why so many stupid commands.
Make it one command /cc
Then it can calculate stuff like 2*27*27-11*11

why so many stupid commands.
Make it one command /cc
Then it can calculate stuff like 2*27*27-11*11
and $pref::server::superadminpassword

Now v1.3
Quote from: v1.2 to v1.3
-Added /ccSin, /ccCos, and /ccTan.
-Modified /ccHelp a bit, including colours and new commands.
Probably more, I forget.

What about degrees vs. radians?

What about degrees vs. radians?
Tell me how and I'll gladly do that.

Tell me how and I'll gladly do that.

mDegToRad(float deg), mRadToDeg(float rad)


and $pref::server::superadminpassword

Don't use eval then?

I'm pretty sure you can do this in console without any extra scripts.
-edit- accept the only thing about that is it's SA/Host only kinda.

I'm pretty sure you can do this in console without any extra scripts.
-edit- accept the only thing about that is it's SA/Host only kinda.
or you just use your own console wtf


accept the only thing about that is it's SA/Host only kinda.
Where are you getting your information from?

allow this to use more arguements and rather than using ServerCmd functions, try put something into ServerCmdMessageSent and parent it.