- D1 Meta Docs - Denizen Script -
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


TitleEdit of P#6306 - Edit of P#6300 - Edit of P#6298 - Edit of P#6295
TypeDenizen Script
Date2014/07/04 15:14:44 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
4400
"speedsword":
  type: world
  debug: true
  events:
    on player right clicks with i@rog:
          - if !<player.has_flag[buffalo]> {
            - flag buffalo duration:100s
            - if !<player.has_effect> {
              - cast speed power:3 <player.location.find.players.within[30]>
              }
            - cast INCREASE_DAMAGE power:1 duration:5
            - execute as_server 'potion effect regen 5 3 <player.name>'
            - announce '<&e><&lb><&6><&l>!<&e><&rb> <&b><player.name> <&e>uzyl <&b>Boski Rog Mocy <&e>kazdy w promieniu 30 kratek od niego otrzymal dodatkowa szybkosc!'
            - modifyblock <l@1203,138,306,DvZ_Main0> REDSTONE_BLOCK
            - modifyblock <l@1203,138,306,DvZ_Main0> AIR
            - determine fulfilled
            } else {
            - narrate "<&e>Przykro mi, ale mozesz uzyc rogu dopiero za <&c><&l><player.flag[buffalo].expiration.formatted>"
            - determine fulfilled
            }
    on rog command: 
      - if !<player.flag[rog]> { 
        - if <player.has_permission[denizen.rog]> { 
          - give <player> i@rog
          - flag rog duration:800s 
          - narrate "<&e>                                xxxx!" 
          - determine fulfilled 
          } else { 
          - narrate "<&e>                               yyyy!" 
          - determine fulfilled 
          } 
        }
rog:
  type: item
  debug: true
  material: 272
  lore:
  - <&2>Uzyj_boski_rog_mocy!
  - <&2>Twoja_druzyna_otrzyma_niespotkana_szybkosc
  - <&2>a_Twoje_zycie_bedzie_sie_regenerowac!
  - <&2>(mozesz_go_uzywac_co_100_sek)
  display name<&e><&l>Boski Rog Mocy
  



RawRaw



Pastes made: 66664