<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://4dimensions.org/wiki/index.php?action=history&amp;feed=atom&amp;title=CONTEXT</id>
		<title>CONTEXT - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://4dimensions.org/wiki/index.php?action=history&amp;feed=atom&amp;title=CONTEXT"/>
		<link rel="alternate" type="text/html" href="http://4dimensions.org/wiki/index.php?title=CONTEXT&amp;action=history"/>
		<updated>2026-04-28T05:57:23Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>http://4dimensions.org/wiki/index.php?title=CONTEXT&amp;diff=672&amp;oldid=prev</id>
		<title>Isibot: Bot: Automated import of articles</title>
		<link rel="alternate" type="text/html" href="http://4dimensions.org/wiki/index.php?title=CONTEXT&amp;diff=672&amp;oldid=prev"/>
				<updated>2016-01-26T09:00:19Z</updated>
		
		<summary type="html">&lt;p&gt;Bot: Automated import of articles&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''CONTEXT'''&lt;br /&gt;
[[Category:Help Files]]&lt;br /&gt;
&lt;br /&gt;
CONTEXT&lt;br /&gt;
&lt;br /&gt;
CONTEXT&lt;br /&gt;
&lt;br /&gt;
CONTEXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage: context number&lt;br /&gt;
&lt;br /&gt;
* This little script will make sure one %has_said_hello% exist for each player.&lt;br /&gt;
context %actor.id%&lt;br /&gt;
set has_said_hello 1&lt;br /&gt;
&lt;br /&gt;
global has_said_hello&lt;br /&gt;
&lt;br /&gt;
* now only scripts running with context = %actor.id% can access this particular &lt;br /&gt;
* variable. however - it's a better idea to use vars set on players: help remote.&lt;br /&gt;
&lt;br /&gt;
Changes the &amp;quot;context&amp;quot; of a script to this value. When first run, a script's &lt;br /&gt;
&lt;br /&gt;
context is 0. When a variable is made global, it is given the current context. &lt;br /&gt;
&lt;br /&gt;
When a variable is accessed, if it must be searched for globally, a &amp;quot;found&amp;quot; &lt;br /&gt;
&lt;br /&gt;
variable must either have context 0 or the current context. The net result of &lt;br /&gt;
&lt;br /&gt;
this is you may have many global variables in a single script, with the same &lt;br /&gt;
&lt;br /&gt;
name, differing only by context. Players may have variables; this mostly &lt;br /&gt;
&lt;br /&gt;
removes the need for variable context. Previously, a player's ID could be used &lt;br /&gt;
&lt;br /&gt;
as variable context to allow a script to service multiple players at once.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See Also: [[REMOTE]]&lt;/div&gt;</summary>
		<author><name>Isibot</name></author>	</entry>

	</feed>