Hallo everyone
Ehm i need a spam event, where a player write "!" in chat. And when he has done that 5 times, then we will get a reward and the event will stop.
Ehm i need a spam event, where a player write "!" in chat. And when he has done that 5 times, then we will get a reward and the event will stop.
Code:
on chat:
if player has permission "spamname.sk":
if first character of message = "!":
add 1 to {count.spamname}
if {count.spamname} is equal to 5:
send "Du vandt Test" to player
stop