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

	<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-12-27T19:06:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-12-27T19:06:45-04:00</updated>

		<published>2005-12-27T19:06:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58710#p58710</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58710#p58710"/>
		<title type="html"><![CDATA[Host2nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58710#p58710"><![CDATA[
If you want to return clones as well, use:<div class="codebox"><p>Code: </p><pre><code># a little tweak to avilon's procproc host2nick hostmask {   set hostmask [string map [list {[} {\[} {]} {\]} {\\} {\\\\}] $hostmask]   set nicks [list]   foreach chan [channels] {      foreach user [chanlist $chan] {         if {[string match -nocase $hostmask $user![getchanhost $user $chan]]} {            lappend nicks $user         }      }   }   return $nicks}</code></pre></div>This will return a <span style="text-decoration:underline">list</span> of nick(s) or an empty list if nothing found.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Dec 27, 2005 7:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[avilon]]></name></author>
		<updated>2005-12-27T11:16:06-04:00</updated>

		<published>2005-12-27T11:16:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58705#p58705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58705#p58705"/>
		<title type="html"><![CDATA[Host2nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58705#p58705"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc host2nick hostmask {set hostmask [string map [list {[} {\[} {]} {\]} {\\} {\\\\}] $hostmask]foreach chan [channels] {foreach user [chanlist $chan] {if {[string match -nocase $hostmask $user![getchanhost $user]]} {return $user}}}return ""}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5191">avilon</a> — Tue Dec 27, 2005 11:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ecimo]]></name></author>
		<updated>2005-12-27T10:26:39-04:00</updated>

		<published>2005-12-27T10:26:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58703#p58703</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58703#p58703"/>
		<title type="html"><![CDATA[Host2nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58703#p58703"><![CDATA[
if there where any script that work the same way as hand2nick and nick2hand<br><br>but just with host changing to a nick also called host2nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7156">Ecimo</a> — Tue Dec 27, 2005 10:26 am</p><hr />
]]></content>
	</entry>
	</feed>
