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

	<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>2010-11-16T12:36:01-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-11-16T12:36:01-04:00</updated>

		<published>2010-11-16T12:36:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95100#p95100</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95100#p95100"/>
		<title type="html"><![CDATA[Request script for private commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95100#p95100"><![CDATA[
<blockquote class="uncited"><div>thanx, but i need code. i want to edit and write my commands, not only op, deop and etc.<br><br>i need just one ecxample how can i do that</div></blockquote>Here is an example.  <br><br>It does not include anything extra.  Typically, one might like to check to be sure the bot itself is op'd, ... that the user nick submitted to be op'd is even on the channel, etc.  <br><br>This script works on only one channel, and you set that channel in the script.<br><br>The command is:<br>/msg botnick !op &lt;nick&gt;<br>and as it is written below, will only work for bot owner(s).<br><br><div class="codebox"><p>Code: </p><pre><code>#set your channel hereset mychan "#channelname"bind msg n "!op" give_opproc give_op {nick uhost handle text} {global mychanset nick_to_op "[lindex [split $text] 0]"pushmode $mychan +o $nick_to_op}</code></pre></div><br>Some excellent reference to read and bookmark:<br><br><a href="http://www.eggheads.org/support/egghtml/1.6.20/tcl-commands.html" class="postlink">http://www.eggheads.org/support/egghtml ... mands.html</a><br><br><a href="http://suninet.the-demon.de/" class="postlink">http://suninet.the-demon.de/</a><br><br><a href="http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm" class="postlink">http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm</a><br><br>I hope this helps.<br><br><br>Suggestion:  Give it a try.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">   write some TCL scripts, .. experiment and have fun with them.   You can post them here (in the Scripting Help section) , if and when you need help with them.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Nov 16, 2010 12:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-11-16T12:12:47-04:00</updated>

		<published>2010-11-16T12:12:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95098#p95098</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95098#p95098"/>
		<title type="html"><![CDATA[Re: Request script for private commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95098#p95098"><![CDATA[
<blockquote class="uncited"><div>...<br><br>i dont want all users see ho control the bot.</div></blockquote>The easiest, simplest way to do this, is to log into your bot via either DCC or telnet, and issue the  command(s) there... in the partyline.<br><br><a href="http://www.egghelp.org/commands/irc.htm#op" class="postlink">http://www.egghelp.org/commands/irc.htm#op</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Nov 16, 2010 12:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-11-15T20:37:14-04:00</updated>

		<published>2010-11-15T20:37:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95089#p95089</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95089#p95089"/>
		<title type="html"><![CDATA[Request script for private commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95089#p95089"><![CDATA[
@ZzozZ: would this be a set channel? if someone is sending <strong class="text-strong">/msg &lt;YourBot&gt; !op &lt;nickname&gt;</strong> we would be able to op the &lt;nickname&gt; all of eggdrop's channel that &lt;nickname&gt; is on. but if you want to do it to a specific channel that would be little easyer. or have them provide a channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Mon Nov 15, 2010 8:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ZzozZ]]></name></author>
		<updated>2010-11-14T05:11:08-04:00</updated>

		<published>2010-11-14T05:11:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95067#p95067</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95067#p95067"/>
		<title type="html"><![CDATA[Request script for private commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95067#p95067"><![CDATA[
thanx, but i need code. i want to edit and write my commands, not only op, deop and etc.<br><br>i need just one ecxample how can i do that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11419">ZzozZ</a> — Sun Nov 14, 2010 5:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Torrevado]]></name></author>
		<updated>2010-11-13T20:30:01-04:00</updated>

		<published>2010-11-13T20:30:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95066#p95066</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95066#p95066"/>
		<title type="html"><![CDATA[Request script for private commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95066#p95066"><![CDATA[
Some tcl scripts already do that. Search on <a href="http://www.egghelp.org/tcl.htm" class="postlink">TCL Archive</a><br><br>Example: <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=440" class="postlink">this one</a> can do it both pub or msg.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8047">Torrevado</a> — Sat Nov 13, 2010 8:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ZzozZ]]></name></author>
		<updated>2010-11-13T19:03:28-04:00</updated>

		<published>2010-11-13T19:03:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95065#p95065</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95065#p95065"/>
		<title type="html"><![CDATA[Request script for private commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95065#p95065"><![CDATA[
Can any write script for private commands.<br>I mean weh i write msg to my bot !op &lt;user&gt;, then my bot give @ on that user.<br><br>i dont want all users see ho control the bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11419">ZzozZ</a> — Sat Nov 13, 2010 7:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
