Count skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Congraz

Member
Oct 26, 2018
45
0
0
22
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.

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
 
Status
Not open for further replies.