Paste #27934: Untitled Paste

Date: 2016/01/06 18:40:13 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


## You can modify this any way you
DomoScriptOne:
    type: assignment 
    actions: 
        on assignment: 
        - trigger name:chat state:true radius:10
    interact scripts: 
     - 1 DomoInteractScriptOne
DomoInteractScriptOne:
    type: interact
    steps: 
         1:
             click trigger: 
                 script: 
                 - async:
                   - announce "1"
                   - if !<player.has_flag[Engaged]> {
                     - wait 1t
                     - flag player Engaged
                     - announce "2"
                     - if <player.flag[MainQuestID]> != "5" {
                       - announce "3"
                       - narrate "<dark_gray><bold>[<reset><green>Domo<dark_gray><bold>]<reset><gray><&co> Really <player.flag[SpiritName]>?"
                       - wait 3
                       - narrate "<dark_gray><bold>[<reset><green>Domo<dark_gray><bold>]<reset><gray><&co> You don't have the MainQuestID I need."
                       - wait 3
                       - narrate "<dark_gray><bold>[<reset><green>Domo<dark_gray><bold>]<reset><gray><&co> Please Contact an Admin and tell them that they broke it"
                       - wait 2
                       - narrate "<dark_gray><bold>[<reset><green>Domo<dark_gray><bold>]<reset><gray><&co> Let them know the proper MainQuestID for me is"
                       - wait 3
                       - narrate "<dark_gray><bold>[<reset><green>Domo<dark_gray><bold>]<reset><gray><&co> <gold>5"
                       - wait 2
                       - narrate "<dark_gray><bold>[<reset><green>Domo<dark_gray><bold>]<reset><gray><&co> Now get away from me."
                       - flag player Engaged:!
                       }
                       else {
                       - wait 1
                       - narrate "<dark_gray><bold>[<reset><green>Domo<dark_gray><bold>]<reset><gray><&co> Hrm?"
                       - wait 2
                       - narrate "<dark_gray><bold>[<reset><aqua><player.flag[SpiritName]><dark_gray><bold>]<reset><aqua><&co> ...!"
                       - wait 2
                       - narrate ""
                       - execute as_server "tellraw <player.name> ["",{"text":"DIE","clickEvent":{"action":"run_command","value":"/say <message ...>"}},{"text":"Live","clickEvent":{"action":"run_command","value":"/say LIVE"}}]" 
                       - narrate "<dark_gray>[<white>Chat Options<dark_gray>]-------------------------"
                       - narrate "<white>[ What are you | HOLLY #*%^%!! | ??? | Hello ]"
                       - narrate "<dark_gray>-------------------------------------"
                       - zap 2
                       - flag player Engaged:!
                       }
                     }
                     else {
                     - announce "SMAK"
                     }
DomoScript1Events: 
  type: world 
  events: 
     on talknpcDomoScriptOneGeneral command:
     - determine FULFILLED passively
     - announce "FUCK YOU ALL!"