<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ohelp.addictmud.org/index.php?action=history&amp;feed=atom&amp;title=OBJFLAGS</id>
	<title>OBJFLAGS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ohelp.addictmud.org/index.php?action=history&amp;feed=atom&amp;title=OBJFLAGS"/>
	<link rel="alternate" type="text/html" href="https://ohelp.addictmud.org/index.php?title=OBJFLAGS&amp;action=history"/>
	<updated>2026-04-29T05:56:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://ohelp.addictmud.org/index.php?title=OBJFLAGS&amp;diff=231&amp;oldid=prev</id>
		<title>Kahlan at 10:33, 20 November 2008</title>
		<link rel="alternate" type="text/html" href="https://ohelp.addictmud.org/index.php?title=OBJFLAGS&amp;diff=231&amp;oldid=prev"/>
		<updated>2008-11-20T10:33:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:33, 20 November 2008&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-l72&quot;&gt;Line 72:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       %actor% is set to the mob that is attempting to wear the object.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       %actor% is set to the mob that is attempting to wear the object.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;SEE ALSO: VARIABLES&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;SEE ALSO: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;VARIABLES&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[CATEGORY:Scripts]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kahlan</name></author>
	</entry>
	<entry>
		<id>https://ohelp.addictmud.org/index.php?title=OBJFLAGS&amp;diff=230&amp;oldid=prev</id>
		<title>Kahlan: New page: Flags determine how/when the script is called/triggered. NOTE: All scripts have a %self% variable, that represent that OBJECT that the script is assigned to.    Global     Description:  Th...</title>
		<link rel="alternate" type="text/html" href="https://ohelp.addictmud.org/index.php?title=OBJFLAGS&amp;diff=230&amp;oldid=prev"/>
		<updated>2008-11-20T10:32:43Z</updated>

		<summary type="html">&lt;p&gt;New page: Flags determine how/when the script is called/triggered. NOTE: All scripts have a %self% variable, that represent that OBJECT that the script is assigned to.    Global     Description:  Th...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Flags determine how/when the script is called/triggered.&lt;br /&gt;
NOTE: All scripts have a %self% variable, that represent that OBJECT that the&lt;br /&gt;
script is assigned to.&lt;br /&gt;
&lt;br /&gt;
  Global&lt;br /&gt;
    Description:  This is not a script by itself, but is to be used with &lt;br /&gt;
      the random script.  A script which is global is checked even if there&lt;br /&gt;
      are no PCs in the same zone as the object.&lt;br /&gt;
&lt;br /&gt;
  Random&lt;br /&gt;
    Description:  This script is checked periodically (currently every 13&lt;br /&gt;
      seconds)&lt;br /&gt;
    NArg:  The chance this script will be run when it is checked.&lt;br /&gt;
&lt;br /&gt;
  Command&lt;br /&gt;
    Description:  This script is checked whenever a character types an&lt;br /&gt;
      invalid command, or a command which usually results in a &amp;#039;Sorry, but &lt;br /&gt;
      you cannot do that here!&amp;#039; message, around the object with this &lt;br /&gt;
      script.  If the command typed is a substring of the argument, the &lt;br /&gt;
      script is called.&lt;br /&gt;
    Argument:  The command name.&lt;br /&gt;
    NArg:  This determines where the item must be for the script to be run.&lt;br /&gt;
      A 1 means the item must be in the character&amp;#039;s equipment for it to be&lt;br /&gt;
      used.  A 2 means the item must be in the character&amp;#039;s inventory.  A 4&lt;br /&gt;
      means the item must be in the same room as the character.  These can &lt;br /&gt;
      be added together so the item can be in more than one place.  For &lt;br /&gt;
      example, if NArg was 3, the script would work if the item was in the &lt;br /&gt;
      character&amp;#039;s inventory or equipment.  A 7 would mean the script would &lt;br /&gt;
      work in the character&amp;#039;s inventory, equipment, or in the room.&lt;br /&gt;
    Return value:  If 0 is returned by the script, the character will&lt;br /&gt;
      receive the same message as if the script did not exist.&lt;br /&gt;
    Variables:&lt;br /&gt;
      %actor% is set to the character typing the command.&lt;br /&gt;
      %arg% is set to the argument of the command.&lt;br /&gt;
&lt;br /&gt;
  Get&lt;br /&gt;
    Description:  This script is checked whenever the item is picked up.&lt;br /&gt;
    NArg:  This is the percent chance that the script will be run when&lt;br /&gt;
      checked.&lt;br /&gt;
    Return value:  If 0 is returned, the object is not picked up.  For any&lt;br /&gt;
      other value, the object will go to the character&amp;#039;s inventory as normal.&lt;br /&gt;
    Variables:&lt;br /&gt;
      %actor% is set to the mob that picks up the object.&lt;br /&gt;
&lt;br /&gt;
  Drop&lt;br /&gt;
    Description:  This script is checked when a character attemps to drop &lt;br /&gt;
      an object with a Drop script.&lt;br /&gt;
    NArg:  This is the percent chance that the script will be run when&lt;br /&gt;
      checked.&lt;br /&gt;
    Return value:  If 0 is returned, the object is not dropped.  For any&lt;br /&gt;
      other value, the object will go to the room as normal.&lt;br /&gt;
    Variables:&lt;br /&gt;
      %actor% is set to the character attempting to drop the item.&lt;br /&gt;
&lt;br /&gt;
  Give&lt;br /&gt;
    Description:  This script is checked whenever someone attemps to give&lt;br /&gt;
      away the object.&lt;br /&gt;
    NArg:  This is the percent chance that the script will be run when&lt;br /&gt;
      checked.&lt;br /&gt;
    Return value:  If the return value is 0, the object will not be given &lt;br /&gt;
      to the victim.  For any other return value, the give will occur &lt;br /&gt;
      normally.&lt;br /&gt;
    Variables:&lt;br /&gt;
      %actor% is the character giving the object.&lt;br /&gt;
      %victim% is the character receiving the object.&lt;br /&gt;
&lt;br /&gt;
  Wear&lt;br /&gt;
    Description:  This script is checked whenever a mob attemps to wear the&lt;br /&gt;
      item.&lt;br /&gt;
    Return value:  If 0 is returned, the item is not worn.&lt;br /&gt;
    Variables:&lt;br /&gt;
      %actor% is set to the mob that is attempting to wear the object.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: VARIABLES&lt;/div&gt;</summary>
		<author><name>Kahlan</name></author>
	</entry>
</feed>