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

	<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-03-22T08:17:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2003-03-22T08:17:55-04:00</updated>

		<published>2003-03-22T08:17:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18105#p18105</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18105#p18105"/>
		<title type="html"><![CDATA[set kicknick $nick (where $nick is {Rex})]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18105#p18105"><![CDATA[
you will have to split $arg first. as written in the faq-forum ^^<br><br>edit:<br>err..sorry, can be deleted.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Sat Mar 22, 2003 8:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-03-22T08:11:15-04:00</updated>

		<published>2003-03-22T08:11:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18102#p18102</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18102#p18102"/>
		<title type="html"><![CDATA[set kicknick $nick (where $nick is {Rex})]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18102#p18102"><![CDATA[
See the thread regarding lists in the FAQ forum.<br><br>All data being sent to a proc in eggdrop, is sent as a string.<br><br>COmmands like lindex operate by taking a list as input.<br><br>As such, you need to convert the string, into a list, before it can be used properly.<br><br>Somthing like [lindex [split $arg] 0]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Mar 22, 2003 8:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-03-22T07:18:44-04:00</updated>

		<published>2003-03-22T07:18:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18101#p18101</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18101#p18101"/>
		<title type="html"><![CDATA[set kicknick $nick (where $nick is {Rex})]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18101#p18101"><![CDATA[
Hi, <br><br>If there is a user in a channel with the nickname {Rex}, is there anyway to store the nickname as a variable, without loosing the { and }?<br><br>Heres my situation...<br><br>{Rex} is being abusive, and a voice in a channel uses !kick {Rex} via our bot.  I use:<br><br>proc public_kick {nick uhost handle channel arg} {<br><br>where [lindex $arg 0] will be {Rex}<br><br>but if i store [lindex $arg 0] as $kicknick,  it only holds Rex and not {Rex}.  I can get away with using [lindex $arg 0]  throughout the proc but if i pass it as a parameter to another proc, the same problem arises.<br><br><br>Rex<p>Statistics: Posted by Guest — Sat Mar 22, 2003 7:18 am</p><hr />
]]></content>
	</entry>
	</feed>
