- mcmonkey studios -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleUntitled Paste
TypeDenizen Script
Date2014/07/09 18:27:20 UTC-07:00
ByGuest
Other
Paste
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
22300
FireworkSpam:
    type: task
    script:
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
    - firework location:<p@<player.list.online.random>.location> primary:random|random|random|random flicker trail
BanhammerFire:
    type: task
    definitions: player
    script:
    - ^announce "Charging banhammer..."
    - ^announce "<red>[<yellow>|<white>|||||||||<red>]"
    - wait 1
    - ^announce "<red>[<yellow>||<white>||||||||<red>]"
    - wait 1
    - ^announce "<red>[<yellow>|||<white>|||||||<red>]"
    - wait 1
    - ^announce "<red>[<yellow>||||<white>||||||<red>]"
    - wait 1
    - ^announce "<red>[<yellow>|||||<white>|||||<red>]"
    - wait 1
    - ^announce "<red>[<yellow>||||||<white>||||<red>]"
    - wait 1
    - ^announce "<red>[<yellow>|||||||<white>|||<red>]"
    - wait 1
    - ^announce "<red>[<yellow>||||||||<white>||<red>]"
    - wait 1
    - ^announce "<red>[<yellow>|||||||||<white>|<red>]"
    - wait 1
    - ^announce "<red>[<yellow>||||||||||<white><red>]"
    - wait 1
    - ^announce "<yellow>Banhammer charged. Initiating annihilation sequence."
    - ^execute asserver "ban %player%"
    - ^announce "<yellow>Banhammer has fired upon %player%. THE GODS HAVE SPOKEN"
'Utility Scripts':
 type: world
 events:
   on banhammer command:
   - if !<player.is_op> queue clear
   - run BanhammerFire def:<context.args.get[1]>
   on beginManaLoop command:
   - ^if <queue.exists[ManaLoop]> queue queue:queueID stop
   - run RegenerateManaLoop id:ManaLoop
   on leveluptext command:
   - run PrintL
   - wait 1
   - run PrintE
   - wait 1
   - run PrintV
   - wait 1
   - run PrintE
   - wait 1
   - run PrintL
   on drs command:
   - if <player.name> == ryot333 {
       - execute asserver "denizen reload scripts"
       - narrate "<green>Denizen/scripts/... reloaded from disk to memory."
       - determine fulfilled
     }
   - if <player.is_op> {
       - execute asserver "denizen reload scripts"
       - narrate "<green>Denizen/scripts/... reloaded from disk to memory."
       - determine fulfilled
     }
   on party command:
   - if <context.args.get[1]> == null {
       - narrate "You have to have a reason to party, dude."
       - queue clear
     }
   - announce "<red>PARTY BECAUSE <context.args.get[1]>"
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - run FireworkSpam
   - determine fulfilled
   on soulstones command:
   - ^if <player.is_op> !== true queue clear
   - ^narrate "Spawning soulstones for administration use."
   - execute asserver "give <player.name> 399 1 name:&eLightning_Soulstone lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&dHealing_Soulstone lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&4Fireball_Soulstone lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&5Repelling_Soulstone lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&1Frozen_Soulstone lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&6Aegis_Soulstone lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:<red>Juggernaut_Soulstone lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&4Nova_Soulstone lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&0Unholy_Soulstone lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:*&4P&6r&ei&as&9m&da&5t&4i&6c_Soulstone* lore:<player.name>'s_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&eReforged_Lightning_Soulstone lore:<player.name>'s_Reforged_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&4Reforged_Fireball_Soulstone lore:<player.name>'s_Reforged_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&6Reforged_Aegis_Soulstone lore:<player.name>'s_Reforged_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&0Reforged_Unholy_Soulstone lore:<player.name>'s_Reforged_Soulstone."
   - execute asserver "give <player.name> 399 1 name:*!&4R&6e&ef&ao&9r&dg&6e&4d&6_&4P&6r&ei&as&9m&da&5t&4i&6c_Soulstone!* lore:<player.name>'s_Reforged_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&dReforged_Healing_Soulstone lore:<player.name>'s_Reforged_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&4Reforged_Nova_Soulstone lore:<player.name>'s_Reforged_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&1Reforged_Frozen_Soulstone lore:<player.name>'s_Reforged_Soulstone."
   - execute asserver "give <player.name> 399 1 name:&5Reforged_Repelling_Soulstone lore:<player.name>'s_Reforged_Soulstone."
   - execute asserver "give <player.name> 399 1 name:<red>Reforged_Juggernaut_Soulstone lore:<player.name>'s_Reforged_Soulstone."
   on goHome command:
   - if <player.flag[HomePosition]> == null {
       - narrate "<red>You haven't set your home yet."
       - queue clear
     }
   - if <player.flag[RecentlyDamaged]> == true {
       - narrate "<red>You were damaged too recently to go home."
       - queue clear
     }
   - if <player.flag[HomeCooldown]> == true {
       - narrate "<red>You can't go home yet. You'll be able to again in <player.flag[HomeCooldown].duration>."
       - queue clear
     }
   - narrate "<red>Let's go home."
   - flag HomeCooldown:true duration:60s
   - teleport <player.flag[HomePosition]>
   - determine fulfilled
   on makeHome command:
   - if <context.args.get[1]> == confirm {
       - if <player.flag[HomeSetCooldown]> == true {
           - narrate "<red>You can't set your home yet."
           - queue clear
         }
       - if <player.inventory.contains[264].qty[3]> == false {
           - narrate "<red>You don't have enough diamonds."
           - queue clear
         }
       - if <player.inventory.contains[264].qty[3]> == true {
           - ^take 264 qty:3
           - ^flag HomeSetCooldown:true duration:86400s
           - narrate "<red>Your home has been set at your current location."
           - flag HomePosition:<player.location>
         }
     }
   - narrate "<red>Setting your home is reasonably permanent. It costs 3 diamonds to set your home."
   - narrate "<red>Use /makehome confirm to place your house."
   - determine fulfilled
   on titles command:
   - if <context.args.get[1]> == null {
       - narrate "<red>Usage<<red>o> list, set (index to set)"
       - deterimine fulfilled
       - queue clear
     }
   - if <context.args.get[1]> == list {
       - narrate "Use /titles set (number to the left of title) to set your title."
       - flag count:1
       - if <player.flag[Titles]> == null {
           - narrate "You don't have any titles!"
           - determine fulfilled
           - queue clear
         }
       - foreach <player.flag[Titles].as_list> {
           - narrate "<green>[<player.flag[count].asint>]<<red>o><reset> %value%"
           - flag count:++
         }
       - determine fulfilled
     }
   - if <context.args.get[1]> == set {
       - if <context.args.get[2]> == null {
           - narrate "<red>Specify an index!"
           - determine fulfilled
         }
       - if <player.flag[Titles].get[<context.args.get[2]>]> == null {
           - narrate "<red>That isn't an index you have."
           - determine fulfilled
         }
       - if !<player.flag[Titles].get[<context.args.get[2]>]> == null {
           - narrate "Title set!"
           - execute asserver "prefix <player.name> <player.flag[Titles].get[<context.args.get[2]>]>"
         }
       - determine fulfilled
     }
   on donatortitle command:
   - if !<player.is_op> queue clear
   - flag player:<context.args.get[1]>Titles:->:<context.args.get[2]>
   - determine fulfilled
   on titlesOther command:
   - if <player.is_op> {
       - foreach <player.flag[Titles].as_list> {
           - narrate "<green>[<player[<context.args.get[1]>].flag[count].asint>]<<red>o><reset> %value%"
           - flag count:++
         }
     }
AddTitle:
  type: task
  context: value
  script:
  - flag Titles:->:<context.value>



RawRaw



Pastes made: 52679