It is a .jar file and this is the command someone have an example on how to do an aliases with Skript: /bounty {player1} {500}
Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
Yes but how can I make it with correct usage?is this what you want?Code:command /bounty <player> <integer>: trigger: make player execute command "/kitbattle bounty %arg-1% %arg-2%"
command /bounty <player> <integer>:
trigger:
if arg-1 is not set:
make player execute command "/kitbattle bounty %arg-1% %arg-2%"
else:
send "&6&lKitPvP &8» &7Usage: /bounty <Player> <Amount>"
send "&7&oNote: the minimum bounty amount is 150."
Yes but how can I make it with correct usage?
Like this?Code:command /bounty <player> <integer>: trigger: if arg-1 is not set: make player execute command "/kitbattle bounty %arg-1% %arg-2%" else: send "&6&lKitPvP &8» &7Usage: /bounty <Player> <Amount>" send "&7&oNote: the minimum bounty amount is 150."
command /bounty <player> <integer>:
usage: wrong usage message here
trigger:
make player execute command "/kitbattle bounty %arg-1% %arg-2%"
Code:command /bounty <player> <integer>: usage: wrong usage message here trigger: make player execute command "/kitbattle bounty %arg-1% %arg-2%"
Just put a usage: and then the message that will display if the player enters a wrong usage
bump
but then it like that and i want 2 lines
Just replace "wrong usage message here" with the message you wantView attachment 6016
but then it like that and i want 2 lines
[doublepost=1621075397,1619982210][/doublepost]
bump
But that it shows in white Correct usage:Just replace "wrong usage message here" with the message you want
Use colour codes like &6, &8, &7...But that it shows in white Correct usage:
command /bounty [<offline player>] [<text>]:
trigger:
if arg-1 is online:
set {_bounty} to arg-2 parsed as a integer
if {_bounty} is more than or equal to 150:
make player execute command "/kitbattle bounty %arg-1% %{_bounty}%"
else:
send "Invalid amount."
send "Note: The minimum amount of bounty is 150."
else:
send "This player isn't online."
Code:command /bounty [<offline player>] [<text>]: trigger: if arg-1 is online: set {_bounty} to arg-2 parsed as a integer if {_bounty} is more than or equal to 150: make player execute command "/kitbattle bounty %arg-1% %{_bounty}%" else: send "Invalid amount." send "Note: The minimum amount of bounty is 150." else: send "This player isn't online."
# here you can use <player> which is just online players and <integer>
command /bounty <player> <integer>:
# here usage means that if for example the second argument is a text, this message will display
usage: Correct usage:&6 KitPvP&8 > &7Usage: /bounty <Player> <Amount>
trigger:
# and here he executes the command
make player execute command "/kitbattle bounty %arg-1% %arg-2%"
Works, thanks!This should work, I also put in the comments what that is for, so maybe you can also learn somethingCode:# here you can use <player> which is just online players and <integer> command /bounty <player> <integer>: # here usage means that if for example the second argument is a text, this message will display usage: Correct usage:&6 KitPvP&8 > &7Usage: /bounty <Player> <Amount> trigger: # and here he executes the command make player execute command "/kitbattle bounty %arg-1% %arg-2%"