mIRC Home    About    Download    Register    News    Help

Print Thread
#105595 18/12/04 06:53 AM
Joined: Dec 2004
Posts: 1
T
Mostly harmless
OP Offline
Mostly harmless
T
Joined: Dec 2004
Posts: 1
I am try do some simple calculations but mic doesnt seem to want to echo it back.

//echo $calc(2 + 2) does not work
//echo $calc(3.1 + 1) works

they both work on //say

#105596 18/12/04 07:00 AM
Joined: Dec 2004
Posts: 23
E
Ameglian cow
Offline
Ameglian cow
E
Joined: Dec 2004
Posts: 23
try /echo -a $calc(whatever you want to calculate)

#105597 18/12/04 10:34 AM
Joined: Nov 2003
Posts: 228
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
In addition to what ethorn said, the reason you're not getting the result you're looking for is because any whole number placed directly after the /echo command is evaluated as a color code.


Link Copied to Clipboard