Paste #17428: Untitled Paste

Date: 2015/07/05 14:05:47 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


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'.