====== GetPortName ======
{{tag>info}}
''str GetPortName()''
===== Description =====
Returns the name of the port the mod is being played in.
Possible return values are:
* ''%%"ZDoom"%%''
* ''%%"GZDoom"%%''
* ''%%"Zandronum"%%''
For a description of how ports are identified, see [[IdentifySourcePort]].
If you want to check for source port and not just print its name, use [[IdentifySourcePort]].
===== Examples =====
print(s:"You are playing this mod in ", s:GetPortName());