Paste #36574: Untitled Paste

Date: 2016/10/02 03:31:48 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


GamemodeCommand: 
  type: world
  events:
    on gm command:
    - if <context.args.get[2]||null> == null && <context.args.get[1]> == 1 && <player.world> == w@survival {
      - determine passively cancelled
      - narrate "<&c>You cannot use that in survival."
      } else {
      - if <context.args.get[2]||null> == null && <context.args.get[1]> == creative && <player.world> == w@survival {
        - determine passively cancelled
        - narrate "<&c>You cannot use that in survival."
        }