Paste #33276: Untitled Paste

Date: 2016/05/02 20:07:08 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


'BREAK':
                    trigger: <dark_aqua><italic> <player.name><&co> <gray><italic>I would like to /break/ my shop plot lease.
                    script:
                    - wait 2
                    - if <player.has_flag[hasplot100]> {
                        - narrate "<green><italic> Landlord<&co> <gray><italic>I see you have a current lease at <yellow><italic>100 Marblemoor<gray><italic>."
                        - wait 2
                        - narrate "<green><italic> Landlord<&co> <gray><italic>If you break your lease, you will no longer have access to the shop plot or its contents and there are no partial refunds for unused time."
                        - wait 2
                        - narrate "<green><italic> Landlord<&co> <gray><italic>Do you still wish to break this shop plot lease?"
                        - zap 10
                    }
                        else if <player.has_flag[hasplot101]> {
                            - narrate "<green><italic> Landlord<&co> <gray><italic>I see you have a current lease at <yellow><italic>101 Marblemoor<gray><italic>."
                            - wait 2
                            - narrate "<green><italic> Landlord<&co> <gray><italic>If you break your lease, you will no longer have access to the shop plot or its contents and there are no partial refunds for unused time."
                            - wait 2
                            - narrate "<green><italic> Landlord<&co> <gray><italic>Do you still wish to break this shop plot lease?"
                            - zap 10
                        }
                            else if <player.has_flag[hasplot102]> {
                                - narrate "<green><italic> Landlord<&co> <gray><italic>I see you have a current lease at <yellow><italic>102 Marblemoor<gray><italic>."
                                - wait 2
                                - narrate "<green><italic> Landlord<&co> <gray><italic>If you break your lease, you will no longer have access to the shop plot or its contents and there are no partial refunds for unused time."
                                - wait 2
                                - narrate "<green><italic> Landlord<&co> <gray><italic>Do you still wish to break this shop plot lease?"
                                - zap 10
                            }
                                else if <player.has_flag[hasplot103]> {
                                - narrate "<green><italic> Landlord<&co> <gray><italic>I see you have a current lease at <yellow><italic>103 Marblemoor<gray><italic>."
                                - wait 2
                                - narrate "<green><italic> Landlord<&co> <gray><italic>If you break your lease, you will no longer have access to the shop plot or its contents and there are no partial refunds for unused time."
                                - wait 2
                                - narrate "<green><italic> Landlord<&co> <gray><italic>Do you still wish to break this shop plot lease?"
                                - zap 10
                                }
                                    else if <player.has_flag[hasplot104]> {
                                        - narrate "<green><italic> Landlord<&co> <gray><italic>I see you have a current lease at <yellow><italic>104 Marblemoor<gray><italic>."
                                        - wait 2
                                        - narrate "<green><italic> Landlord<&co> <gray><italic>If you break your lease, you will no longer have access to the shop plot or its contents and there are no partial refunds for unused time."
                                        - wait 2
                                        - narrate "<green><italic> Landlord<&co> <gray><italic>Do you still wish to break this shop plot lease?"
                                        - zap 10
                                    }
                                        else if <player.has_flag[hasplot105]> {
                                            - narrate "<green><italic> Landlord<&co> <gray><italic>I see you have a current lease at <yellow><italic>105 Marblemoor<gray><italic>."
                                            - wait 2
                                            - narrate "<green><italic> Landlord<&co> <gray><italic>If you break your lease, you will no longer have access to the shop plot or its contents and there are no partial refunds for unused time."
                                            - wait 2
                                            - narrate "<green><italic> Landlord<&co> <gray><italic>Do you still wish to break this shop plot lease?"
                                            - zap 10
                                        }
                                            else {
                                                - narrate "<green><italic> Landlord<&co> <gray><italic>I'm sorry but you don't have a shop plot lease to break."
                                            }