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

	<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>2008-12-03T05:32:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[PaulyboyUK]]></name></author>
		<updated>2008-12-02T18:15:35-04:00</updated>

		<published>2008-12-02T18:15:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86046#p86046</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86046#p86046"/>
		<title type="html"><![CDATA[chanserv - parsing possibly? - SOLVED]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86046#p86046"><![CDATA[
Solved  - ty mate thats spot on - now for me to startdcc side thankyou<br><br>Regards<br><br>Paul<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10261">PaulyboyUK</a> — Tue Dec 02, 2008 6:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-12-02T08:47:32-04:00</updated>

		<published>2008-12-02T08:47:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86042#p86042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86042#p86042"/>
		<title type="html"><![CDATA[chanserv - parsing possibly? - SOLVED]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86042#p86042"><![CDATA[
<blockquote class="uncited"><div>Ok m8 thankyou for your help - heres wheres it at currently - if i do a vop list - or do list with your script below is what i see returned when i am in partyline chat with bot<br><blockquote class="uncited"><div><br>[22:15] &lt;TestBot&gt; [00:13] -ChanServ (<a href="mailto:services@eagle-nest.net">services@eagle-nest.net</a>)- VOP list for #test:<br>[22:15] &lt;TestBot&gt; [00:13] -ChanServ (<a href="mailto:services@eagle-nest.net">services@eagle-nest.net</a>)-   Num  Nick<br>[22:15] &lt;TestBot&gt; [00:13] -ChanServ (<a href="mailto:services@eagle-nest.net">services@eagle-nest.net</a>)-     4  PeaceKeeper<br>[22:15] &lt;TestBot&gt; [00:13] -ChanServ (<a href="mailto:services@eagle-nest.net">services@eagle-nest.net</a>)-     5  cdclub<br></div></blockquote>I note only difference to yours in that yours indicated the end of the list<br><blockquote class="uncited"><div><br>testserver@command:~/botroom/testbot$ cat lusers.txt<br>testserver@command:~/botroom/testbot$<br></div></blockquote>as you can see the lusers file is created however contains absolutely nothing - any ideas?<br><br>Cheers<br><br>Paul</div></blockquote>yap, its a little bit diffrent, try this one:<div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/oswiecim/./eu/./org# home page: http://tomekk.oswiecim.eu.org/## Version 0.1## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.html# file with nicksset nicks_db "lusers.txt"# service nameset service_name "chanserv"#################################################################################bind pub - list do_querybind notc - "*" grab_listproc do_query { nick uhost hand chan arg } {global service_name nicks_dbif {[file exists $nicks_db]} {file delete $nicks_db}putserv "PRIVMSG $service_name :sop $chan list"}proc grab_list { nick uhost hand text {dest ""}} {global botnick service_name nicks_db       if {$dest == ""} {set dest $botnick}if {([isbotnick $dest]) &amp;&amp; ([string tolower $nick] == [string tolower $service_name])} {set text_line $textset db_hand [open $nicks_db a] if {[regexp {^.*([0-9]+).*$} $text_line]} {set only_nick [lindex [split [string trim $text_line]] 2]puts $db_hand $only_nick}close $db_hand}}putlog "chanserv-list.tcl ver 0.1 by tomekk loaded"</code></pre></div>I tested it on eagle-nest, it should work good <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>hf<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Tue Dec 02, 2008 8:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PaulyboyUK]]></name></author>
		<updated>2008-12-01T18:24:20-04:00</updated>

		<published>2008-12-01T18:24:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86039#p86039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86039#p86039"/>
		<title type="html"><![CDATA[chanserv - parsing possibly? - SOLVED]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86039#p86039"><![CDATA[
Ok m8 thankyou for your help - heres wheres it at currently - if i do a vop list - or do list with your script below is what i see returned when i am in partyline chat with bot<br><blockquote class="uncited"><div><br>[22:15] &lt;TestBot&gt; [00:13] -ChanServ (<a href="mailto:services@eagle-nest.net">services@eagle-nest.net</a>)- VOP list for #test:<br>[22:15] &lt;TestBot&gt; [00:13] -ChanServ (<a href="mailto:services@eagle-nest.net">services@eagle-nest.net</a>)-   Num  Nick<br>[22:15] &lt;TestBot&gt; [00:13] -ChanServ (<a href="mailto:services@eagle-nest.net">services@eagle-nest.net</a>)-     4  PeaceKeeper<br>[22:15] &lt;TestBot&gt; [00:13] -ChanServ (<a href="mailto:services@eagle-nest.net">services@eagle-nest.net</a>)-     5  cdclub<br></div></blockquote>I note only difference to yours in that yours indicated the end of the list<br><blockquote class="uncited"><div><br>testserver@command:~/botroom/testbot$ cat lusers.txt<br>testserver@command:~/botroom/testbot$<br></div></blockquote>as you can see the lusers file is created however contains absolutely nothing - any ideas?<br><br>Cheers<br><br>Paul<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10261">PaulyboyUK</a> — Mon Dec 01, 2008 6:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-12-01T05:58:27-04:00</updated>

		<published>2008-12-01T05:58:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86028#p86028</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86028#p86028"/>
		<title type="html"><![CDATA[chanserv - parsing possibly? - SOLVED]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86028#p86028"><![CDATA[
hmm, weird <br><br>maybe this chanserv is diffrent :&gt;<br><br>look, chanserv output from shadow-dragon:<blockquote class="uncited"><div>0:55:16 &lt;tomekk&gt; vop #tomekk-test list<br>10:55:17 -ChanServ(<a href="mailto:ChanServ@services.shadow-dragon.net">ChanServ@services.shadow-dragon.net</a>)- VOP list for #tomekk-test:<br>10:55:17 -ChanServ(<a href="mailto:ChanServ@services.shadow-dragon.net">ChanServ@services.shadow-dragon.net</a>)- 1: test (not logged in)<br>10:55:17 -ChanServ(<a href="mailto:ChanServ@services.shadow-dragon.net">ChanServ@services.shadow-dragon.net</a>)- 2: test2 (not logged in)<br>10:55:17 -ChanServ(<a href="mailto:ChanServ@services.shadow-dragon.net">ChanServ@services.shadow-dragon.net</a>)- 3: test3 (not logged in)<br>10:55:17 -ChanServ(<a href="mailto:ChanServ@services.shadow-dragon.net">ChanServ@services.shadow-dragon.net</a>)- Total of 3 entry in VOP list of #tomekk-test.</div></blockquote>and after typing "list" on chan, bot:<blockquote class="uncited"><div>[tomekk@zonk]:~/eggdrop# cat lusers.txt<br>test<br>test2<br>test3</div></blockquote>try to change "bind pub - list do_query" to "bind pub - !test do_query" and after that write "!test" on your channel<br><br>if this will not work then we will try smth else <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=10332">tomekk</a> — Mon Dec 01, 2008 5:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PaulyboyUK]]></name></author>
		<updated>2008-11-30T20:00:32-04:00</updated>

		<published>2008-11-30T20:00:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86025#p86025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86025#p86025"/>
		<title type="html"><![CDATA[chanserv - parsing possibly? - SOLVED]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86025#p86025"><![CDATA[
ty for taking time on this mate <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Unfortunately it creates the lusers text file but nothing is created in it - when  i am in dcc chat i see the list being got - but nothing added to the  file - will keep plugging away<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10261">PaulyboyUK</a> — Sun Nov 30, 2008 8:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-11-28T12:03:12-04:00</updated>

		<published>2008-11-28T12:03:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85994#p85994</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85994#p85994"/>
		<title type="html"><![CDATA[chanserv - parsing possibly? - SOLVED]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85994#p85994"><![CDATA[
hello<br><div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/oswiecim/./eu/./org# home page: http://tomekk.oswiecim.eu.org/## Version 0.1## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.html# file with nicksset nicks_db "lusers.txt"# service nameset service_name "chanserv"#################################################################################bind pub - list do_querybind notc - "*" grab_listproc do_query { nick uhost hand chan arg } {global service_name nicks_dbif {[file exists $nicks_db]} {file delete $nicks_db}putserv "PRIVMSG $service_name :vop $chan list"}proc grab_list { nick uhost hand text {dest ""}} {global botnick service_name nicks_db       if {$dest == ""} {set dest $botnick}if {([isbotnick $dest]) &amp;&amp; ([string tolower $nick] == $service_name)} {set split_text [split $text "\n"]set db_hand [open $nicks_db a] foreach text_line $split_text {if {[regexp {^([0-9]+):.+$} $text_line]} {set only_nick [string trim [lindex [split $text_line] 1]]regsub -all -nocase {\002} $only_nick "" only_nickputs $db_hand $only_nick}}close $db_hand}}putlog "chanserv-list.tcl ver 0.1 by tomekk loaded"</code></pre></div>I wrote some script for u, try it.<br>After quote "list" on channel u will get file with VOP list (if any exists)<br>I tested it with ChanServ from irc.shadow-dragon.net<br><br>If u want to use this command only when u have +n<br>change:<div class="codebox"><p>Code: </p><pre><code>bind pub - list do_query</code></pre></div>to<br><div class="codebox"><p>Code: </p><pre><code>bind pub n list do_query</code></pre></div>I think u alread know this etc. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>cheers<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Fri Nov 28, 2008 12:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PaulyboyUK]]></name></author>
		<updated>2008-11-27T17:13:43-04:00</updated>

		<published>2008-11-27T17:13:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85983#p85983</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85983#p85983"/>
		<title type="html"><![CDATA[chanserv - parsing possibly? - SOLVED]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85983#p85983"><![CDATA[
bump - sorry just still need help on this one - if anyone can would be really appreciated<br><br>Paul<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10261">PaulyboyUK</a> — Thu Nov 27, 2008 5:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PaulyboyUK]]></name></author>
		<updated>2008-12-03T05:32:51-04:00</updated>

		<published>2008-11-14T05:29:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85809#p85809</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85809#p85809"/>
		<title type="html"><![CDATA[chanserv - parsing possibly? - SOLVED]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85809#p85809"><![CDATA[
hi <br><br>i am looking to create a userlist on one channel - it will be required to save as a text file in the format <br><br>username1 <br>username2 <br>username3 <br>username4 etc <br><br>I have found a chanserv access list script on here but the fomat of the output is no where near - ie <br><br>VOP list for #test: <br>VOP list for #test: <br>VOP list for #test: <br>Num Nick <br>2 PeaceKeeper <br><br>the code i am currently using to create this is <br><br><br><br>Code: <br><br><br># Name of the storage file for the access list. <br>set accesslist "accesslist.txt" <br><br># Full name of channel services. <br>set chanserv "chanserv" <br><br>################# <br># BIND commands # <br>################# <br>bind pub n list access:list <br>bind notc - "* list for *" write:list <br>bind notc - "* VOP *" write:list <br><br>proc write:list {nick host hand arg {dest ""}} { <br>  set msg $arg <br>  if {([isbotnick $dest]) &amp;&amp; ([string equal $nick "ChanServ"])} { <br>    # Create the storage file for appending. <br>    set acc_fd [open $::accesslist a] <br>    puts $acc_fd $msg <br>    close $acc_fd <br>  } <br>} <br><br>proc access:list {nick uhost hand chan text} { <br>  set type [string tolower $text] <br>  if {[regexp {(sop|aop|vop)} $type]} { <br>    # Remove old storage file <br>    if {[file exists $::accesslist]} {file delete $::accesslist} <br>    putserv "PRIVMSG $::chanserv :$type $chan list" <br>  } else { <br>    return <br>  } <br>} <br><br># ctrl:filter &lt;string&gt; <br># Strip all control characters. Thanks to ppslim. <br><br>proc ctrl:filter {str} { <br>  regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006|\007} $str "" str <br>  return $str <br>} <br> <br><br><br>I dont understand the above creates 3 lines of test saying VOP list as example above etc <br><br>i need the file to literally just have the Voiced users of the channel - and theni can use that file in my other script to dcc mass send files - seems no matter where i go i seemto hit a brick wall - any pointers would be great - <br><br><br>Thanks in anticipation <br><br>Paul<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10261">PaulyboyUK</a> — Fri Nov 14, 2008 5:29 am</p><hr />
]]></content>
	</entry>
	</feed>
