You could have a %msgCounter
variable in the variables tab
and then you could use the TEXT
event:
on *:TEXT:#:{
INC %msgCounter
if (%msgCounter > 10) { msg $chan Promotion message. }
}
You'd have to keep track of the %msgCounter
variable and reset it when it hits a certain threshold.
Not sure what you mean by broadcaster, however if you mean IRCOp
than you can use isop
and do:
if ($1 isop $chan) {
}
Where $1
is the user who typed the message, isop
determines if the user is an operator (or maybe broadcaster) and $chan
for the IRC Channel.