<?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/13845" />

	<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>2007-08-21T06:20:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-08-21T06:20:00-04:00</updated>

		<published>2007-08-21T06:20:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75427#p75427</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75427#p75427"/>
		<title type="html"><![CDATA[bind mode (servermode on split rejoin)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75427#p75427"><![CDATA[
Thanks heh, got that already. Just wasn't clearly explained in the bind mode help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Aug 21, 2007 6:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-08-20T09:32:14-04:00</updated>

		<published>2007-08-20T09:32:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75418#p75418</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75418#p75418"/>
		<title type="html"><![CDATA[bind mode (servermode on split rejoin)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75418#p75418"><![CDATA[
<blockquote class="uncited"><div>MODE (stackable)<br>bind mode &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>proc-name &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;mode-change&gt; &lt;target&gt;<br><br>Description: mode changes are broken down into their component<br>parts before being sent here, so the &lt;mode-change&gt; will always<br>be a single mode, such as "+m" or "-o". target will show the<br>argument of the mode change (for o/v/b/e/I) or "" if the set<br>mode does not take an argument. The bot's automatic response<br>to a mode change will happen AFTER all matching Tcl procs are<br>called. The mask will be matched against '#channel +/-modes'<br>and can contain wildcards.<br><br><strong class="text-strong">If it is a server mode, nick will be "", user@host is the server<br>name, and handle is *.</strong></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Aug 20, 2007 9:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-08-20T04:23:15-04:00</updated>

		<published>2007-08-20T04:23:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75412#p75412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75412#p75412"/>
		<title type="html"><![CDATA[bind mode (servermode on split rejoin)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75412#p75412"><![CDATA[
JFYI, on a server rejoin (rejoin from split) on DALnet, I logged this from my bot recently:<br><blockquote class="uncited"><div>For a normal <em class="text-italics">bind mode</em> proc:<br><br><em class="text-italics">Mass op: ($nick) ($uhost) ($hand) ($chan) ($mode) ($target)</em><br>=&gt; <strong class="text-strong">Mass op: () (tranquility.hub.dal.net) (*) (#awyeah) (+o) (Lucifer)</strong></div></blockquote>Meaning the "nick" is considered <em class="text-italics">null (empty)</em>, while the "uhost" is the <em class="text-italics">name of the server</em>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Aug 20, 2007 4:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BoaR]]></name></author>
		<updated>2007-08-02T14:10:54-04:00</updated>

		<published>2007-08-02T14:10:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74927#p74927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74927#p74927"/>
		<title type="html"><![CDATA[bind mode (servermode on split rejoin)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74927#p74927"><![CDATA[
ah ok.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9166">BoaR</a> — Thu Aug 02, 2007 2:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-08-02T13:59:07-04:00</updated>

		<published>2007-08-02T13:59:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74925#p74925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74925#p74925"/>
		<title type="html"><![CDATA[bind mode (servermode on split rejoin)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74925#p74925"><![CDATA[
Thanks, but my idea was a bit different. My bind mode fires on, servermode sometimes. The script basically checks for people mass opping/voicing users and so it kicks the person who set the mass chan modes and bans that persons *!*@host.domain.com<br><br>So when a server does the same thing on split rejoin, the script cannot kick, because there is no such nick, as it is a server, but it places the ban *!*@*. So I was wondering, maybe the nick and uhost args are null.<br><br>Anyway, will just have to wait for another one on DALnet. You can find them often on DALnet hehe.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>IMHO bind rejoin is only useful when we are dealing with users joining from a split, and not concerned about the server modes which the server sets after the rejoin is successful.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Aug 02, 2007 1:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BoaR]]></name></author>
		<updated>2007-08-02T08:08:56-04:00</updated>

		<published>2007-08-02T08:08:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74911#p74911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74911#p74911"/>
		<title type="html"><![CDATA[bind mode (servermode on split rejoin)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74911#p74911"><![CDATA[
bind rejn - {*} [namespace current]::modes<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9166">BoaR</a> — Thu Aug 02, 2007 8:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-08-02T03:22:59-04:00</updated>

		<published>2007-08-02T03:22:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74905#p74905</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74905#p74905"/>
		<title type="html"><![CDATA[bind mode (servermode on split rejoin)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74905#p74905"><![CDATA[
Just wondering..<br><div class="codebox"><p>Code: </p><pre><code>proc mass:op:chan {nick uhost hand chan mode arg} { global botnick moptrigger opflood kickno</code></pre></div>when a split rejoins, and a bind mode proc is called and assumingly the server sets restores some channel modes as they were before the split, some +o/-o +v/-v +b/-b etc, the value on that proc $nick would be what?<br><br>Since a nick does not exist with the servers name then?? would it be null? Meaning ""? and what about the $uhost? I suppose *!*@* if not then? Just wanted to clarify on this.<br><br>The rest $chan, $mode and $arg should be fine, was just confused about $nick, $uhost and $hand if the server is taken as a nick. <br><br>Should we check for [string match *.* $nick] if we want to detect a servermode??<br><br>Thanks,<br>JD<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Aug 02, 2007 3:22 am</p><hr />
]]></content>
	</entry>
	</feed>
