Paste #43182: Edit of P#43178 - So... Why does this crash my server?

Date: 2017/07/24 16:44:41 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21


SafariCommand:
    type: command
    debug: full
    name: safari
    description: Play the Safari Game!
    usage: /safari
    permission: safaricmd.safari
    script:
    - narrate "Safari Game will start soon"
    - execute as_server "clear <player.name>"
   # - flag <player> safari.command.expiration:<system.current_time_milliseconds.add[1800000]>
    - wait 1s
    - narrate "Here are 30 Safari Balls, Have Fun!"
    - give i@4142 qty:30
    - teleport <player> l@-1327,107,-6468,world
    - wait 30m
    - teleport <player> l@-278,107,234,world
    - wait 1s
    - teleport <player> l@-278,108,234,world
    - take i@4142 qty:30
    - narrate "Times up! Come play again soon!"