Date: 2015/02/09 09:32:51 UTC-08: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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
BearPromotions:
type: assignment
Interact Scripts:
- 1 BearClan1
- 2 BearClan2
BearClan1:
type: interact
steps:
1:
click trigger:
script:
- if <player.in_group[bearlvl1].world[factions]> {
- chat "You are already a Bjorn member of the Bear clan!"
} else if <player.in_group[bearlvl2].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[bearlvl2].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[bearlvl3].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[bearlvl4].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[bearlvl5].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[bearlvl6].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[wolflevel1].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel2].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel3].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel4].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel5].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel6].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl1].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl2].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl3].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl4].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl5].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl6].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else {
- chat "Hello <player.name>! Would you like to join the Bear Clan?"
- wait 1
- chat "You will gain access to axes and equipment of great power!"
- wait 1
- narrate "[<&o>Type <&b><&o>Yes<&f><&o> or <&b><&o>No<&7>]"
- zap 2
}
2:
chat trigger:
1:
trigger: /Yes/, I will join!
script:
- chat "Are you sure?"
- wait 1
- narrate "[<&o>Type <&b><&o>Yes<&f><&o> or <&b><&o>No<&7>]"
- zap 3
2:
trigger: /No/, I will not join!
script:
- chat "be gone then!"
3:
chat trigger:
1:
trigger: /Yes/, I am sure!
script:
- chat "Very well, you have joined the Bear Clan and are now a Bjorn!"
- execute as_server "pex user <player.name> group add bearlvl1 factions"
- flag player TitleKillCounter
- flag player TitleKillCounter:0
- zap 1
2:
trigger: /No/, I will reconsider!
script:
- chat "be gone then!"
- zap 1
BearClan2:
type: interact
steps:
1:
click trigger:
script:
- if <player.in_group[bearlvl2].world[factions]> {
- chat "You are already a Malice Striker member of the Bear clan!"
} else if <player.in_group[bearlvl3].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[bearlvl4].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[bearlvl5].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[bearlvl6].world[factions]> {
- chat "You have progressed past this level in the Bear clan!"
} else if <player.in_group[wolflevel1].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel2].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel3].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel4].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel5].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[wolflevel6].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl1].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl2].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl3].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl4].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl5].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[ravenlvl6].world[factions]> {
- chat "You are not a member of the Bear clan!"
} else if <player.in_group[bearlvl1].world[factions]> {
- if <player.flag[TitleKillCounter]> < 75 {
- chat "In order to be promoted to a Blood Axe member, you need to have 75 player kills!"
- chat "you have <75-player.flag[TitleKillCounter].as_int> more kills to go!"
} else if <player.money> < 20000> {
- chat "In order to be promoted to a Blood Axe member, you need to have 20,000 money!"
- chat "You need <20000-player.money> more!"
} else if <player.flag[TitleKillCounter] => 75 && <player.money> => 20000> {
- chat "Hello <player.name>!Would you like to be promoted to Blood Axe?"
- wait 1
- narrate "[<&o>Type <&b><&o>Yes<&f><&o> or <&b><&o>No<&7>]"
- zap 2
}
}
2:
chat trigger:
1:
trigger: /Yes/, I will join!
script:
- chat "Are you sure?"
- wait 1
- narrate "[<&o>Type <&b><&o>Yes<&f><&o> or <&b><&o>No<&7>]"
- zap 3
2:
trigger: /No/, I will not join!
script:
- chat "be gone then!"
3:
chat trigger:
1:
trigger: /Yes/, I am sure!
script:
- chat "Very well, you have been promoted to Blood Axe!"
- execute as_server "pex user <player.name> group remove bearlvl1 factions"
- execute as_server "pex user <player.name> group add bearlvl2 factions"
- execute as_server "eco take <player.name> 20000"
- zap 1
2:
trigger: /No/, I will reconsider!
script:
- chat "be gone then!"
- zap 1
TitleKillQuest:
type: world
events:
on player kills player:
- if !<player.has_flag[TitleKillCounter]> queue clear
- flag player TitleKillCounter:++
- narrate "You have killed: <player.flag[TitleKillCounter].as_int> players!"