For now I created simple counter like that :
on *:text:!smth:#: {
inc %counter | .msg $chan $+($nick,:) Something happend %counter times
}
I would like to add specific message or another message if (%counter % 100 == 0)
I tried with this but doesnt work:
on *:text:!smth:#: {
inc %counter | var %message $nick: Something happend %counter times
if (%counter % 100 == 0) var %message $nick: diffrent message
msg # %message
}