Date: 2016/05/02 20:07:08 UTC-07:00
Type: Denizen Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
'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."
}