Cheers guys.
I got it to work, but as seen below I get 2 answers. lol

My finishing code was:

[script]
n0=on *:text:!cal*:#a:{
n1= msg $chan $nick $chan; the answer is $bytes($calc($remove($2-,$chr(44))),bd)
n2=}

Here was the line

[18:57] <~John> !cal 1+1
[18:57] <@JW|Bot> 2
[18:57] <@JW|Bot> John the answer is 2


What part can I take out to remove the first answel and only have the second.

Hope you can help, off to the cinema now and will check when I get beck to see if anybody can help.

Thanks a lot.

Last edited by botnoob; 14/07/10 06:00 PM.