Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

AxeFury Feb 25th, 2018 (edited) 70 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. on join:
  2.     wait 1 second
  3.     send "&fBienvenue sur le &bServeur &fréservé à la communauté de &f&lSkripteurs&f."
  4.     send "&fVous pouvez &bdévelopper&f, &btester, &bpartager&f, vos créations à l'ensemble des &f&lSkripteurs&f."
  5.     send "&fBon développement à toi sur le serveur!"
  6. on quit:
  7.     clear {first.pos.%player%}
  8.     clear {last.pos.%player%}
  9. command /Zone [<text>]:
  10.     trigger:
  11.         if arg 1 is not set:
  12.             give 1 diamond shovel named "&f&lZone Selection" to the player
  13.             send "&fDéfinisez une première position en cassant le bloc avec l'outil." to player
  14.         else:
  15.             if arg 1 is "define":
  16.                 clear {cant.send.to.last.%player%}
  17.                 if {first.pos.%player%} is set:
  18.                     clear {cant.send.to.last.%player%}
  19.                     if {last.pos.%player%} is set:
  20.                         clear {can.say.msg.%player%}
  21.                         clear {cant.go.continue.%player%}
  22.                         clear {just.one.msg}
  23.                         clear {the.first.msg}
  24.                         loop blocks within {first.pos.%player%} to {last.pos.%player%}:
  25.                             if {zone.now.set.%location of loop-block%} is true:
  26.                                 set {cant.go.continue.%player%} to true
  27.                         loop blocks within {first.pos.%player%} to {last.pos.%player%}:
  28.                             if {cant.go.continue.%player%} is not set:
  29.                                 set {block.set.%player%.%location of loop-block%} to true
  30.                                 set {zone.name.player.%location of loop-block%} to player
  31.                                 set {can.say.msg.%player%} to true
  32.                         loop blocks within {limit.wool.%player%} to {last.pos.%player%}:
  33.                             if {zone.now.set.%location of loop-block%} is true:
  34.                                 set {cant.go.continue.%player%} to true
  35.                         loop blocks within {limit.wool.%player%} to {last.pos.%player%}:
  36.                             if {cant.go.continue.%player%} is not set:
  37.                                 x coord of loop-block is x coord of {limit.wool.%player%}:
  38.                                     set loop-block to wool:14
  39.                                 x coord of loop-block is x coord of {last.pos.%player%}:
  40.                                     set loop-block to wool:14
  41.                                 z coord of loop-block is z coord of {limit.wool.%player%}:
  42.                                     set loop-block to wool:14
  43.                                 z coord of loop-block is z coord of {last.pos.%player%}:
  44.                                     set loop-block to wool:14
  45.                                 set {can.say.msg.%player%} to true
  46.                                 set {zone.now.set.%location of loop-block%} to true
  47.                             else:
  48.                                 if {just.one.msg} is not set:
  49.                                     set {just.one.msg} to true
  50.                                     if {zone.name.player.%location of loop-block%} is not set:
  51.                                         clear {just.one.msg}
  52.                                     else:
  53.                                         send "&cCette zone appartient déjà au joueur &c&l%{zone.name.player.%location of loop-block%}%"
  54.                         if {can.say.msg.%player%} is true:
  55.                             clear {can.say.msg.%player%}
  56.                             if {cant.go.continue.%player%} is not set:
  57.                                 send "&fVous venez de créer votre &bzone de test&f."
  58.                                 set {first.sure.pos.%player%} to {first.pos.%player%}
  59.                                 set {last.sure.pos.%player%} to {last.pos.%player%}
  60.                     else:
  61.                         if {cant.send.to.last.%player%} is not set:
  62.                             send "&cVeuillez selectionner une seconde position."
  63.                 else:
  64.                     send "&cVeuillez selectionner une première position."
  65.                     set {cant.send.to.last.%player%} to true
  66.             if arg 1 is "reset":
  67.                 if {first.sure.pos.%player%} is set:
  68.                     if {last.sure.pos.%player%} is set:
  69.                         loop blocks within {first.sure.pos.%player%} to {last.sure.pos.%player%}:
  70.                             clear {block.set.%player%.%location of loop-block%}
  71.                             clear {zone.name.player.%location of loop-block%}
  72.                             clear {zone.now.set.%location of loop-block%}
  73.                             clear {first.pos.%player%}
  74.                             clear {last.pos.%player%}
  75.                             clear {first.sure.pos.%player%}
  76.                             clear {last.sure.pos.%player%}
  77.                             if {the.first.msg} is not set:
  78.                                 send "&cVous venez de réinitialiser votre &bzone de test&f."
  79.                                 set {the.first.msg} to true
  80.                 if {first.sure.pos.%player%} is not set:
  81.                     if {last.sure.pos.%player%} is not set:
  82.                         send "&cVous n'avez pas de zone de test."
  83. on explosion:
  84.     loop exploded blocks:
  85.         if {zone.now.set.%location of loop-block%} is true:
  86.             cancel event
  87.        
  88. on break:
  89.     if player is holding diamond shovel named "&f&lZone Selection":
  90.         if {zone.now.set.%location of event-block%} is true:
  91.             if {zone.name.player.%location of event-block%} is not "%player%":
  92.                 cancel event
  93.                 send "&cCette zone appartient déjà au joueur &c&l%{zone.name.player.%location of event-block%}%&c."
  94.         if {zone.now.set.%location of event-block%} is not set:
  95.             cancel event
  96.             set {first.pos.%player%} to location of event-block
  97.             set {limit.wool.%player%} to location of event-block
  98.             set {spawn.zone.%player%} to location of event-block
  99.             add 50 to y-pos of {first.pos.%player%}
  100.             send "&fPosition &b##1 &fdéfinie." to player
  101.             send "&fDéfinisez la seconde position en cliquant avec l'outil." to player
  102.     if {block.set.%player%.%location of event-block%} is true:
  103.         stop
  104.     else:
  105.         if {zone.now.set.%location of event-block%} is true:
  106.             if {zone.name.player.%location of event-block%} is not player:
  107.                 cancel event
  108. on place:
  109.     if {block.set.%player%.%location of event-block%} is true:
  110.         stop
  111.     else:
  112.         if {zone.now.set.%location of event-block%} is true:
  113.             if {zone.name.player.%location of event-block%} is not player:
  114.                 cancel event
  115.  
  116. on rightclick:
  117.     if player is holding diamond shovel named "&f&lZone Selection":
  118.         if {zone.now.set.%location of event-block%} is true:
  119.             if {zone.name.player.%location of event-block%} is not player:
  120.                 cancel event
  121.                 send "&cCette zone appartient déjà au joueur &c&l%{zone.name.player.%location of event-block%}%&c."
  122.         if {zone.now.set.%location of event-block%} is not set:
  123.             cancel event
  124.             set {last.pos.%player%} to location of event-block
  125.             send "&fPosition &b##2 &fdéfinie." to player
  126.             send "&fExecutez la commande /Zone define pour créer votre zone." to player
  127.     if {block.set.%player%.%location of event-block%} is true:
  128.         stop
  129.     else:
  130.         if {zone.now.set.%location of event-block%} is true:
  131.             if {zone.name.player.%location of event-block%} is not player:
  132.                 cancel event
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top