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

	<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>2007-12-28T07:43:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2007-12-28T07:43:55-04:00</updated>

		<published>2007-12-28T07:43:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79596#p79596</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79596#p79596"/>
		<title type="html"><![CDATA[Flags or what?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79596#p79596"><![CDATA[
Nice, very nice! It work just fine now! Thank You very much!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Fri Dec 28, 2007 7:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-12-28T06:46:46-04:00</updated>

		<published>2007-12-28T06:46:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79593#p79593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79593#p79593"/>
		<title type="html"><![CDATA[Flags or what?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79593#p79593"><![CDATA[
Pretty simple <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> just use <div class="codebox"><p>Code: </p><pre><code>bind pub -|- &lt;command&gt; &lt;proc&gt;</code></pre></div> for the binds and in the script add at the start of the proc. <div class="codebox"><p>Code: </p><pre><code>if {![isop $nick $chan]} {return 0}</code></pre></div> should only allow people that are oped to use them.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Dec 28, 2007 6:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2007-12-28T05:45:36-04:00</updated>

		<published>2007-12-28T05:45:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79591#p79591</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79591#p79591"/>
		<title type="html"><![CDATA[Flags or what?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79591#p79591"><![CDATA[
Yeah, I see. But is there any way to do that instead of puting 184 peoples in more over 16 channels in bots userfile?? I want to anybody who have just @ can use !op command, even if he is'nt at any access list or bots userfile....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Fri Dec 28, 2007 5:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-12-28T04:23:07-04:00</updated>

		<published>2007-12-28T04:23:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79588#p79588</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79588#p79588"/>
		<title type="html"><![CDATA[Flags or what?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79588#p79588"><![CDATA[
If you add them to the bots userfile. To use the command !op for instance would only require them to have the +o flag for the channel where they need to use the !op command. Other than that, they dont really need any other flags unless you have !voice as +v then people that use !voice will need the +v flag for a channel that they can use !voice on. From the binds its &lt;global flag&gt;|&lt;channel flag&gt; so you can be alot safer if you stick to giving out channel flags only. And you keep the global flags for your self <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Dec 28, 2007 4:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2007-12-28T03:35:28-04:00</updated>

		<published>2007-12-28T03:35:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79587#p79587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79587#p79587"/>
		<title type="html"><![CDATA[Flags or what?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79587#p79587"><![CDATA[
Hi there. I am new in Tcl scripting, and I made script for public commands !op !deop !halfop !dehalfop !voice !devoice. But the script works only for me (I am owner of the bot), no for other ops in the channel. I do not know how to made script wich can be used by other op in channel, no only by me. Using of flag -|- is no a solution, coz then evryone can do !op, or !deop, but flag o|o works only for me...<br><br>Does anybody know how to fix that whitout using of access list grabbing?<br><br>This is short example of my code:<br><div class="codebox"><p>Code: </p><pre><code>############ TRIGGER ############bind pub o|o !op op####### OP #######proc op {nick host hand chan text} {set target [lindex $text 0]set target1 [lindex $text 1]set target2 [lindex $text 2]if {$target == ""} { putserv "MODE $chan +o $nick" } else { putserv "MODE $chan +ooo $target $target1 $target2" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Fri Dec 28, 2007 3:35 am</p><hr />
]]></content>
	</entry>
	</feed>
