Paste #12744: Untitled Paste

Date: 2015/01/11 12:04:48 UTC-08: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
16
17


emotion:
    type: world
    events: 
        on emotion command:
        - flag player arg1:<c.args.get[1]>
        - if <player.flag[arg1]> == 'happy' {
          - narrate 'you are happy'
          - flag player emotion:true
          }
          else {
          - if <player.flag[arg1]> == 'cooldown' && <player.has_flag[emotion]> == true {
            - narrate 'cooldown'
            }
            else {
            - narrate 'not cooldown'
            }
          }