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

	<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-11-10T05:49:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[PaulyboyUK]]></name></author>
		<updated>2008-11-10T05:49:46-04:00</updated>

		<published>2008-11-10T05:49:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85757#p85757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85757#p85757"/>
		<title type="html"><![CDATA[chanserv userlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85757#p85757"><![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><div class="codebox"><p>Code: </p><pre><code># Name of the storage file for the access list.set accesslist "accesslist.txt"# Full name of channel services.set chanserv "chanserv"################## BIND commands ##################bind pub n list access:list#bind notc - "* list for *" write:list#bind notc - "* VOP *" write:listproc write:list {nick host hand arg {dest ""}} {  set msg $arg  if {([isbotnick $dest]) &amp;&amp; ([string equal $nick "ChanServ"])} {    # Create the storage file for appending.    set acc_fd [open $::accesslist a]    puts $acc_fd $msg    close $acc_fd  }}proc access:list {nick uhost hand chan text} {  set type [string tolower $text]  if {[regexp {(sop|aop|vop)} $type]} {    # Remove old storage file    if {[file exists $::accesslist]} {file delete $::accesslist}    putserv "PRIVMSG $::chanserv :$type $chan list"  } else {    return  }}# ctrl:filter &lt;string&gt;# Strip all control characters. Thanks to ppslim.proc ctrl:filter {str} {  regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006|\007} $str "" str  return $str}</code></pre></div>I dont understand the above creates 3 lines of test saying VOP list etc<br><br>i need the file to literallyjust 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> — Mon Nov 10, 2008 5:49 am</p><hr />
]]></content>
	</entry>
	</feed>
