emotion: type: world events: on emotion command: - flag player arg1: - if == 'happy' || == 'sad' && != true { - inject - determine fulfilled - queue clear } else if == 'happy' || == 'sad' && == true { - narrate 'Please wait atleast 10 seconds before using emotions again.' - determine fulfilled - queue clear } else { - narrate 'Invalid command' - determine fulfilled - queue clear } Mytask: type: task script: - determine passively fulfilled - narrate 'You have now entered cooldown mode!' - flag player incooldownmode - narrate 'test' - wait 25s - flag player emotion:! - narrate 'You may now use emotions again.' - queue clear - determine fulfilled happy: type: task script: - announce ' is feeling happy.' - flag player emotion:true - inject Mytask sad: type: task script: - announce ' is feeling sad.' - flag player emotion:true - inject Mytask