Paste #6133: Untitled Paste

Date: 2014/07/02 17:39:52 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


Manualgamestart:
  type: world
  events:
    on player right clicks block:
      - if <context.location> == "l@22.0,15.0,104.0,world" {
        - if <server.flag[matchon]> == "false" run <server.flag[nextgame]>
        }
      - if <context.location> == "l@20.0,15.0,104.0,world" {
        - if <server.flag[nextgame]> == "killtheking" {
          - flag global "nextgame:ctf"
          } elseif <server.flag[nextgame]> == "ctf" {
            - flag global "nextgame:deathmatch"
          } else <server.flag[nextgame]> == "deathmatch" flag global "nextgame:killtheking"
        - sign "<&lt>== Start|Swap ==<&gt>|Current Mode:|<server.flag[nextgame]>" "l@21.0,15.0,104.0,world"
        }