Date: 2015/07/05 14:05:47 UTC-07:00
Type: Denizen Script
WorldTeleports:
type: world
events:
on Master command:
- if !<player.is_op> queue clear
- flag global online:->:<player.name>
- flag player GOLD:0
- determine fulfilled
on player right clicks with MasterKey:
#working tag
- if <global.flag[online].as_list.is[contains].to[<player.name>]> narrate '<yellow>OK'
#not working tag
- if <player.flag[GOLD].as_int.is[==].to[0]> narrate '<blue>OK'
#no errors in console:
#Filled tag <player.flag[GOLD].as_int.is[==].to[0]> with 'false'.