I'm working on a dbi script involving starcraft II data. I want the loop that follows to execute if one player is zerg and the other player is terran. The error I'm working with is that I have a player_one_race=terran and player_two_race=protoss that is causing this loop to execute. Here is the if statement I am trying to use.
update: will use eq in the future.if(($player_one_race=~m/terran/ && $player_two_race=~/zerg/) || ($play +er_one_race=m/zerg/&&$player_two_race=\ ~m/terran/))
In reply to Help with a logical structure for an if statement by kereekerra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |