mIRC Home    About    Download    Register    News    Help

Print Thread
Is it just me or mirc? #105595 18/12/04 06:53 AM
Joined: Dec 2004
Posts: 1
T
The_King_Pin Offline OP
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

Re: Is it just me or mirc? #105596 18/12/04 07:00 AM
Joined: Dec 2004
Posts: 23
E
ethorn01 Offline
Ameglian cow
Offline
Ameglian cow
E
Joined: Dec 2004
Posts: 23
try /echo -a $calc(whatever you want to calculate)

Re: Is it just me or mirc? #105597 18/12/04 10:34 AM
Joined: Nov 2003
Posts: 228
S
Seifer Offline
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.