Date: 2017/12/11 03:10:11 UTC-08:00
Type: Denizen Script
FF_GameSetup:
type: world
events:
on reload scripts:
- narrate "<red>Setting up Frosty Fight"
- flag global "ff_start:l@-26,65,-143,world"
- narrate "<red>Set Start Flag: <server.flag[ff_start]>"
on player walks over <global.flag[ff_start]>:
- flag player active
- narrate "<red>You are now an active player."
Scoring:
type: world
events:
on entity damaged by snowball:
- narrate "You hit <context.entity> with a snowball!"
- flag player score:++
- narrate "Your current score is: <player.flag[score]>"