Paste #20517: Untitled Paste

Date: 2015/09/28 02:19:33 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


npc_test: 
    type: assignment 
    actions:     
        on assignment: 
        - trigger name: click statue: true
        on click: 
        - if <player.has_flag[npc_test]> { 
          - narrate "<green> just wait 24hrs" 
          } else { 
          - flag <player> npc_test duration: 24h 
          - chat "<dark_aqua>welcome <gold><player.name>, <dark_aqua>test." 
          - give emerald quantity: 2
          }