<?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%3AGetLevel</id>
	<title>LUA:GetLevel - 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%3AGetLevel"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetLevel&amp;action=history"/>
	<updated>2026-07-13T11:57:49Z</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:GetLevel&amp;diff=518&amp;oldid=prev</id>
		<title>John Adams: New page: Returns the current '''adventure level''' of ''param''. The parameter can be either a player or the NPC currently being interacted with.   Back to LUA   == Syn...</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetLevel&amp;diff=518&amp;oldid=prev"/>
		<updated>2009-04-01T23:06:27Z</updated>

		<summary type="html">&lt;p&gt;New page: Returns the current &amp;#039;&amp;#039;&amp;#039;adventure level&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.  &lt;a href=&quot;/index.php?title=Developer:LUA_Functions&quot; class=&quot;mw-redirect&quot; title=&quot;Developer:LUA Functions&quot; data-bs-title=&quot;Developer:LUA_Functions&quot;&gt; Back to LUA&lt;/a&gt;   == Syn...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Returns the current '''adventure level''' of ''param''. The parameter can be either a player or the NPC currently being interacted with.&lt;br /&gt;
&lt;br /&gt;
[[Developer:LUA_Functions | Back to LUA]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
var = GetLevel(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: &lt;br /&gt;
''param'' (int) usually &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 current level is &amp;quot; .. GetLevel(Spawn) .. &amp;quot;! Ooh, uber!&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 current adventure.&lt;/div&gt;</summary>
		<author><name>John Adams</name></author>
		
	</entry>
</feed>