SHOW:
|
|
- or go back to the newest paste.
| 1 | #DP : Advanced Bans | |
| 2 | #BY UrsoBatata | |
| 3 | #Ban00 SKRIPT | |
| 4 | ||
| 5 | - | command /ban00 <offlineplayers> <text>: |
| 5 | + | command /ban00 [<offlineplayers>] [<text>]: |
| 6 | - | permission: {@Permissao}
|
| 6 | + | permission: ban00.wow |
| 7 | - | permission message: &cSem permissao |
| 7 | + | permission message: &cSem permissao |
| 8 | - | usage: /ban00 (Player) (Motivo) |
| 8 | + | usage: /ban00 (Player) (Motivo) |
| 9 | - | trigger: |
| 9 | + | trigger: |
| 10 | - | ban arg 1 because "&c%arg 2%" |
| 10 | + | if arg 1 is set: |
| 11 | - | make console execute command "ban %player% 00" |
| 11 | + | if arg 2 is set: |
| 12 | - | make console execute command "money give %player% -1000000000000000000000000" |
| 12 | + | ban arg 1 because "&c%arg 2%" |
| 13 | - | make console execute command "skillreset %player%" |
| 13 | + | remove 1000000000000000000000000 from player's balance |
| 14 | - | kick the arg 1 due to "&7Voce foi banido pelo : &a%player% &7Motivo: &c%arg 2%" |
| 14 | + | make console execute command "skillreset %arg 1%" |
| 15 | - | send "&a&l> &cVocĂȘ baniu &7%arg 1%" |
| 15 | + | kick the arg 1 due to "&7Voce foi banido pelo : &a%player% &7Motivo: &c%arg 2%" |
| 16 | - | broadcast "&a&l> &cO player &4%player% &c baniu &7 %arg 1% &cMotivo: &7%arg 2%" |
| 16 | + | send "&a&l> &cVocĂȘ baniu &7%arg 1%" |
| 17 | broadcast "&a&l> &cO player &4%player% &c baniu &7 %arg 1% &cMotivo: &7%arg 2%" |