Jump to content

Maximus_yt

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Maximus_yt

  1. Hey guys!

    I just made it so you can get a command label like in java.

    on command:
    	set {last-command::%player's uuid%} to command

    Then once you put that in your skript, make the usage 'Usage: %{last-command::%player's uuid%}% <args>...'

    When you do the usage, you have to do it like this:

    command /command [<args>]...:
    	trigger:
    		if arg-1 is not set:
    			send "&cUsage: /%lowercase {last-command::%player's uuid%}% <args>..."
      		else:
      			# code here

    **YOU MUST USE '[ ]' AROUND THE ARGUMENTS**

    I hope people come up with good ideas using this.

    Thanks, guys,

        Maximus_yt

×
×
  • Create New...