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

	<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>2002-06-18T18:24:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-06-18T18:24:00-04:00</updated>

		<published>2002-06-18T18:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8144#p8144</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8144#p8144"/>
		<title type="html"><![CDATA[Simple script to react dependant on flags.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8144#p8144"><![CDATA[
Bind to "-", so that all users can use it. Then in the procedure, use matchattr and an if statement to react depending on flags. (read about matchattr in tcl-commands.doc, and "if" in the tcl manual)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Jun 18, 2002 6:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-06-17T17:00:00-04:00</updated>

		<published>2002-06-17T17:00:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8107#p8107</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8107#p8107"/>
		<title type="html"><![CDATA[Simple script to react dependant on flags.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8107#p8107"><![CDATA[
I'm playing around and trying to learn more TCL, but what I want to learn how to do right now is define a script in an existing file (bar-n-grill.tcl) so that custom commands respond differently depending on if the user that uses a command has a +o flag or not.<br><br>The next thing I need to know is how to get the bot to preform server level actions (Ie., a trigger used by an op would kick/ban a nick, but a non-op, or non +o person would just get kicked for trying it).<br><br>I'm kind of slow, but I am trying to learn. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":razz:" title="Razz"><br><br>Any help would be appreciated.<p>Statistics: Posted by Guest — Mon Jun 17, 2002 5:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
