Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /blocca:
- trigger:
- if targeted block is archimede:
- if {ciao.block::%location of targeted block%} is "%player%":
- if {bella.zio::%player%} is not location of targeted block:
- if {save.bho::%location of targeted block%} is not set:
- set {my.block::%location of targeted block%} to player
- set {save.bho::%location of targeted block%} to true
- send "Hai bloccato il tuo timone, per sbloccarlo usa /sblocca"
- else if {save.bho::%location of targeted block%} is false:
- set {my.block::%location of targeted block%} to player
- set {save.bho::%location of targeted block%} to true
- set {bella.zio::%player%} to location of targeted block
- send "Hai bloccato il tuo timone, per sbloccarlo usa /sblocca"
- else if {save.bho::%location of targeted block%} is true:
- send "E' già bloccato questo timone"
- else:
- send "Hai già un timone!"
- else:
- send "Non è il tuo timone!"
- else:
- send "Mira un timone per eseguire il comando"
- stop trigger
- command /sblocca:
- trigger:
- if targeted block is archimede:
- if {ciao.block::%location of targeted block%} is "%player%":
- if {bella.zio::%player%} is set:
- if {save.bho::%location of targeted block%} is true:
- delete {my.block::%location of targeted block%}
- delete {bella.zio::%player%}
- set {save.bho::%location of targeted block%} to false
- send "Hai sbloccato il tuo timone, per bloccarlo usa /blocca"
- else if {save.bho::%location of targeted block%} is not set:
- send "Non è bloccato questo timone"
- else if {save.bho::%location of targeted block%} is false:
- send "Non è bloccato questo timone"
- else:
- send "Non è il tuo timone!"
- else:
- send "Hai già un timone!"
- else:
- send "Mira un timone per eseguire il comando"
- stop trigger
- on place of 165:
- set {ciao.block::%location of targeted block%} to event-player
- set {bella.zio::%player%} to event-location
- on right click on 165:
- if {my.block::%location of event-block%} is not "%player%":
- if {save.bho::%location of targeted block%} is true:
- kick player due to "&8[&6ShipCraft&8] &bNon usare i timoni altrui!"
- on break of 165:
- delete {save.bho::%location of targeted block%}
- delete {my.block::%location of targeted block%}
- delete {ciao.block::%location of targeted block%}
- delete {bella.zio::%player%}
- on explode:
- loop blocks in radius 5 of event-location:
- if loop-block is archimede:
- delete {save.bho::%location of loop-block%}
- delete {my.block::%location of loop-block%}
- delete {ciao.block::%location of loop-block%}
- command /vedi:
- trigger:
- send "%{save.bho::%location of targeted block%}%"
- send "%{my.block::%location of targeted block%}%"
- send "%{ciao.block::%location of targeted block%}%"
- send "%{bella.zio::%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement