<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/17278" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2009-10-30T15:35:22-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/17278</id>

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-10-30T15:35:22-04:00</updated>

		<published>2009-10-30T15:35:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90701#p90701</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90701#p90701"/>
		<title type="html"><![CDATA[triggering on +mode exclusively, help! :(]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90701#p90701"><![CDATA[
Well, you've set your mode-mask to *, basically matching any mode change.<br>Try something like this instead:<div class="codebox"><p>Code: </p><pre><code>bind mode - '% +h' userhopproc userhop {nick host handle channel mode target} {  puthelp "PRIVMSG $channel :CHARGIN UR LAZERS"}</code></pre></div>This should trigger on any channel, but only for +h modes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Oct 30, 2009 3:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[magoni]]></name></author>
		<updated>2009-10-30T15:30:13-04:00</updated>

		<published>2009-10-30T15:30:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90699#p90699</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90699#p90699"/>
		<title type="html"><![CDATA[triggering on +mode exclusively, help! :(]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90699#p90699"><![CDATA[
Greetings!<br><br>I am writing a script that should, whenever a user halfops (changes mode to +h), the bot will output "CHARGIN UR LAZERS" to the channel.<div class="codebox"><p>Code: </p><pre><code>set m "+h"bind mode - * userhopproc userhop {nick uhost hand chan m victim} {puthelp "PRIVMSG $chan :CHARGIN UR LAZERS"}</code></pre></div>The issue: if someone -h (de-halfops), the bot runs proc userhop again (says CHARGIN UR LAZERS). I want it to only 'charge lazers' on +h, not -h. I have tried set m +h with and without quotes, with and without the + sign.<br><br>Does anyone have any possible fixes or insights as to why this may be happening? Thanks in advance!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9505">magoni</a> — Fri Oct 30, 2009 3:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
