Guest User

Untitled

a guest
Mar 11th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. on Skript enable:
  2. send "AutoIPBan -> Activé" to console
  3. on Skript disable:
  4. send "AutoIPBan -> Désactivé" to console
  5. command /ban <offlineplayer> [<text>]:
  6. permission: mod.ban
  7. usage: /ban <joueur> [raison]
  8. trigger:
  9. if arg 1 is not set:
  10. send "&c&k||&c RektiBot &k||&c Veuillez préciser le nom d'un joueur" to player
  11. if arg 2 is not set:
  12. send "&c&k||&c RektiBot &k||&c %arg 1% a été banni, essayez de préciser une raison la prochaine fois" to player
  13. make player execute command "ipban %arg 1%"
  14. else:
  15. send "&c&k||&c RektiBot &k||&c %arg 1% a été banni pour %arg 2%" to player
  16. make player execute command "ipban %arg 1 % %arg 2%"
Advertisement
Add Comment
Please, Sign In to add comment