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

	<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>2006-11-13T19:33:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-11-13T19:33:29-04:00</updated>

		<published>2006-11-13T19:33:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68025#p68025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68025#p68025"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68025#p68025"><![CDATA[
Try:<div class="codebox"><p>Code: </p><pre><code>bind raw - MODE foo2proc foo2 {f k t} { if {[lindex [split $t] 1] == "+z"} {  set targ [lindex [split $t] 2]; set chan [lindex [split $t] 0]  if {[unixtime] - [getchanjoin $targ $chan] &lt;= 3} {   puthelp "privmsg $targ :Hello $targ"  }  return 1 } return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Nov 13, 2006 7:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-12T21:39:00-04:00</updated>

		<published>2006-11-12T21:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68003#p68003</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68003#p68003"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68003#p68003"><![CDATA[
my bot used to kick everyone who joined room with +z saying (abusing dsynx) till I added:<br><div class="codebox"><p>Code: </p><pre><code>bind raw - MODE foo2 proc foo2 {f k t} {    if {[lindex [split $t] 1] == "+z"} {return 1} }</code></pre></div>And that actually worked, but I removed it and started using +nodesynch<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 12, 2006 9:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-12T21:35:11-04:00</updated>

		<published>2006-11-12T21:35:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68001#p68001</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68001#p68001"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68001#p68001"><![CDATA[
growl i hate hardcoded stuff, thanks for the help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 12, 2006 9:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-12T21:21:54-04:00</updated>

		<published>2006-11-12T21:21:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68000#p68000</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68000#p68000"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68000#p68000"><![CDATA[
As Sir_Fz said, it likely does not even recognize that channel mode. Search the forum for "hardcoded modes" and you'll find some threads about this problem.. Doesn't seem to be much of a solution for it except to hack on the eggdrop src or possibly grab the RAW msg from the server.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 12, 2006 9:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-12T20:57:37-04:00</updated>

		<published>2006-11-12T20:57:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67999#p67999</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67999#p67999"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67999#p67999"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>These users aren't set as +z inside the bot... +z is a server mode our server provides... so I guess you gave yerself a z flag inside bot?</div></blockquote>hmm and all this time I thought you meant the bot's flags.. In which case, no, that script won't help..Sorry</div></blockquote>I don't have o flag via bot and yet it knows when I join room and +o myself as in server mode and sends me a msg but won't do anything when it sees me +z mode myself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 12, 2006 8:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-12T20:50:43-04:00</updated>

		<published>2006-11-12T20:50:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67996#p67996</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67996#p67996"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67996#p67996"><![CDATA[
<blockquote class="uncited"><div>These users aren't set as +z inside the bot... +z is a server mode our server provides... so I guess you gave yerself a z flag inside bot?</div></blockquote>hmm and all this time I thought you meant the bot's flags.. In which case, no, that script won't help..Sorry<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 12, 2006 8:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-12T20:35:07-04:00</updated>

		<published>2006-11-12T20:35:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67994#p67994</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67994#p67994"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67994#p67994"><![CDATA[
No way to make it read this <strong class="text-strong">[6:24pm] * xx sets mode: +z xx</strong> then make it send a msg?... when I'm in putty the bot sees it: <strong class="text-strong">[18:55] #chan: mode change '+z xx' by xx!xx@xx<br></strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 12, 2006 8:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-11-12T20:30:07-04:00</updated>

		<published>2006-11-12T20:30:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67992#p67992</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67992#p67992"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67992#p67992"><![CDATA[
My guess is that eggdrop doesn't recognize the +z channel mode.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Nov 12, 2006 8:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-12T20:00:43-04:00</updated>

		<published>2006-11-12T20:00:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67987#p67987</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67987#p67987"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67987#p67987"><![CDATA[
script actually works when I give myself a +z flag .chattr me +z but this isn't what im trying to do since +z is a onjoin server mode.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 12, 2006 8:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-12T19:30:40-04:00</updated>

		<published>2006-11-12T19:30:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67984#p67984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67984#p67984"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67984#p67984"><![CDATA[
These users aren't set as +z inside the bot... +z is a server mode our server provides... so I guess you gave yerself a z flag inside bot?<br><br>So I see them come in like this:<br><br>[6:24pm] * Joins: xx (xx@xx)<br>[6:24pm] * xx sets mode: +z xx<br>only ops see users come in +z and bot has ops to see that.<br><br>flags.lst shows:<br>z #chan Test here.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 12, 2006 7:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-12T19:16:55-04:00</updated>

		<published>2006-11-12T19:16:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67983#p67983</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67983#p67983"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67983#p67983"><![CDATA[
I put another mod on the same url above to include the msg bind and the z flag, note the permissions for the msg bind are for +n users. The mod works for me. I tested it with the +z flag as well, using both a spefic channel name and just a * for all channels, this is what it looks like in the data file:<br><br>Either one of these worked just fine:<br>z #mychannel foobar biz<br>z * fooboobarbiz<br><br>Test user logged in/joined channel:<br>-TheEntity(~<a href="mailto:TheEntity@TheEntity.funo.oper">TheEntity@TheEntity.funo.oper</a>)- foobar biz<br>-TheEntity(~<a href="mailto:TheEntity@TheEntity.funo.oper">TheEntity@TheEntity.funo.oper</a>)- fooboobarbiz<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 12, 2006 7:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-12T18:45:03-04:00</updated>

		<published>2006-11-12T18:45:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67982#p67982</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67982#p67982"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67982#p67982"><![CDATA[
Ok I got script working but..<br><br>I did..<br>onjoin add #chan +z Test here<br><br>[5:39pm] &lt;Bot&gt; Stored the msg.<br><br>I join +z and nothing happened..<br><br>It works if I store a msg for +o, wonder why +z is so complicated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 12, 2006 6:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-12T15:24:33-04:00</updated>

		<published>2006-11-12T15:24:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67971#p67971</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67971#p67971"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67971#p67971"><![CDATA[
copy the dcc:onjoin_addmsg proc's code into the new msg:onjoin_addmsg  proc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 12, 2006 3:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-12T14:17:57-04:00</updated>

		<published>2006-11-12T14:17:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67968#p67968</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67968#p67968"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67968#p67968"><![CDATA[
You say 'copy the dcc:onjoin_addmsg proc's code ' I copy and do what with it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 12, 2006 2:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-12T13:57:50-04:00</updated>

		<published>2006-11-12T13:57:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67967#p67967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67967#p67967"/>
		<title type="html"><![CDATA[On-Join message to mode +o users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67967#p67967"><![CDATA[
ok you confused me lol, i'll have to sit down and puzzle all this together.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 12, 2006 1:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
