Paste #18483: prox trigger

Date: 2015/07/22 03:51:28 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


sellall:
    Type: Assignment
    Interact Scripts:
    - SellAll
SellAll:
    Type: Interact
    Requirements:
        Mode: All
    Steps:
        1:
            Proximity Trigger:
                1:
                    trigger: proximity radius:2
                    Script:
                    - chat "Well hello <player.name>"
                    - wait 1
                    - chat "I will buy any item tax exempt! Just hold it in your hand and click!"
        2:
            Chat Trigger:
                1:
                    Trigger: i'll get you a /cookie/
                    Script:
                    - chat "Damn right you will... Now get to it!"
                    - chat "Don't let me spot you without my cookie..."
                    - wait 2
                    - chat "or at least the ingredients."
                    - EMOTE "glares at you..."
                    - finish