Advertisement
Alfiebgtbhgh

Untitled

Sep 14th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Variables:
  2. {warns.%player%} = "0"
  3.  
  4. command /warn [<text>] [<player>]:
  5. permission: staff
  6. trigger:
  7. if {warns.%arg-2%} = "2":
  8. else:
  9. add 1 to {warns.%player%}
  10. send "&c&lWARNING &fYou have been warned for &c%arg-1% &fthis is your warning &c%{warns.%arg-2%}%" to arg-2
  11. send "&c&lSUCCESS &7You have warned &c%arg-2% for &c%arg-1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement