<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3AGetRaceName</id>
	<title>LUA:GetRaceName - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3AGetRaceName"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetRaceName&amp;action=history"/>
	<updated>2026-07-14T06:35:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:GetRaceName&amp;diff=4653&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: GetRaceName() = Returns the '''race name''' of ''param''. The parameter can be either a player or the NPC currently being interacted with.  [[LUA:GetFunctions|Ba...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetRaceName&amp;diff=4653&amp;oldid=prev"/>
		<updated>2012-07-11T04:32:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: GetRaceName() = Returns the &amp;#039;&amp;#039;&amp;#039;race name&amp;#039;&amp;#039;&amp;#039; of &amp;#039;&amp;#039;param&amp;#039;&amp;#039;. The parameter can be either a player or the NPC currently being interacted with.  [[LUA:GetFunctions|Ba...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: GetRaceName() =&lt;br /&gt;
Returns the '''race name''' of ''param''. The parameter can be either a player or the NPC currently being interacted with.&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFunctions|Back to LUA GetFunctions Index]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
var = GetRaceName(param)&lt;br /&gt;
&lt;br /&gt;
Must be a reference to a player or NPC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
Required: ''param'' (Spawn)&lt;br /&gt;
&lt;br /&gt;
''param'' must be one of the vars in the function params. In the example above, it would be either &amp;quot;NPC&amp;quot; or &amp;quot;Spawn&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
 function hailed(NPC, Spawn)&lt;br /&gt;
   Say(NPC, &amp;quot;Your a &amp;quot; .. GetRaceName(Spawn) .. &amp;quot;!&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
This makes the NPC respond to the player who hails it with the players race.&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>