This is my Class selection script:-
// =======================================
// ETMain Class Selection
// =======================================
// Kendle (rtcw_kendle@hotmail.com)
// ---------------------------------------
// Binds
// --------------------------------------
bind F5 "vstr ts" // Join Spectators
bind F6 "vstr tb" // Join Allies
bind F7 "vstr tr" // Join Axis
bind F8 "vstr co" // Cycle Thru Covert-Ops
bind F9 "vstr so" // Cycle Thru Soldier
bind F10 "vstr fo" // Field Ops
bind F11 "vstr en" // Cycle Thru Engineer
bind F12 "vstr me" // Medic
// Teams
// --------------------------------------
set ts "team spectator; set co vstr no_t; set so vstr no_t; set fo vstr no_t; set en vstr no_t; set me vstr no_t; echo ^9[^aSpectator^9]"
set tb "set co vstr b_co; set so vstr b_so; set fo vstr b_fo; set en vstr b_en; set me vstr b_me; echo ^9[^aAllies^9]"
set tr "set co vstr r_co; set so vstr r_so; set fo vstr r_fo; set en vstr r_en; set me vstr r_me; echo ^9[^aAxis^9]"
set no_t "echo ^3Join a Team first stupid"
// Allied Class Selection
// --------------------------------------
// Covert Ops
set b_c1 "team b 4 33 8; set b_co vstr b_c2; say_team ^9[^3Covert Ops ^aFG42^9]"
set b_c2 "team b 4 25 8; set b_co vstr b_c3; say_team ^9[^3Covert Ops ^aGarand^9]"
set b_c3 "team b 4 10 8; set b_co vstr b_c1; say_team ^9[^3Covert Ops ^aSten^9]"
set b_co "vstr b_c1"
// Soldier
set b_s1 "team b 0 5 8; set b_so vstr b_s2; say_team ^9[^3Soldier ^aPanzerfaust^9]"
set b_s2 "team b 0 31 8; set b_so vstr b_s3; say_team ^9[^3Soldier ^aMobile MG42^9]"
set b_s3 "team b 0 35 8; set b_so vstr b_s4; say_team ^9[^3Soldier ^aMortar^9]"
set b_s4 "team b 0 6 8; set b_so vstr b_s1; say_team ^9[^3Soldier ^aFlamethrower^9]"
set b_so "vstr b_s1"
// Field Ops
set b_fo "team b 3 8 37; say_team ^9[^3Field Ops^9]"
// Engineer
set b_e1 "team b 2 8 37; set b_en vstr b_e2; say_team ^9[^3Engineer ^aThompson^9]"
set b_e2 "team b 2 24 8; set b_en vstr b_e1; say_team ^9[^3Engineer ^aGarand^9]"
set b_en "vstr b_e1"
// Medic
set b_me "team b 1 8 37; say_team ^9[^3Medic^9]"
// Axis Class Selection
// --------------------------------------
// Covert Ops
set r_c1 "team r 4 33 3; set r_co vstr r_c2; say_team ^9[^3Covert Ops ^aFG42^9]"
set r_c2 "team r 4 32 3; set r_co vstr r_c3; say_team ^9[^3Covert Ops ^aK43^9]"
set r_c3 "team r 4 10 3; set r_co vstr r_c1; say_team ^9[^3Covert Ops ^aSten^9]"
set r_co "vstr r_c1"
// Soldier
set r_s1 "team r 0 5 3; set r_so vstr r_s2; say_team ^9[^3Soldier ^aPanzerfaust^9]"
set r_s2 "team r 0 31 3; set r_so vstr r_s3; say_team ^9[^3Soldier ^aMobile MG42^9]"
set r_s3 "team r 0 35 3; set r_so vstr r_s4; say_team ^9[^3Soldier ^aMortar^9]"
set r_s4 "team r 0 6 3; set r_so vstr r_s1; say_team ^9[^3Soldier ^aFlamethrower^9]"
set r_so "vstr r_s1"
// Field Ops
set r_fo "team r 3 3 38; say_team ^9[^3Field Ops^9]"
// Engineer
set r_e1 "team r 2 3 38; set r_en vstr r_e2; say_team ^9[^3Engineer ^aMP40^9]"
set r_e2 "team r 2 23 3; set r_en vstr r_e1; say_team ^9[^3Engineer ^aK43^9]"
set r_en "vstr r_e1"
// Medic
set r_me "team r 1 3 38; say_team ^9[^3Medic^9]"
// Initiate Script
// --------------------------------------
vstr ts
echo "^2** ETMain Class Script Loaded **"
One thing to note: For all Classes that come with SMG (Field-Ops, Med, Engy with Thompson/MP40) the secondary weapon selected at Level4 is Akimbo Pistols. For all other Class, including Engineer + Rifle 'nade, the secondary weapon at Level4 is SMG (Thompson if Allied, MP40 if Axis).
Also, in ET you have to select Team before selecting Class, because certain weapons are only available to certain teams. ET uses a single command, team, to make all the team/class/weapon selections. It uses the following syntax:-
team [team] [playertype] [primary weapon] [secondary weapon (optional)]
Where:-
[team]
r = axis
b = allies
[playertype]
0 = soldier
1 = medic
2 = engineer
3 = field ops
4 = covert ops
[primary weapon]
3 = MP40
5 = Panzer
6 = Flamethrower
8 = Thompson
10 = Sten
23 = K43 (Engineer - Rifle 'nades)
24 = Garand (Engineer - Rifle 'nades)
25 = Garand (Covert Op)
31 = MG42
32 = K43 (Covert Op)
33 = FG42
35 = Mortar
[secondary weapon]
3 = MP40 for axis soldiers
8 = Thompson for allied soldiers
37 = akimbo colts
38 = akimbo lugars
Prior to Level4 selecting secondary weapon will just give you the standard pistol.