(I dont use bots :p)
Yep, while you were i writing i modified it. But i put this
procedure OnJoinGame(ID, Team: byte);
Begin
Command('/SETTEAM5 '+inttostr(ID));
if GetPlayerStat(ID, 'Human') Then Begin PickedClass[ID]:=0;
end else if PickedClass[ID] > 0 Then Command('/SETTEAM1 '+inttostr(ID));
end;
And it works well, i will ask you, does the Human is the same thing as active ? If not, what's the difference ?