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

	<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>2004-04-15T15:54:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Aron]]></name></author>
		<updated>2004-04-15T15:54:11-04:00</updated>

		<published>2004-04-15T15:54:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35582#p35582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35582#p35582"/>
		<title type="html"><![CDATA[setting a variable to people's Q account name]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35582#p35582"><![CDATA[
You might want to read <a href="http://forum.egghelp.org/viewtopic.php?t=7267" class="postlink">this thread</a><br><br>One way to do it would be to get your bot to recognize them as soon as they set mode +x.<br><div class="codebox"><p>Code: </p><pre><code>if {[string match "*.users.quakenet.org" $host]} { blablabla }</code></pre></div>...or something like that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2858">Aron</a> — Thu Apr 15, 2004 3:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shanks]]></name></author>
		<updated>2004-04-10T10:59:28-04:00</updated>

		<published>2004-04-10T10:59:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35396#p35396</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35396#p35396"/>
		<title type="html"><![CDATA[setting a variable to people's Q account name]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35396#p35396"><![CDATA[
This is for a script for an eggdrop on quakenet!<br><br>for a user to use a public command, he has to pass a series of requirements:<br><br>proc pub:check { nick host hand chan text } {<br># check if user is ops<br>if {![isop $nick $chan]} {<br>putserv "PRIVMSG $chan :Sorry $nick, you have to be Op'd to post messages!"<br>}<br># check if Q or L is present<br>if {![onchan Q $chan]} {<br>if {![onchan L $chan]} { putserv "PRIVMSG $chan :Sorry $nick, you need Q or L in your channel!" }<br>}<br># check user is auth'd with Q<br><br>}<br><br># send info to hub bot (send qnick, nick, chan, message)<br><br>however, i'm not entirely sure how to find out what people's Q account name is, and how to then set it as a variable!<br><br>if any one could help with this, much appreciated.<br>thanks in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3686">shanks</a> — Sat Apr 10, 2004 10:59 am</p><hr />
]]></content>
	</entry>
	</feed>
