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

	<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-05-26T14:45:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[darkmare]]></name></author>
		<updated>2006-05-26T14:45:06-04:00</updated>

		<published>2006-05-26T14:45:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63440#p63440</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63440#p63440"/>
		<title type="html"><![CDATA[Getting $hand based on $nick given]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63440#p63440"><![CDATA[
Thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4813">darkmare</a> — Fri May 26, 2006 2:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-05-26T14:40:34-04:00</updated>

		<published>2006-05-26T14:40:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63439#p63439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63439#p63439"/>
		<title type="html"><![CDATA[Getting $hand based on $nick given]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63439#p63439"><![CDATA[
<blockquote class="uncited"><div>  nick2hand &lt;nickname&gt; [channel]<br>    returns: handle of &lt;nickname&gt; on &lt;channel&gt;<br>|   if &lt;channel&gt; is not specified, bot will check all of its channels<br>|   if &lt;nickname&gt; not found, returns ""<br>|   if &lt;nickname&gt; found but unknown, returns "*"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri May 26, 2006 2:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darkmare]]></name></author>
		<updated>2006-05-26T14:03:48-04:00</updated>

		<published>2006-05-26T14:03:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63434#p63434</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63434#p63434"/>
		<title type="html"><![CDATA[Getting $hand based on $nick given]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63434#p63434"><![CDATA[
I'm doing and XTRA field called "tagline", which will be a users tagline.  I've got the part that gives you yours if you request it (Such as "Mike, who am I?") (Mike is the bot's name) with this:<div class="codebox"><p>Code: </p><pre><code>proc give_tagline {nick mask hand chan arg} {putserv"PRIVMSG $chan :$nick is [getuser $hand XTRA tagline]"}</code></pre></div>Now, I also want it to respond to "Mike, who is &lt;nick&gt;?".  I have the matching for nicks in channel already written (and if they are there), what I would like to do now is how can I take $requested_nick and get their handle to pull up their tagline?  Would something along the lines of:<div class="codebox"><p>Code: </p><pre><code>proc give_tagline {nick mask hand chan arg} {putserv"PRIVMSG $chan :$requested_nick is [getuser $requested_nick XTRA tagline]"}</code></pre></div>work?  Or do I need something to return the $hand of the $requested_nick, then use that first example?  Or can I just do something where after matching the $requested_nick to someone in channel, get $requestd_nick's $hand?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4813">darkmare</a> — Fri May 26, 2006 2:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
