<?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=TRIGEDIT-ADVANCED</id>
		<title>TRIGEDIT-ADVANCED - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://4dimensions.org/wiki/index.php?action=history&amp;feed=atom&amp;title=TRIGEDIT-ADVANCED"/>
		<link rel="alternate" type="text/html" href="http://4dimensions.org/wiki/index.php?title=TRIGEDIT-ADVANCED&amp;action=history"/>
		<updated>2026-04-11T17:06:25Z</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=TRIGEDIT-ADVANCED&amp;diff=1957&amp;oldid=prev</id>
		<title>Loran at 16:27, 14 July 2017</title>
		<link rel="alternate" type="text/html" href="http://4dimensions.org/wiki/index.php?title=TRIGEDIT-ADVANCED&amp;diff=1957&amp;oldid=prev"/>
				<updated>2017-07-14T16:27:43Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:27, 14 July 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''TRIGEDIT-ADVANCED'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''TRIGEDIT-ADVANCED'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Help Files]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Help Files]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:Building]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;TRIGEDIT-ADVANCED&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;TRIGEDIT-ADVANCED&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;TRIGEDIT-ADVANCED&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{cRWARNING: long and verbose (wordy){c0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{cRWARNING: long and verbose (wordy){c0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Loran</name></author>	</entry>

	<entry>
		<id>http://4dimensions.org/wiki/index.php?title=TRIGEDIT-ADVANCED&amp;diff=739&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=TRIGEDIT-ADVANCED&amp;diff=739&amp;oldid=prev"/>
				<updated>2016-01-26T09:00:34Z</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;'''TRIGEDIT-ADVANCED'''&lt;br /&gt;
[[Category:Help Files]]&lt;br /&gt;
&lt;br /&gt;
TRIGEDIT-ADVANCED&lt;br /&gt;
&lt;br /&gt;
TRIGEDIT-ADVANCED&lt;br /&gt;
&lt;br /&gt;
TRIGEDIT-ADVANCED&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{cRWARNING: long and verbose (wordy){c0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To add life to the worlds circlemud uses something called scripts (or triggers). &lt;br /&gt;
&lt;br /&gt;
There are three major types of game objects which can use scripts. These are &lt;br /&gt;
&lt;br /&gt;
mobiles (mobs), objects, and rooms (world objects). Examples of scripts in the &lt;br /&gt;
&lt;br /&gt;
game are: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cityguards screaming 'PROTECT THE INNOCENT! BANZAI! CHARGE!', (a mob script).&lt;br /&gt;
&lt;br /&gt;
A portal that teleports players when they enter it (an object script).&lt;br /&gt;
&lt;br /&gt;
A room that creates a new exit when a player pulls a lever (a room script).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each game item (room, mobile, or object) can have a script. A script is composed&lt;br /&gt;
&lt;br /&gt;
of one or more triggers, which work in collaboration to define complex actions &lt;br /&gt;
&lt;br /&gt;
of the game object. A trigger is a definition of an event that the script watches &lt;br /&gt;
&lt;br /&gt;
for, and list of commands to execute when that event occurs. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are several different types of triggers. Each trigger type determines&lt;br /&gt;
&lt;br /&gt;
when the trigger will be checked. For example, a mob speech trigger is checked&lt;br /&gt;
&lt;br /&gt;
every time a character who is in the same room as the mob with the trigger uses&lt;br /&gt;
&lt;br /&gt;
the 'say' command. A room enter trigger is checked every time a character&lt;br /&gt;
&lt;br /&gt;
enters the room. There are two parts of the trigger used to determine if the&lt;br /&gt;
&lt;br /&gt;
trigger's commands are executed when it is checked, the argument and numerical&lt;br /&gt;
&lt;br /&gt;
argument (NArg). Some triggers use both; some may use only one of the two; and&lt;br /&gt;
&lt;br /&gt;
some may use neither. The interpretation of these two fields is dependant on&lt;br /&gt;
&lt;br /&gt;
the type, and is described in more detail on the webpage and in the help files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When an event in the game occurs, each script in the room where the event &lt;br /&gt;
&lt;br /&gt;
occurred is checked to see if there are any triggers which are supposed to&lt;br /&gt;
&lt;br /&gt;
react to that event. A trigger currently running (such as from a 'wait'&lt;br /&gt;
&lt;br /&gt;
command) is skipped. Only one trigger of each script will be run by a single&lt;br /&gt;
&lt;br /&gt;
event. For example, if there are two triggers on a script, and both are the&lt;br /&gt;
&lt;br /&gt;
same type with the same arguments, the second trigger will only be run if the&lt;br /&gt;
&lt;br /&gt;
first one is already running. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Triggers can be of more than one type. For example, to simulate a cursed item,&lt;br /&gt;
&lt;br /&gt;
a trigger on the object could be of types drop, give, and remove. A more common&lt;br /&gt;
&lt;br /&gt;
combined trigger would have both random and global types, so the random trigger&lt;br /&gt;
&lt;br /&gt;
would be checked even when the zone was empty. Combined triggers must have the&lt;br /&gt;
&lt;br /&gt;
same argument and numerical argument. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The other component of a trigger is the command list. This is a series of&lt;br /&gt;
&lt;br /&gt;
commands that are executed when the trigger is run. Commands are chosen from&lt;br /&gt;
&lt;br /&gt;
two groups of commands, script specific commands and game commands. Script&lt;br /&gt;
&lt;br /&gt;
specific commands are those commands that only the script interpreter can&lt;br /&gt;
&lt;br /&gt;
recognize. These include flow control commands (such as if, elseif, else, end,&lt;br /&gt;
&lt;br /&gt;
halt, wait, and return), and commands to manipulate variables (such as set,&lt;br /&gt;
&lt;br /&gt;
eval, unset, and global). Game commands are those commands that a player could&lt;br /&gt;
&lt;br /&gt;
issue from their command line as well as special commands added for mobiles,&lt;br /&gt;
&lt;br /&gt;
objects, and rooms.&lt;/div&gt;</summary>
		<author><name>Isibot</name></author>	</entry>

	</feed>