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

	<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>2005-06-13T05:51:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-06-13T05:51:22-04:00</updated>

		<published>2005-06-13T05:51:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50721#p50721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50721#p50721"/>
		<title type="html"><![CDATA[getuser $user &quot;hosts&quot; error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50721#p50721"><![CDATA[
error in my userlist:<br><br>Tcl error [user_list]: list element in quotes followed by "HOSTS"]" instead of space<br><br>The script:<br><br><div class="codebox"><p>Code: </p><pre><code>bind pub o|f !userlist user_list proc user_list {nick uhost hand chan text} { if {[userlist |amnovf $chan] == ""} { putserv "NOTICE $nick :No users found in my userlist for $chan " return 0 } putquick "NOTICE $nick :Userlist for $chan " foreach user [userlist |amnovf $chan] {if {[set usersnick [hand2nick $user]] == ""}  putquick "NOTICE $nick :(( Handle: $user || Nickname: Offline, or not in any of the bots channels. || Host(s): [getuser $user "HOSTS"] || Channel Flags: +[lindex [split [chattr $user $chan] |] 1] ))"} else {if {[set usersnick [hand2nick $user]] != ""}  putquick "NOTICE $nick :(( Handle: $user || Nickname: $usersnick || Host(s): [getuser $user "hosts"] || Channel Flags: +[lindex [split [chattr $user $chan] |] 1] ))"}putquick "NOTICE $nick :End of list." }putlog "Userlist.tcl By Tosser^^ Loaded"</code></pre></div>I dont know whats wrong, i tried [getuser $user "hosts""] but that dont work, please help ;p<br><br>Thanks in advance!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Mon Jun 13, 2005 5:51 am</p><hr />
]]></content>
	</entry>
	</feed>
