<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.cyberlint.org/wiki/index.php?action=history&amp;feed=atom&amp;title=MUDL%3Ahas_spell_active</id>
		<title>MUDL:has spell active - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.cyberlint.org/wiki/index.php?action=history&amp;feed=atom&amp;title=MUDL%3Ahas_spell_active"/>
		<link rel="alternate" type="text/html" href="http://www.cyberlint.org/wiki/index.php?title=MUDL:has_spell_active&amp;action=history"/>
		<updated>2026-05-02T22:48:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.1</generator>

	<entry>
		<id>http://www.cyberlint.org/wiki/index.php?title=MUDL:has_spell_active&amp;diff=65276&amp;oldid=prev</id>
		<title>Teker at 19:45, 8 November 2018</title>
		<link rel="alternate" type="text/html" href="http://www.cyberlint.org/wiki/index.php?title=MUDL:has_spell_active&amp;diff=65276&amp;oldid=prev"/>
				<updated>2018-11-08T19:45:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&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;'&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 19:45, 8 November 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L34&quot; &gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&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;&amp;#160;&amp;#160; &amp;#160; if (!has_spell_active(target(%c), spell_id('blindness')),&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;&amp;#160;&amp;#160; &amp;#160; if (!has_spell_active(target(%c), spell_id('blindness')),&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;&amp;#160;&amp;#160; &amp;#160; (&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;&amp;#160;&amp;#160; &amp;#160; (&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;&amp;#160; &amp;#160; &amp;#160; &amp;#160; msg_character(target(%c), '$N does something hideous!', %c)&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;,&lt;/del&gt;&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;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; msg_character(target(%c), '$N does something hideous!', %c)&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;&amp;#160;&amp;#160; &amp;#160; )),&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;&amp;#160;&amp;#160; &amp;#160; )),&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;&amp;#160;&amp;#160; &amp;#160; return(true)&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;&amp;#160;&amp;#160; &amp;#160; return(true)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Teker</name></author>	</entry>

	<entry>
		<id>http://www.cyberlint.org/wiki/index.php?title=MUDL:has_spell_active&amp;diff=65274&amp;oldid=prev</id>
		<title>Teker: Teker moved page MUDL:has spell to MUDL:has spell active</title>
		<link rel="alternate" type="text/html" href="http://www.cyberlint.org/wiki/index.php?title=MUDL:has_spell_active&amp;diff=65274&amp;oldid=prev"/>
				<updated>2018-11-08T19:44:19Z</updated>
		
		<summary type="html">&lt;p&gt;Teker moved page &lt;a href=&quot;/wiki/MUDL:has_spell&quot; class=&quot;mw-redirect&quot; title=&quot;MUDL:has spell&quot;&gt;MUDL:has spell&lt;/a&gt; to &lt;a href=&quot;/wiki/MUDL:has_spell_active&quot; title=&quot;MUDL:has spell active&quot;&gt;MUDL:has spell active&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:44, 8 November 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&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>Teker</name></author>	</entry>

	<entry>
		<id>http://www.cyberlint.org/wiki/index.php?title=MUDL:has_spell_active&amp;diff=65273&amp;oldid=prev</id>
		<title>Teker: Created page with &quot; __TOC__   = Summary =  {|class=&quot;abilitiestable&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; ! Function Name | has_spell_active |- ! Settable | No |- ! Returns | Boolean |}   {...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.cyberlint.org/wiki/index.php?title=MUDL:has_spell_active&amp;diff=65273&amp;oldid=prev"/>
				<updated>2018-11-08T19:41:51Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; __TOC__   = Summary =  {|class=&amp;quot;abilitiestable&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; ! Function Name | has_spell_active |- ! Settable | No |- ! Returns | Boolean |}   {...&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;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Summary =&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;abilitiestable&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
! Function Name&lt;br /&gt;
| has_spell_active&lt;br /&gt;
|-&lt;br /&gt;
! Settable&lt;br /&gt;
| No&lt;br /&gt;
|-&lt;br /&gt;
! Returns&lt;br /&gt;
| Boolean&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;abilitiestable&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
! Parameter Options&lt;br /&gt;
|-&lt;br /&gt;
| Target (character), Spell (integer)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This function returns True if the Target is currently affected by the specified spell.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Example =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setproc &amp;lt;mobile&amp;gt; # every_round&lt;br /&gt;
if (target(%c),&lt;br /&gt;
(&lt;br /&gt;
    if (!has_spell_active(target(%c), spell_id('blindness')),&lt;br /&gt;
    (&lt;br /&gt;
        msg_character(target(%c), '$N does something hideous!', %c),&lt;br /&gt;
    )),&lt;br /&gt;
    return(true)&lt;br /&gt;
}},&lt;br /&gt;
&lt;br /&gt;
return(false)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:MUDL|has_spell_active]]&lt;/div&gt;</summary>
		<author><name>Teker</name></author>	</entry>

	</feed>