<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_UnitIsSameServer</id>
	<title>WoW:API UnitIsSameServer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_UnitIsSameServer"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_UnitIsSameServer&amp;action=history"/>
	<updated>2026-06-01T23:59:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_UnitIsSameServer&amp;diff=20158&amp;oldid=prev</id>
		<title>Move page script: Move page script moved page API UnitIsSameServer to WoW:API UnitIsSameServer without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_UnitIsSameServer&amp;diff=20158&amp;oldid=prev"/>
		<updated>2023-08-15T04:47:47Z</updated>

		<summary type="html">&lt;p&gt;Move page script moved page &lt;a href=&quot;/wiki/WoW:API_UnitIsSameServer&quot; title=&quot;WoW:API UnitIsSameServer&quot;&gt;API UnitIsSameServer&lt;/a&gt; to &lt;a href=&quot;/wiki/WoW:API_UnitIsSameServer&quot; title=&quot;WoW:API UnitIsSameServer&quot;&gt;API UnitIsSameServer&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:47, 15 August 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Move page script</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_UnitIsSameServer&amp;diff=20157&amp;oldid=prev</id>
		<title>WoWWiki&gt;TimothyLuke: Created page with &quot;  {{wowapi}} &lt;!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --&gt;   UnitIsSameServer(UnitId, UnitId)  Determines if the …&quot;</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_UnitIsSameServer&amp;diff=20157&amp;oldid=prev"/>
		<updated>2011-01-05T22:18:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;  {{wowapi}} &amp;lt;!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --&amp;gt;   UnitIsSameServer(UnitId, UnitId)  Determines if the …&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; &lt;br /&gt;
{{wowapi}}&lt;br /&gt;
&amp;lt;!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 UnitIsSameServer(UnitId, UnitId)&lt;br /&gt;
&lt;br /&gt;
Determines if the two units supplied are from the same server.  It is important to note that it returns nil rather than false, nil is treated like false for most operations but it is *not* a proper boolean.&lt;br /&gt;
----&lt;br /&gt;
;&amp;#039;&amp;#039;Arguments&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;[[API_TYPE_UnitId|UnitId]]&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;True/nil&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 if (UnitIsSameServer(UnitId, &amp;quot;player&amp;quot;)) then&lt;br /&gt;
    --Unit is from the same server as the player&lt;br /&gt;
 else&lt;br /&gt;
    --Unit is from a different server&lt;br /&gt;
 end&lt;/div&gt;</summary>
		<author><name>WoWWiki&gt;TimothyLuke</name></author>
	</entry>
</feed>