So I want to make a prison to where If I set a player to a certain team (Red in this case) a command block on a clock will TP them to the jail. The problem I'm having is the command block that TP's the player isn't working.
So this is the command I have on a hopper clock. Now, of course the problem is this is doing absolutely nothing (although if I remove the selectors, it works just fine.) Of course, I made sure I was on the correct team.
(This of course being me.) If anybody could tell me why this isn't working, that'd be great. I've looked on the wiki and multiple Youtube videos and don't see a reason why this wouldn't work. If it helps, I tested it on both 13w19a, and 1.5.2. Also, looking back, I should use @a instead of @p, but that still shouldn't be the issue. Lastly, if the answer is me just being an idiot, you have permission to laugh .
Thanks a lot. I had always thought arguments had to be put after the whole command. Thanks! Also, once the player(s) get TP'ed to the location, they will be automatically out on a seperate team to prevent them from being constantly teleported.
So this is the command I have on a hopper clock. Now, of course the problem is this is doing absolutely nothing (although if I remove the selectors, it works just fine.) Of course, I made sure I was on the correct team.
(This of course being me.) If anybody could tell me why this isn't working, that'd be great. I've looked on the wiki and multiple Youtube videos and don't see a reason why this wouldn't work. If it helps, I tested it on both 13w19a, and 1.5.2. Also, looking back, I should use @a instead of @p, but that still shouldn't be the issue. Lastly, if the answer is me just being an idiot, you have permission to laugh .
Thanks again!