<?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%3AGetStr</id>
	<title>LUA:GetStr - 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%3AGetStr"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetStr&amp;action=history"/>
	<updated>2026-07-12T09:23:11Z</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:GetStr&amp;diff=515&amp;oldid=prev</id>
		<title>John Adams: New page: Returns the current '''strength''' of ''param''. The parameter can be either a player or the NPC currently being interacted with.   Back to LUA   == Syntax == ...</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetStr&amp;diff=515&amp;oldid=prev"/>
		<updated>2009-04-01T23:03:15Z</updated>

		<summary type="html">&lt;p&gt;New page: Returns the current &amp;#039;&amp;#039;&amp;#039;strength&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;   == Syntax == ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Returns the current '''strength''' 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 = GetStr(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 strength is &amp;quot; .. GetStr(Spawn) .. &amp;quot;! Very impressive!&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 strength.&lt;/div&gt;</summary>
		<author><name>John Adams</name></author>
		
	</entry>
</feed>