Author Topic: Specifying a client's team  (Read 471 times)

How do I get somebody's team name? What I'm trying to do is allow people to use a command
ONLY if they're on a specific team.

%client.getTeam().getName() was it?

%client.getTeam().getName() was it?
I tried that out, it doesn't seem to work. That line is definitely reasonable though

.getName() gets the object name. I highly doubt the object would be named after the team.

%client.getTeam().name is what you're looking for.