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

	<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>2006-06-29T02:40:01-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-06-29T02:40:01-04:00</updated>

		<published>2006-06-29T02:40:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64422#p64422</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64422#p64422"/>
		<title type="html"><![CDATA[getchanhost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64422#p64422"><![CDATA[
check the channel records (.channel #chan in partyline), maybe the bot does not have proper host entries for one of the channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu Jun 29, 2006 2:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gust]]></name></author>
		<updated>2006-06-28T14:24:47-04:00</updated>

		<published>2006-06-28T14:24:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64402#p64402</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64402#p64402"/>
		<title type="html"><![CDATA[getchanhost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64402#p64402"><![CDATA[
Yups, still "*!*"<br><br>No error, and the user is on the channel...<br><br>It works when the bot is only on 1 channel...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7913">Gust</a> — Wed Jun 28, 2006 2:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-06-28T14:03:30-04:00</updated>

		<published>2006-06-28T14:03:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64399#p64399</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64399#p64399"/>
		<title type="html"><![CDATA[getchanhost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64399#p64399"><![CDATA[
whats the result? still "*!*"? If its "*!*" there is no such nick on any channel the bot is on. Otherwise you would have found a bug in eggdrop which I cannot reproduce. Make sure there are no invisible characters involved (maybe use stripcodes?!).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Jun 28, 2006 2:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gust]]></name></author>
		<updated>2006-06-28T13:49:04-04:00</updated>

		<published>2006-06-28T13:49:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64397#p64397</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64397#p64397"/>
		<title type="html"><![CDATA[getchanhost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64397#p64397"><![CDATA[
OK, tried to remove $chan argument, but still the same problem...<br><br>This is the script i've tried...<br><div class="codebox"><p>Code: </p><pre><code>bind pub o|o !ident ident_script proc ident_script { nick uhost hand chan arg } {    set txt [split $arg]    set player [lindex $txt 0]    append ident "*!*" [getchanhost $player]    puthelp "PRIVMSG $chan :$ident" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7913">Gust</a> — Wed Jun 28, 2006 1:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-06-28T13:40:56-04:00</updated>

		<published>2006-06-28T13:40:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64395#p64395</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64395#p64395"/>
		<title type="html"><![CDATA[getchanhost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64395#p64395"><![CDATA[
There is no more information, everything can be assumed <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">.<br>- the topic/function I am talking about is 'getchanhost'<br>- the channel argument of course refers to '$chan'<br>- and optional means, you can remove it<br>- hint means: try and see what happens!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Jun 28, 2006 1:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gust]]></name></author>
		<updated>2006-06-28T13:31:06-04:00</updated>

		<published>2006-06-28T13:31:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64394#p64394</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64394#p64394"/>
		<title type="html"><![CDATA[getchanhost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64394#p64394"><![CDATA[
Could you give me some more information?<br><br>Because i am new to tcl-scripting, i don't really understand what you are trying to say...<br><br>Thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7913">Gust</a> — Wed Jun 28, 2006 1:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-06-28T13:15:01-04:00</updated>

		<published>2006-06-28T13:15:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64392#p64392</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64392#p64392"/>
		<title type="html"><![CDATA[getchanhost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64392#p64392"><![CDATA[
Hint: the channel argument is optional.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Jun 28, 2006 1:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gust]]></name></author>
		<updated>2006-06-28T12:58:56-04:00</updated>

		<published>2006-06-28T12:58:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64390#p64390</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64390#p64390"/>
		<title type="html"><![CDATA[getchanhost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64390#p64390"><![CDATA[
Hi,<br><br>i am using the following code in my script:<div class="codebox"><p>Code: </p><pre><code>bind pub o|o !ident ident_scriptproc ident_script { nick uhost hand chan arg } {set txt [split $arg]set player [lindex $txt 0]append ident "*!*" [getchanhost $player $chan]puthelp "PRIVMSG $chan :$ident"}</code></pre></div>It's a stupid script i wrote, because i had some problems with an invite script that also uses getchanhost...<br><br>But I discovered that the script above only works good if my eggdrop is only on 1 channel... If I try the script when my eggdrop is on multiple channels, the bot output is:<div class="codebox"><p>Code: </p><pre><code>*!*</code></pre></div>Somebody know how to fix that?<br><br>Thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7913">Gust</a> — Wed Jun 28, 2006 12:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
