<?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%3ASendMessage</id>
	<title>LUA:SendMessage - 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%3ASendMessage"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SendMessage&amp;action=history"/>
	<updated>2026-07-11T16:15:06Z</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:SendMessage&amp;diff=4795&amp;oldid=prev</id>
		<title>Thefoof: Created page with &quot;This function will send a message to a player in their chatbox. The last parameter is optional, leaving it blank defaults to white, you may also use &quot;yellow&quot; or &quot;red&quot;.  ==== Synt...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SendMessage&amp;diff=4795&amp;oldid=prev"/>
		<updated>2013-05-10T01:54:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This function will send a message to a player in their chatbox. The last parameter is optional, leaving it blank defaults to white, you may also use &amp;quot;yellow&amp;quot; or &amp;quot;red&amp;quot;.  ==== Synt...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This function will send a message to a player in their chatbox. The last parameter is optional, leaving it blank defaults to white, you may also use &amp;quot;yellow&amp;quot; or &amp;quot;red&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SendMessage(target, &amp;quot;message string&amp;quot;, [&amp;quot;color name string&amp;quot;])&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function Example(Player)&lt;br /&gt;
	SendMessage(Player, &amp;quot;You must be between the two torches along the barricade line on Pilgrims' Landing to use this.&amp;quot;, &amp;quot;yellow&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When Example() is called the player involved will be sent a message &amp;quot;You must be between the two torches along the barricade line on Pilgrims' Landing to use this.&amp;quot; in their chatbox with a color of yellow.&lt;br /&gt;
&lt;br /&gt;
[[LUA:MiscFunctions|Back to LUA General Functions Index]]&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
</feed>