Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. # LICENSE SKRIPT
  2. # MADE BY MINIOOF
  3. # DISCORD: minioof#2180
  4. # COPYRIGHT 2019 ©
  5.  
  6. command /license [<text>] [<text>] [<offlineplayer>]:
  7. permission: skript.license.gike
  8. permission message: &fUnknown commmand. Type "/help" for help.
  9. trigger:
  10. if arg-1 is "give":
  11. if arg-2 is "farmer":
  12. if arg-3 is set:
  13. set {l.farmer.%arg-3%} to "&a✓ Farmer's License"
  14. send "&8[&aLicense&8] &aSuccefully gave &bFarmer's License&a to %arg-3%"
  15. else:
  16. send "&8[&aLicense&8] &cPlease define a player!"
  17. else:
  18. if arg-2 is "gun":
  19. if arg-3 is set:
  20. set {l.gun.%arg-3%} to "&a✓ Gun License"
  21. send "&8[&aLicense&8] &aSuccefully gave &Gun License&a to %arg-3%"
  22. else:
  23. send "&8[&aLicense&8] &cPlease define a player!"
  24. else:
  25. if arg-2 is not set:
  26. send "&8[&aLicense&8] &cPlease define a license name! &7[ &agun &7| &afarmer &7]"
  27. if arg-1 is "take":
  28. if arg-2 is "farmer":
  29. if arg-3 is set:
  30. set {l.farmer.%arg-3%} to "&4✖ Farmer's License"
  31. send "&8[&aLicense&8] &aSuccefully took &bFarmer's License&a from %arg-3%"
  32. else:
  33. send "&8[&aLicense&8] &cPlease define a player!"
  34. else:
  35. if arg-2 is "gun":
  36. if arg-3 is set:
  37. set {l.gun.%arg-3%} to "&4✖ Gun License"
  38. send "&8[&aLicense&8] &aSuccefully took &bGun License&a from %arg-3%"
  39. else:
  40. send "&8[&aLicense&8] &cPlease define a player!"
  41. else:
  42. if arg-2 is not set:
  43. send "&8[&aLicense&8] &cPlease define a license name! &7[ &agun &7| &afarmer &7]"
  44. if arg-1 is not set:
  45. send "&8[&aLicense&8] &cPlease define an argument! &7[ &agive &7| &a take &7]"
  46. # ✖
  47. #
  48. #
  49. command /lcheck [<offlineplayer>]:
  50. permission message: &fUnknown commmand. Type "/help" for help.
  51. permission: skript.license.check
  52. trigger:
  53. if arg-1 is set:
  54. send "&8----- &e%arg-1%&e's Licenses &8-----"
  55. send "&6| %{l.farmer.%arg-1%}%"
  56. send "&6| %{l.gun.%arg-1%}%"
  57. send "&8--------------------------"
  58. else:
  59. send "&8[&aLicense&8] &cPlease denife a player!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement