SHOW:
|
|
- or go back to the newest paste.
| 1 | - | command /antipluit off |
| 1 | + | variables: |
| 2 | - | description: Permet de désactiver la pluit |
| 2 | + | {antipluie} = 1
|
| 3 | - | permission: theo.antipluit.off |
| 3 | + | |
| 4 | - | trigger: |
| 4 | + | command /antipluie on: |
| 5 | - | set antipluit to 0 |
| 5 | + | description: Permet d'activer l'antipluie |
| 6 | - | |
| 6 | + | permission: theo.antipluit.on |
| 7 | - | |
| 7 | + | trigger: |
| 8 | - | on weather change to rain or thunder: |
| 8 | + | set {antipluie} to 1
|
| 9 | - | cancel event |
| 9 | + | |
| 10 | - | broadcast "La pluit a ete annuler" |
| 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" |