Leon4609

Untitled

Jul 31st, 2015
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. variables:
  2. {antipluie} = 1
  3.  
  4. command /antipluie on:
  5. description: Permet d'activer l'antipluie
  6. permission: theo.antipluit.on
  7. trigger:
  8. set {antipluie} to 1
  9.  
  10. command /antipluie off:
  11. description: Permet de désactiver la pluit
  12. permission: theo.antipluit.off
  13. trigger:
  14. set {antipluie} to 0
  15.  
  16.  
  17. on weather change to rain or thunder:
  18. if {antipluie} = 1:
  19. cancel event
  20. broadcast "La pluie a ete annuler"
Advertisement
Add Comment
Please, Sign In to add comment