For those that are interested, this is how one would do it
Code
on *:TEXT:!egg *:#: {
inc %egg.times
inc %egg.times. [ $+ [ $chan ] ]
.msg # /me ! Throws an 🥚 at $$2 - I have thrown a total of %egg.times Eggs, and %egg.times. [ $+ [ $chan ] ] times in this channel.
}