It was a typo. Well, not really a typo, but a mix up of my part. I had 2 scripts.. one with no variables and one with lots of them.
Code:
on *:CTCPREPLY:PING*: echo -s $calc(([color:blue]$[/color]ticks - %ping. [ $+ [ $nick ] ])/1000)
The above was the one with no variables.
Code:
on *:input:*: if (/ping == $$1) { set %ping. [ $+ [ $$2 ] ] $ticks | .ctcp $$2 ping }
on *:CTCPREPLY:PING*: var %ticks = $ticks | echo -s $calc((%ticks - %ping. [ $+ [ $nick ] ])/1000)
This one has a few %variables. I used them to see if it was a bug with $ticks or some other problem.

When I pasted the code, I mixed them up, but now that you warned me about the confusion, you can see that they are correct (as far as I can see :P)

Btw, I edited the post above with the correction, and also got the extra } out. Ty.

Problem still persists, though smirk
Zyzzyx.

Last edited by Zyzzyx26; 22/08/04 04:22 PM.