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

	<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-20T11:10:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-20T11:10:25-04:00</updated>

		<published>2003-01-20T11:10:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15559#p15559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15559#p15559"/>
		<title type="html"><![CDATA[bot binds]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15559#p15559"><![CDATA[
This is becuase of your use with the lindex command.<br><br>There is no need to be using the "args" variable, and will save you from using "set args [lindex $args 0]".<br><br>Replace all occurances of args, with arg.<br><br>Second, note the way you have used "lindex" on the "set nick" line. You have used a index of 1. All index numbers start from 0, and run to LENGTH-1.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Jan 20, 2003 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-01-20T08:35:38-04:00</updated>

		<published>2003-01-20T08:35:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15554#p15554</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15554#p15554"/>
		<title type="html"><![CDATA[bot binds]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15554#p15554"><![CDATA[
I want one of my bots to inform the central bot of the channel when kickbans a person,<br>I have put this one on the bot that kicks for advertising (in the adver.tcl):<br>putbot botnick "tsnoinv $nick"<br><br>and this one in the tcl script that I want to make to inform the central bot for bans:<br><br>proc tsnoinv_prc {bot com args} {<br> global botnick<br> set args [lindex $args 0]<br> set nick [lindex $args 1]<br> set subcom [lindex $args 0]<br>putlog "botnick2: Banned $nick in #oulir (Channel/Site advertising)"<br>}<br><br>and it shows this one when the other bot kickbans a person:<br>&lt;botnick&gt; [10:34] botnick2: Banned  in #oulir (Channel/Site advertising)<br><br>it doesn't show the nickname, what's wrong?!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Mon Jan 20, 2003 8:35 am</p><hr />
]]></content>
	</entry>
	</feed>
