Hello there! So, I am having trouble here with my skript. I want to make a team skript where there are multiple commands that have the same route command "/team", but the arguments are different. For example, "/team create" & "/team join". So, there error is that it says that a command /team is already defined in . . . So, I can't have this, and I have no clue on how to fix it xD Some help would be great! Thanks
Code (Text): command /team [<text>]: trigger: if arg-1 is "create": broadcast "/team create" if arg-1 is "join": broadcast "/team join" Just continue what you want. And also if you want to be responded quickly for your next question, make a thread here https://forums.skunity.com
^^ You have to check if arg-1 is "x", and if u want to have more arguments for other functions just check if that argument is not set
Ok. The thing is, if I do /team, it shows up messages like it should, but when I do /team test, it says: Usage: /team
You have to have someting like: command /team [<text>] [<text>] and then check if one ore more arguments are/are not set