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

	<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-12-08T00:02:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2007-12-08T00:02:33-04:00</updated>

		<published>2007-12-08T00:02:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79118#p79118</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79118#p79118"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79118#p79118"><![CDATA[
wow it works now big thanks to nml375 for the big help  and to Alchera for the help also thanks a lot <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Sat Dec 08, 2007 12:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-12-07T16:46:32-04:00</updated>

		<published>2007-12-07T16:46:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79102#p79102</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79102#p79102"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79102#p79102"><![CDATA[
<blockquote class="uncited"><div>Actually, it seems there is two spaces after "#eggdrop.org.". I have no idea why that does'nt show in the output though.<br>In any case, the fix should be trivial then..<br>Updating both initial code and debug in a minute or two..</div></blockquote>There is indeed two spaces after the channel name and it appears this was truncated by the forum code.<br><br>Your fixed code works exactly as expected. Sydneybabe will be happy. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Dec 07, 2007 4:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-12-07T13:57:37-04:00</updated>

		<published>2007-12-07T13:57:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79096#p79096</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79096#p79096"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79096#p79096"><![CDATA[
Actually, it seems there is two spaces after "#eggdrop.org.". I have no idea why that does'nt show in the output though.<br>In any case, the fix should be trivial then..<br>Updating both initial code and debug in a minute or two..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Dec 07, 2007 1:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-12-06T22:05:50-04:00</updated>

		<published>2007-12-06T22:05:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79074#p79074</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79074#p79074"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79074#p79074"><![CDATA[
I ran the updated code and this is all that happened:<blockquote class="uncited"><div>&lt;Barry&gt; [13:08] Recieved chanserv-notice "[VERBOSE] Dinotopia!<a href="mailto:weirdo@jebediah.amishmafia.org">weirdo@jebediah.amishmafia.org</a> =&gt; akick #egghelp.org add Henry!*@*" from "ChanServ!<a href="mailto:service@dal.net">service@dal.net</a>" to "@#egghelp.org"<br>&lt;Barry&gt; [13:08] Data extracted: Dinotopia <a href="mailto:weirdo@jebediah.amishmafia.org">weirdo@jebediah.amishmafia.org</a> #egghelp.org Henry!*@*<br>&lt;Barry&gt; [13:08] Sending: CHANSERV WHY #egghelp.org Dinotopia<br>&lt;Barry&gt; [13:08] Recieved chanserv-notice "Dinotopia has <strong class="text-strong">SOp</strong> access to <strong class="text-strong">#egghelp.org</strong>.  Reason: Identification to the nickname Dinotopia. Channel Frozen: NO" from "ChanServ!<a href="mailto:service@dal.net">service@dal.net</a>" to "Barry"<br>&lt;Barry&gt; [13:08] Origin appears authentic, continuing...<br>&lt;Barry&gt; [13:08] Debug2: Bytes of match is:<br>&lt;Barry&gt; [13:08] 68,105,110,111,116,111,112,105,97,32,104,97,115,32,83,79,112,32,97,99,99,101,115,115,32,116,111,32,35,101,103,103,104,101,108,112,46,<br>111,114,103,46,32,32,82,101,97,115,111,110,58,32,73,100,101,110,116,105,102,105,99,97,116,105,111,110,32,116,111,32,116,104,101,32,110,<br>105,99,107,110,97,109,101,32,68,105,110,111,116,111,112,105,97,46,32,67,104,97,110,110,101,108,32,70,114,111,122,101,110,58,32,78,79,<br>&lt;Barry&gt; [13:08] Did not find scheduled check. Ignoring (Status: 1 0<br>&lt;Barry&gt; [13:08] -ChanServ (<a href="mailto:service@dal.net">service@dal.net</a>)- Dinotopia has SOp access to #egghelp.org.  Reason: Identification to the nickname Dinotopia. Channel Frozen: NO</div></blockquote>.. and "we" stopped dead in "our" tracks. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Dec 06, 2007 10:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-12-06T19:33:56-04:00</updated>

		<published>2007-12-06T19:33:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79067#p79067</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79067#p79067"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79067#p79067"><![CDATA[
<blockquote class="uncited"><div>I guess that's a way of dealing with it, although I generally don't like those solutions :/<br>Alchera, do you get the same issue with the dot remaining aswell?</div></blockquote>I was getting that dot also.<br><br>I was curious as to why Sydneybabe was having problems as there was no obvious reason why there should have been. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Dec 06, 2007 7:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-12-06T08:46:49-04:00</updated>

		<published>2007-12-06T08:46:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79049#p79049</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79049#p79049"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79049#p79049"><![CDATA[
It would seem there is some "garbage" in the string causing problems. stripcodes should've taken care of that, but apparently some non-graphical character remains within the string causing problems with the matching.<br><br>Could you try replacing this line:<div class="codebox"><p>Code: </p><pre><code> if {[regexp -- {^(.+?) has (SOp|AOp) access to (.+?)\. Reason: Identification to the nickname (.+?)\. Channel Frozen: (YES|NO)$} [stripcodes bcruag $text] match tnick tacc tchan trnick tfrozen]} {</code></pre></div>With something like this (will produce large chunk of text to your logs):<div class="codebox"><p>Code: </p><pre><code> if {[regexp -- {^(.+?) has (SOp|AOp) access to (.+?). Reason: Identification to the nickname (.+?). Channel Frozen: (YES|NO)$} [stripcodes bcruag $text] match tnick tacc tchan trnick tfrozen]} {  foreach _c [split $match ""] {append _t "[scan $_c "%c"],"}  putlog "Debug2: Bytes of match is:"  putlog $_t</code></pre></div>This should show exactly which characters the regular expression is matching against.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Dec 06, 2007 8:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2007-12-06T03:08:19-04:00</updated>

		<published>2007-12-06T03:08:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79042#p79042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79042#p79042"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79042#p79042"><![CDATA[
hi nml375 i loaded the script and this is what appear on partyline:<br><br>&lt;Tashwini&gt; [02:04] Recieved chanserv-notice "[VERBOSE] DramaQueen`!psycho@203.215.124.22 =&gt; akick #anthony add *!*@hayz.ulit" from "ChanServ!<a href="mailto:service@dal.net">service@dal.net</a>" to "@#anthony"<br>&lt;Tashwini&gt; [02:04] Data extracted: DramaQueen` psycho@203.215.124.22 #anthony *!*@hayz.ulit<br>&lt;Tashwini&gt; [02:04] Sending: CHANSERV WHY #anthony DramaQueen`<br>&lt;Tashwini&gt; [02:04] Recieved chanserv-notice "DramaQueen` has SOp access to #anthony.  Reason: Identification to the nickname deee. Channel Frozen: NO" from "ChanServ!<a href="mailto:service@dal.net">service@dal.net</a>" to "Tashwini"<br>&lt;Tashwini&gt; [02:04] Origin appears authentic, continuing...<br>&lt;Tashwini&gt; [02:04] -ChanServ (<a href="mailto:service@dal.net">service@dal.net</a>)- DramaQueen` has SOp access to #anthony.  Reason: Identification to the nickname deee. Channel Frozen: NO<br>&lt;Tashwini&gt; [02:05] Writing user file...<br>&lt;Tashwini&gt; [02:05] Writing channel file...<br><br>.. nothing happen removing akick :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Thu Dec 06, 2007 3:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-12-05T14:06:01-04:00</updated>

		<published>2007-12-05T14:06:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79032#p79032</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79032#p79032"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79032#p79032"><![CDATA[
Well, Alchera's fix would sort any issues with trailing dots (.). The cause for that dot is still unknown however. There might still be an issue with un-escaped character in the regular expression, that I'm gonna tend to in a few seconds..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Dec 05, 2007 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2007-12-05T13:28:26-04:00</updated>

		<published>2007-12-05T13:28:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79029#p79029</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79029#p79029"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79029#p79029"><![CDATA[
hi nml375 is the scripts work now <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Wed Dec 05, 2007 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-12-05T11:13:23-04:00</updated>

		<published>2007-12-05T11:13:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79025#p79025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79025#p79025"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79025#p79025"><![CDATA[
I guess that's a way of dealing with it, although I generally don't like those solutions :/<br>Alchera, do you get the same issue with the dot remaining aswell?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Dec 05, 2007 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-12-04T20:06:56-04:00</updated>

		<published>2007-12-04T20:06:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79005#p79005</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79005#p79005"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79005#p79005"><![CDATA[
I loaded this into one of my bots and with a "dirty" fix, it works as expected. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><br><div class="codebox"><p>Code: </p><pre><code>set tchan [string trim $tchan .]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Dec 04, 2007 8:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-12-04T17:04:48-04:00</updated>

		<published>2007-12-04T17:04:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78988#p78988</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78988#p78988"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78988#p78988"><![CDATA[
Somehow you still get a trailing . in the channelname, which I find very strange. When running the regular expression manually with the same data, I do not get that dot.<br><br>Could you triple-check the regular expression in check:why, cause I'm running low on ideas why this is breaking?<br>(regexp -- {^.....)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Dec 04, 2007 5:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2007-12-04T00:52:50-04:00</updated>

		<published>2007-12-04T00:52:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78962#p78962</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78962#p78962"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78962#p78962"><![CDATA[
hi nml375 i load the script and this is what appear on partyline:<br><br>&lt;Tashwini&gt; [23:48] Recieved chanserv-notice "[VERBOSE] maLd|tang`masung|t!~<a href="mailto:grace@d193-69-36.home3.cgocable.net">grace@d193-69-36.home3.cgocable.net</a> =&gt; akick #anthony add *!*@.org" from "ChanServ!<a href="mailto:service@dal.net">service@dal.net</a>" to "@#anthony"<br>&lt;Tashwini&gt; [23:48] Data extracted: maLd|tang`masung|t ~<a href="mailto:grace@d193-69-36.home3.cgocable.net">grace@d193-69-36.home3.cgocable.net</a> #anthony *!*@.org<br>&lt;Tashwini&gt; [23:48] Sending: CHANSERV WHY #anthony maLd|tang`masung|t<br>&lt;Tashwini&gt; [23:48] Recieved chanserv-notice "maLd|tang`masung|t has SOp access to #anthony.  Reason: Identification to the nickname maLd|tang`masung|t. Channel Frozen: NO" from "ChanServ!<a href="mailto:service@dal.net">service@dal.net</a>" to "Tashwini"<br>&lt;Tashwini&gt; [23:48] Origin appears authentic, continuing...<br>&lt;Tashwini&gt; [23:48] Data extracted: maLd|tang`masung|t SOp #anthony. maLd|tang`masung|t NO<br>&lt;Tashwini&gt; [23:48] Did not find scheduled check. Ignoring (Status: 1 0<br>&lt;Tashwini&gt; [23:48] -ChanServ (<a href="mailto:service@dal.net">service@dal.net</a>)- maLd|tang`masung|t has SOp access to #anthony.  Reason: Identification to the nickname maLd|tang`masung|t. Channel Frozen: NO<br><br>..bot still not removing the akick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Tue Dec 04, 2007 12:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-12-03T07:22:02-04:00</updated>

		<published>2007-12-03T07:22:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78939#p78939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78939#p78939"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78939#p78939"><![CDATA[
Problem located, forgot to escape a . in one of the regular expressions. Updating posts shortly..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Dec 03, 2007 7:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2007-12-03T02:42:33-04:00</updated>

		<published>2007-12-03T02:42:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78930#p78930</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78930#p78930"/>
		<title type="html"><![CDATA[bot remove the akick and founder only allowed to add akick..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78930#p78930"><![CDATA[
hi nml375 i load the script and restart the bot and this is what appear on partyline:<br><br>&lt;Tashwini&gt; [01:32] Recieved chanserv-notice "[VERBOSE] maLd|tang`masung|t!~<a href="mailto:grace@d193-69-36.home3.cgocable.net">grace@d193-69-36.home3.cgocable.net</a> =&gt; akick #anthony add *!*@test.com" from "ChanServ!<a href="mailto:service@dal.net">service@dal.net</a>" to "@#anthony"<br>&lt;Tashwini&gt; [01:32] Data extracted: maLd|tang`masung|t ~<a href="mailto:grace@d193-69-36.home3.cgocable.net">grace@d193-69-36.home3.cgocable.net</a> #anthony *!*@test.com<br>&lt;Tashwini&gt; [01:32] Sending: CHANSERV WHY #anthony maLd|tang`masung|t<br>&lt;Tashwini&gt; [01:32] Recieved chanserv-notice "maLd|tang`masung|t has SOp access to #anthony.  Reason: Identification to the nickname maLd|tang`masung|t. Channel Frozen: NO" from "ChanServ!<a href="mailto:service@dal.net">service@dal.net</a>" to "Tashwini"<br>&lt;Tashwini&gt; [01:32] Origin appears authentic, continuing...<br>&lt;Tashwini&gt; [01:32] Data extracted: maLd|tang`masung|t SOp #anthony. maLd|tang`masung|t NO<br>&lt;Tashwini&gt; [01:32] Did not find scheduled check. Ignoring (Status: 1 0<br>&lt;Tashwini&gt; [01:32] -ChanServ (<a href="mailto:service@dal.net">service@dal.net</a>)- maLd|tang`masung|t has SOp access to #anthony.  Reason: Identification to the nickname maLd|tang`masung|t. Channel Frozen: NO<br><br>..still the sop bot Tashwini not removing the akick issued by a sop user maLd|tang`masung|t :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Mon Dec 03, 2007 2:42 am</p><hr />
]]></content>
	</entry>
	</feed>
