Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # LICENSE SKRIPT
- # MADE BY MINIOOF
- # DISCORD: minioof#2180
- # COPYRIGHT 2019 ©
- command /license [<text>] [<text>] [<offlineplayer>]:
- permission: skript.license.gike
- permission message: &fUnknown commmand. Type "/help" for help.
- trigger:
- if arg-1 is "give":
- if arg-2 is "farmer":
- if arg-3 is set:
- set {l.farmer.%arg-3%} to "&a✓ Farmer's License"
- send "&8[&aLicense&8] &aSuccefully gave &bFarmer's License&a to %arg-3%"
- else:
- send "&8[&aLicense&8] &cPlease define a player!"
- else:
- if arg-2 is "gun":
- if arg-3 is set:
- set {l.gun.%arg-3%} to "&a✓ Gun License"
- send "&8[&aLicense&8] &aSuccefully gave &Gun License&a to %arg-3%"
- else:
- send "&8[&aLicense&8] &cPlease define a player!"
- else:
- if arg-2 is not set:
- send "&8[&aLicense&8] &cPlease define a license name! &7[ &agun &7| &afarmer &7]"
- if arg-1 is "take":
- if arg-2 is "farmer":
- if arg-3 is set:
- set {l.farmer.%arg-3%} to "&4✖ Farmer's License"
- send "&8[&aLicense&8] &aSuccefully took &bFarmer's License&a from %arg-3%"
- else:
- send "&8[&aLicense&8] &cPlease define a player!"
- else:
- if arg-2 is "gun":
- if arg-3 is set:
- set {l.gun.%arg-3%} to "&4✖ Gun License"
- send "&8[&aLicense&8] &aSuccefully took &bGun License&a from %arg-3%"
- else:
- send "&8[&aLicense&8] &cPlease define a player!"
- else:
- if arg-2 is not set:
- send "&8[&aLicense&8] &cPlease define a license name! &7[ &agun &7| &afarmer &7]"
- if arg-1 is not set:
- send "&8[&aLicense&8] &cPlease define an argument! &7[ &agive &7| &a take &7]"
- # ✖
- #
- #
- command /lcheck [<offlineplayer>]:
- permission message: &fUnknown commmand. Type "/help" for help.
- permission: skript.license.check
- trigger:
- if arg-1 is set:
- send "&8----- &e%arg-1%&e's Licenses &8-----"
- send "&6| %{l.farmer.%arg-1%}%"
- send "&6| %{l.gun.%arg-1%}%"
- send "&8--------------------------"
- else:
- send "&8[&aLicense&8] &cPlease denife a player!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement