Guest User

LAFS Skript

a guest
Feb 21st, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. options:
  2. Perm: uhc.staff
  3. P: &f[&bLAFS&f]
  4. C: &b
  5. H: &f
  6.  
  7. command /LAFS <text>:
  8. permission: {@Perm}
  9. usage: /LAFS <On:Off>
  10. trigger:
  11. if arg-1 is "enable" or "on":
  12. set {LAFS} to true
  13. broadcast "{@P}{@C} LAFS {@H}Enabled{@C}!"
  14. if arg-1 is "disable" or "off":
  15. delete {LAFS}
  16. broadcast "{@P}{@C} LAFS {@H}Disabled{@C}!"
  17.  
  18. on damage:
  19. if {LAFS} is true:
  20. victim is a player
  21. attacker is a player
  22. if {Teams.InTeam::%attacker%} is not set:
  23. {Teams.InTeam::%victim%} is not set
  24. command "/ct %attacker% %victim%"
Add Comment
Please, Sign In to add comment