knugi

Bank

Feb 2nd, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. command /bank [<text>] [<text>]:
  2. trigger:
  3. if arg 1 is not set:
  4. send "&6Podaj nick i powod bana."
  5. send "&a/bank nick powod"
  6. stop
  7. if arg 1 is set:
  8. set {_p} to arg 1
  9. set {_p} to {_p} parsed as offlineplayer
  10. if arg 2 is set:
  11. set {bank.%{_p}%} to "%arg 2%"
  12. set {bank.%{_p}%.admin} to "%player%"
  13. kick {_p} due to "&6Zostales zbanowany przez: &c&l%player% %nl% &6Powod: &a%arg 2% %nl% &6Skrypt by &cKnugi"
  14. on connect:
  15. if {bank.%player%} is set:
  16. kick player due to "&6Zostales zbanowany przez: &c&l%{bank.%player%.admin}% %nl% &6Powod: &a%{bank.%player%}% %nl% &6Skrypt by &cKnugi"
Add Comment
Please, Sign In to add comment