Author Topic: teamchange script  (Read 718 times)

0 Members and 1 Guest are viewing this topic.

Offline Nubism

  • Major
  • *
  • Posts: 58
teamchange script
« on: July 28, 2008, 02:24:40 am »
can anyone make/give me a script that changes everyone to red who trys to join beta or delta?

can be arsse or a serverscript
but arsse would be better  ;D

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: teamchange script
« Reply #1 on: July 28, 2008, 02:43:20 am »
This little script might do the trick.

Code: [Select]
procedure OnJoinTeam(ID, Team: byte);
begin

if Team > 2 then
begin
Command('/setteam1 '+inttostr(ID));
end;

end;
« Last Edit: July 28, 2008, 02:50:29 am by jrgp »
There are other worlds than these

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: teamchange script
« Reply #2 on: July 28, 2008, 02:10:31 pm »
Beta team?

Code: [Select]
procedure OnJoinTeam(Id, Team: byte);
begin
  if ((Team <> 1) and (Team <> 5)) then Command('/setteam1 ' + InttoStr(Id));
end;
forces players to be on alpha if joining a non alpha, non spectator team

Offline Nubism

  • Major
  • *
  • Posts: 58
Re: teamchange script
« Reply #3 on: July 29, 2008, 11:35:00 am »
thank u very much guys, i didn't tested it yet
but a old 1.3.1 said me that he would like to get the script too
and i said that i'll request it here to dont let him make another topic.

~>can anyone give a script for arsse or 1.3.1 so please? ::)