<?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%3AIsNight</id>
	<title>LUA:IsNight - 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%3AIsNight"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:IsNight&amp;action=history"/>
	<updated>2026-07-13T08:37:27Z</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:IsNight&amp;diff=6202&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;{{PageHeaderChild|LUA|IsNight}}  = LUA Functions: IsNight() = Checks the zone to see if it is currently night   ==== Syntax ==== IsNight(param1)   ==== Parameters ==== ; Required...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:IsNight&amp;diff=6202&amp;oldid=prev"/>
		<updated>2016-01-29T01:27:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PageHeaderChild|LUA|IsNight}}  = LUA Functions: IsNight() = Checks the zone to see if it is currently night   ==== Syntax ==== IsNight(param1)   ==== Parameters ==== ; Required...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PageHeaderChild|LUA|IsNight}}&lt;br /&gt;
&lt;br /&gt;
= LUA Functions: IsNight() =&lt;br /&gt;
Checks the zone to see if it is currently night&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
IsNight(param1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Zone)&lt;br /&gt;
: ''param1'' is the zone to check&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Returns ====&lt;br /&gt;
True if it is currently night time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function hailed(NPC, Spawn)&lt;br /&gt;
     if IsNight(GetZone(NPC)) then&lt;br /&gt;
          Say(NPC, &amp;quot;It is currently night&amp;quot;)&lt;br /&gt;
     end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This npc will only respond if it is night&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
Can only be used on a zone&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>