Paste #6892: Edit of P#6890 - Untitled Paste

Date: 2014/07/14 07:38:07 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


on player right clicks ACTIVATOR_RAIL:
    - if !<player.has_effect[NIGHT_VISION]> { 
      - if !<player.flag[ACTIVATOR]> {
        - flag ACTIVATOR duration:3s
        - execute as_server "give <player.name> 257 1"
        - narrate "<&e><&l><&lb><&6>INFO<&e><&l><&rb> <&e>u FOUND<&co><&a> XXX<&e>!"
        - determine fulfilled
        } else {
        - narrate "<&e><&l><&lb><&6>INFO<&e><&l><&rb> <&e>U HAVE WAIT!"
        - determine fulfilled
        }
      } else { 
      - narrate "<&c><&l>Sorry u cant!" 
      }