Date: 2014/07/02 17:39:52 UTC-07:00
Type: Denizen Script
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 "<<>== Start|Swap ==<>>|Current Mode:|<server.flag[nextgame]>" "l@21.0,15.0,104.0,world"
}