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
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}