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

	<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>2003-01-10T06:53:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-10T06:53:53-04:00</updated>

		<published>2003-01-10T06:53:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15129#p15129</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15129#p15129"/>
		<title type="html"><![CDATA[Host help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15129#p15129"><![CDATA[
First off, try reading tcl-commands.doc.<br><br>The proc you used for the !host command is incorrect. The error states "too many arguments". Witht he "host" proc only having 4, the script must be being called with 5 or more.<br><br>When reading tcl-commands.doc, it defines a PUB type bind as having 5.<br><br>As for the second issue.<br><br>The $host variable, doesn't just contain the host of the user. It actualy contains the user@host.<br><br>Nicknames on IRC are represented as nick!<a href="mailto:user@host.name">user@host.name</a>. The user part is your ident.<br><br>As such, you have to take account for this.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Jan 10, 2003 6:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-10T06:37:58-04:00</updated>

		<published>2003-01-10T06:37:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15126#p15126</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15126#p15126"/>
		<title type="html"><![CDATA[Host help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15126#p15126"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !host hostproc host {nick host hand chan} {putserv "PRIVMSG $chan : your host is $host"}putlog "loaded ukhs script"</code></pre></div>I have this and it gives this error<br>Tcl error [host]: called "host" with too many arguments<br><br><br>I also have this<div class="codebox"><p>Code: </p><pre><code>bind join - "*" ukhsjoinproc ukhsjoin {nick host hand chan} {if {$host == "someone.called.player.killed-me.co.uk"} {pushmode $chan +v $nickputserv "PRIVMSG $nick : your host is $host"}}</code></pre></div>first of all when someone with the host someone.called.player.killed-me.co.uk joins it doesn't voice them, second of all i'd like it to read from a file where the hosts would be stored.<br><br>cheers to anyone that helps me!!<p>Statistics: Posted by Guest — Fri Jan 10, 2003 6:37 am</p><hr />
]]></content>
	</entry>
	</feed>
