Advertisement
Zeldaboy111

GUNS ]|[ Skript #290

Feb 25th, 2020
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. #- Reselling/Reuploading while claiming that it is yours or made by you is disallowed
  2. #- Do not edit it and upload it as your own
  3. #- While using it in a video, please feature everything under "Video"
  4. #
  5. #Video:
  6. #Skript made by Zeldaboy111
  7. #More content of the creator: https://forums.skunity.com/search/26443679/
  8.  
  9. options:
  10. logo: &6Guns &8: &7
  11. cLogo: &f[&6Guns&f] &8:&7
  12.  
  13.  
  14. #========================================
  15. # F U N C T I O N S
  16. #========================================
  17. function getGun(p: Player, gun: String):
  18.  
  19.  
  20. function gunInfo(p: Player, gun: String):
  21.  
  22.  
  23. #========================================
  24. # C O M M A N D S
  25. #========================================
  26. command /guns [<text>] [<text>]:
  27. aliases: /gun
  28. trigger:
  29. executor is player:
  30. if player has permission "guns":
  31. if arg-1 is "help":
  32. send "&7&m &7{ &6Guns &7}&m "
  33. send "<cmd:/guns list><ttp:&8Get a list of all the guns>&e/guns list"
  34. send "<sgt:/guns get <gun>><ttp:&8Get a gun>&e/guns get <gun>"
  35. send "<sgt:/guns info [gun]><ttp:&8Get the information [about a gun]>&e/guns info [gun]"
  36. send "&7Tip&8: &7Try hovering over and clicking on the messages!"
  37. send "&7&m &7{ &6Guns &7}&m "
  38.  
  39. else if arg-1 is "list":
  40. send "{@logo} &7Here is a list from all the guns&8:%nl%&epistol&8, &erifle"
  41.  
  42. else if arg-1 is "get":
  43. if arg-2 is set:
  44. getGun({_p}, arg-2)
  45.  
  46. else:
  47. send "{@logo} &7You need to give up a &egun&7."
  48.  
  49. else if arg-1 is "info":
  50. if arg-2 is set:
  51. gunInfo({_p}, arg-2)
  52.  
  53. else:
  54. send "{@logo} &7You need to give up a &egun&7."
  55.  
  56. else:
  57. send "{@logo} &7Do &e/guns help &7for more info!"
  58.  
  59. else:
  60. send "{@cLogo} &7This command can only be executed by a player!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement