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

	<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-03-26T16:06:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-26T16:06:22-04:00</updated>

		<published>2006-03-26T16:06:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61412#p61412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61412#p61412"/>
		<title type="html"><![CDATA[Give op on special text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61412#p61412"><![CDATA[
Thank you guys.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Sun Mar 26, 2006 4:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Winters]]></name></author>
		<updated>2006-03-25T21:17:55-04:00</updated>

		<published>2006-03-25T21:17:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61395#p61395</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61395#p61395"/>
		<title type="html"><![CDATA[Give op on special text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61395#p61395"><![CDATA[
and if you only want to get opped in one channel then try this <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><div class="codebox"><p>Code: </p><pre><code>bind msg - opme opmeproc opme {nick host hand arg} {set chan "[lindex [split $arg] 0]"if {"$chan" == "" || ![string match "#*" "$chan"]} {puthelp "notice $nick :Wrong Channel Synthax! Try again."return} elseif {![validchan $chan]} {puthelp "notice $nick :$chan isn't in my channellist"return} elseif {![botisop $chan]} {puthelp "notice $nick :I'm not opped in $chan!"return} elseif {[isop $nick $chan]} {puthelp "notice $nick :You're already opped in $chan!"return}pushmode $chan +o $nickputhelp "notice $nick :Done!"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6461">Winters</a> — Sat Mar 25, 2006 9:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-25T17:55:50-04:00</updated>

		<published>2006-03-25T17:55:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61387#p61387</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61387#p61387"/>
		<title type="html"><![CDATA[Give op on special text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61387#p61387"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msg - opme opmeproc opme {nick uhost hand arg} { foreach chan [channels] {  pushmode $chan +o $nick }}</code></pre></div>This will op you (or anyone) who msgs the bot opme on all channels. I suggest you change the '-' to some flag, probably <strong class="text-strong">o</strong> or <strong class="text-strong">n</strong>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Mar 25, 2006 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-25T11:31:55-04:00</updated>

		<published>2006-03-25T11:31:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61383#p61383</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61383#p61383"/>
		<title type="html"><![CDATA[Give op on special text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61383#p61383"><![CDATA[
When I do this the bot says: "No such variable $chan"<br>And when I replace $chan with the real chan and not with a variable, nothing happens.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Sat Mar 25, 2006 11:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Winters]]></name></author>
		<updated>2006-03-25T10:52:41-04:00</updated>

		<published>2006-03-25T10:52:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61382#p61382</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61382#p61382"/>
		<title type="html"><![CDATA[Give op on special text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61382#p61382"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>MSG         bind msg &lt;flags&gt; &lt;command&gt; &lt;proc&gt;         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;text&gt;         Description: used for /msg commands. The first word of the user's           msg is the command, and everything else becomes the text argument.</code></pre></div>:&gt; just change the proc with<br><br>proc aop_op {nick host hand text} {<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6461">Winters</a> — Sat Mar 25, 2006 10:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-25T10:16:54-04:00</updated>

		<published>2006-03-25T10:16:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61381#p61381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61381#p61381"/>
		<title type="html"><![CDATA[Give op on special text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61381#p61381"><![CDATA[
Hello!<br>I want to make my bot to give me op when I send it a special message. For example I type: "/msg Bot opme".<div class="codebox"><p>Code: </p><pre><code>bind msg - opme aop_opproc aop_op {nick host hand chan text} {pushmode $chan +o $nickreturn 0} </code></pre></div>But when I send a private message, in the party-line of the bot appears an error:  Tcl error [aop_op]: wrong # args: should be "aop_op nick host hand chan text"<br>Whats's wrong?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Sat Mar 25, 2006 10:16 am</p><hr />
]]></content>
	</entry>
	</feed>
