Your syntax is a bit messed up. I assume %f is just a numeric value? Then why all the $+() and $(,2)?
Code:
on *:TEXT:cookie:#: if (!%f) { inc -u5 %f | .describe $chan gives $nick a cookie }

Also, do you want the . in front of describe? That makes it silent so you do not see your describe/action.

Last edited by 5618; 05/08/10 02:28 PM.