Paste #3618: Edit of P#3617 - africa

Date: 2014/04/20 16:16:24 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


'Africa':
    type: assignment
    interact scripts:
    - 10 MelonsPls  
MelonsPls:
    type: interact
    steps:
        1:
            click trigger:
                    script:
                    - chat "Yo! <player.name>! Mah nigga!"
                    - wait 1
                    - chat "I ran out of my melons son, you tryin to help a nigga out? Or nah?"
            chat trigger:
                1: 
                    trigger: /Ye/, bruh.
                        script:
                        - chat "Man, you a real nigga!"
                        - wait 1
                        - chat "Come back when you got me 5 Melon Slices."
                        - zap step:2
                2:
                    trigger: /Nah/, bruh.
                        script:
                        - chat "Damn, nigga, i thought we was homies."

        2:
            click trigger:
                script:
                - if <player.inventory.contains[MELON].qty[5]> {
                - take MELON qty:5
                - wait 1
                - chat "Nigga, you a life saver!"
                - wait 1
                - chat "Heres some cash man."
                - give money qty@co 1000
                - zap step:3
                }else{
                - chat "Nigga i said come back when you got my shit."
                - wait 1
                - chat "Get the fuck out."
            } 
        3: 
            click trigger:
                script:
                - chat "Nigga you already gave me my shit."
                - wait 1
                - chat "I aint got nothin else for you to do."