Date: 2013/12/21 20:49:14 UTC-08:00
Type: Denizen Script
block_npc_command_spam:
type: world
events:
on npc command:
# Change tphere to whatever command.
- if <context.args.get[1]> != "tphere" && <context.args.get[1]> != "spawn" queue clear
- if !<player.flag[block_npc_command_spam]> {
- flag player block_npc_command_spam duration:1h
- queue clear
}
- narrate "<&c>You must wait one hour before doing that again."
- determine cancelled