and to check all players with this statement you need to use the cNumberPlayers function to draw the amount of total players. Then, make a counter and increment it 1 for each player starting with the first player in default player order. At least that’s how I do it.
The code you posted form Nomad already does the player counting I mentioned, Couldn’t you just add the if statement to check for Egyptian culture into that chunk?
These rmTriggerAddScriptLine(string) functions are clearly passing hard code strings to some other script to run, so any variables need to be recreated. Unfortunately, calling rmGetPlayerCulture(int) from inside the script’s scope doesn’t seem to work, and I don’t know if it’s a good idea to include any additional libs in the script.