Zeldaboy111

GUNS ]|[ Skript #290

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