Spam event, O:

  • 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 guys! :-D
My english is not that good, sorry guys :/
Ehmm i have been trying to make a name-spam event. But i can't figur out how to count the message.

The event is about where you start it with a simpel command like /namespam on
Then it is about to spam your own name so much as you can in 5 seconds, and tthe player who have spammed hes own name most times, win the event and gets a rewards O:

I have been trying to make the event:
But i can't figur it our D: Please help

Code:
command /spamnavn:
    permission: admin.sk
    permission message: &8[&4&lRad&c&lPvP&8] &cDu har ikke adgang til dette.   
    trigger:
        broadcast ""
        broadcast "&8[&4&lRad&c&lPvP&8] &7Så er det &eName-Spam&7 tid! - &cAlt spam bliver tilladt om 10 sekunder!"
        broadcast "&8[&4&lRad&c&lPvP&8] &7Den der spammer sit eget navn flest gange i chat på 5 sekunder, vinder &a1.000.000.000$&7!"
        broadcast ""
        wait 3 ticks
        loop all players:
            add 1 to {Count.spamname}
 
Status
Not open for further replies.