Too bad OnJoinTeam isn't called when /setteam is used
OnCommand
begin
text2:=copy(text,1,8);
If text2 = '/setteam' then
OnJoinTeam(IDtoIP(ID),IDtoName(ID),GetPlayerStat(ID,'Team'));
end;
i guess that should work ;Q
@SK: i think you should add an option in the settings.ini called MoveTo = X were X can be 0-5. 0 would mean, that the person is moved back to the previous team, and all the other numbers (1-5) would move him back to the team with number X