Lula
12-06-2003, 12:48 AM
I currently run a 32 man server for my unit. The one bg problem we have had in the past is team leveling. This has been temporarily fixed by installing MPowell1944's team limiting mod. However members of my allied basedunit are always being assigned to the axis side, this is causing alot of them to become angry. So far I have created the code that will allow those with our specific tag in their names have unrestricted team switching. However, i cannot get it to work as I cannot find the name command that cals the players name, I have found self.name but cannot remeber the wildcard character that allows just that segment be recognized as correct.
Here is a sample of my code for the name call. I still require the wildcard in order for the tag to be recognized.
if (self.name == "[3rd ID]")
{
response = "allies";
player iprintln("[3rd ID] Member moved to allies.");
}
Any help would be greatly appreciated. Thanks in advanced.
Here is a sample of my code for the name call. I still require the wildcard in order for the tag to be recognized.
if (self.name == "[3rd ID]")
{
response = "allies";
player iprintln("[3rd ID] Member moved to allies.");
}
Any help would be greatly appreciated. Thanks in advanced.