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

	<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>2005-08-31T03:28:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyEgg]]></name></author>
		<updated>2005-08-31T03:28:00-04:00</updated>

		<published>2005-08-31T03:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55085#p55085</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55085#p55085"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55085#p55085"><![CDATA[
can you give as a part of modificate code? like bind pub for kick and proc for kick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6534">CrazyEgg</a> — Wed Aug 31, 2005 3:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Skipper]]></name></author>
		<updated>2005-08-31T02:59:07-04:00</updated>

		<published>2005-08-31T02:59:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55083#p55083</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55083#p55083"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55083#p55083"><![CDATA[
Hello Dizzle, <br><br>I changed the bindings to <br><br>bind PUB -|- <br><br>But still its not working.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> whats wrong yet in the tcl?<br><br>Rgds<br><br>Skipper<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6623">Skipper</a> — Wed Aug 31, 2005 2:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2005-08-30T12:16:11-04:00</updated>

		<published>2005-08-30T12:16:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55046#p55046</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55046#p55046"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55046#p55046"><![CDATA[
i dont see the point off not opping the person yourself, i think when the wrong person is opped they can blame the bot of doing that  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Tue Aug 30, 2005 12:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyEgg]]></name></author>
		<updated>2005-08-30T07:36:46-04:00</updated>

		<published>2005-08-30T07:36:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55034#p55034</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55034#p55034"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55034#p55034"><![CDATA[
<blockquote class="uncited"><div>set PUBCHAR "."<br><br>bind pub o|o ${PUBCHAR}kick kick<br>......................</div></blockquote>as Alchera say the <blockquote class="uncited"><div>bind &lt;type&gt; &lt;flags&gt; &lt;keyword/mask&gt; [proc-name]</div></blockquote>(Alchera corect me if i am wrong pls)<br><br>as demond say the o|o meaning that the user with flags global op or channel op can use the command.The bot didnt add any user with this.If you want to use everyone just give *|* or simple * and with  the "if isop.." what you have give permission only to op on channel. (demond correct me pls if i am wrong)<br><br>as Dizzle say  <div class="codebox"><p>Code: </p><pre><code>if {[isop $nick $chan]} {</code></pre></div>you have the code :<div class="codebox"><p>Code: </p><pre><code>if {[botisop $chan] &amp;&amp; [isop $nick $chan]} { (i think like that is correct) just add it to each proc.</code></pre></div>dMTOn <br>isop i thing that is not acceptable.<br>as i say bind pub *|* ${trigger}op op<br>or<br>bind pub * ${trigger}op op<br>and if you want to used everyone just dont give [isop $nick $chan]<br><br>as i saw the script have no protections against kick bot/kick owner/ban type *!*@*/ban bot address/ban op/ban owner etc.<br>I thing that the public commands has the conception the op or user to give commands without to be op.If is op what the point to type .op nick<br>and not click to mirc/pirch/xchat menu to op him.<br>Anyway:))<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6534">CrazyEgg</a> — Tue Aug 30, 2005 7:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2005-08-30T06:36:37-04:00</updated>

		<published>2005-08-30T06:36:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55031#p55031</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55031#p55031"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55031#p55031"><![CDATA[
well a the procs have the code <br><div class="codebox"><p>Code: </p><pre><code>if {[isop $nick $chan]} { </code></pre></div>this makes sure only opped ppl in the chan may use the command, without identify too the bot etc, so its already there<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Tue Aug 30, 2005 6:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dMTOn]]></name></author>
		<updated>2005-08-30T04:04:18-04:00</updated>

		<published>2005-08-30T04:04:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55028#p55028</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55028#p55028"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55028#p55028"><![CDATA[
I need script like it too<br>If i put isop <div class="codebox"><p>Code: </p><pre><code>bind pub isop ${trigger}opbind pub isop ${trigger}deopbind pub isop ${trigger}voicebind pub isop ${trigger}devoicebind pub isop ${trigger}kickbind pub isop ${trigger}kbbind pub isop ${trigger}nb </code></pre></div>Everyone can use commands (ops, voiced, not voiced) <br>I'm looking for script that you need only to be a operator of channel(don't have to identify to bot, be master,  etc)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6661">dMTOn</a> — Tue Aug 30, 2005 4:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Skipper]]></name></author>
		<updated>2005-08-28T08:54:00-04:00</updated>

		<published>2005-08-28T08:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54957#p54957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54957#p54957"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54957#p54957"><![CDATA[
Hello, <br><br>Thanks demond.. But let me know.. where i should change? and what i should change? Pls give the changes in my code. <br><br>Rgds<br><br>Skipper<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6623">Skipper</a> — Sun Aug 28, 2005 8:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-27T02:33:58-04:00</updated>

		<published>2005-08-27T02:33:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54893#p54893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54893#p54893"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54893#p54893"><![CDATA[
sure, change the bind flags and add [isop] check in each trigger proc; however, that would render the whole thing completely pointless (like most, if not all of your other needs - no offense) because if you are an op, you don't need the bot to perform chores that you can do yourself<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Aug 27, 2005 2:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Skipper]]></name></author>
		<updated>2005-08-27T02:01:02-04:00</updated>

		<published>2005-08-27T02:01:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54891#p54891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54891#p54891"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54891#p54891"><![CDATA[
Hello Alchera, <br><br>Without adding the person to bots user list.. it cant be done in any other way? i want the bot to respond to the command.. if the user is an op. any alterations can be done?<br><br>Rgds<br>Skipper<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6623">Skipper</a> — Sat Aug 27, 2005 2:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-08-27T01:14:37-04:00</updated>

		<published>2005-08-27T01:14:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54890#p54890</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54890#p54890"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54890#p54890"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>  bind &lt;type&gt; &lt;flags&gt; &lt;keyword/mask&gt; [proc-name]    Description: You can use the 'bind' command to attach Tcl procedures      to certain events. flags are the flags the user must have to trigger      the event (if applicable). proc-name is the name of the Tcl procedure      to call for this command (see below for the format of the procedure      call). If the proc-name is omitted, no binding is added. Instead, the      current binding is returned (if it's stackable, a list of the current      bindings is returned).    Returns: name of the command that was added, or (if proc-name was      omitted), a list of the current bindings for this command    Module: core</code></pre></div>Person triggering the script has to have the 'o' flag i.e. a bot user.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Aug 27, 2005 1:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Skipper]]></name></author>
		<updated>2005-08-27T00:48:11-04:00</updated>

		<published>2005-08-27T00:48:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54889#p54889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54889#p54889"/>
		<title type="html"><![CDATA[Public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54889#p54889"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Command trigger  variable trigger {.}bind pub o|o ${trigger}op bind pub o|o ${trigger}deopbind pub o|o ${trigger}voicebind pub o|o ${trigger}devoicebind pub o|o ${trigger}kickbind pub o|o ${trigger}kbbind pub o|o ${trigger}nbproc op {nick uhost hand chan text} {global botnickif {[botisop $nick $chan]} &amp;&amp; {[isop $nick $chan]} {set target [lindex $text 0]set target1 [lindex $text 1]set target2 [lindex $text 2]if {$target == ""} {putserv "MODE $chan +o $nick}}}proc deop {nick host hand chan text} {global botnickif {[isop $nick $chan]} {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"}}}proc voice {nick host hand chan text} {global botnickif {[isop $nick $chan]} {set target [lindex $text 0]set target1 [lindex $text 1]set target2 [lindex $text 2]if {$target == ""} { putserv "MODE $chan +v $nick" } else { putserv "MODE $chan +vvv $target $target1 $target2" }}}proc devoice {nick host hand chan text} {global botnickif {[isop $nick $chan]} {set target [lindex $text 0]set target1 [lindex $text 1]set target2 [lindex $text 2]if {$target == ""} { putserv "MODE $chan -v $nick" } else { putserv "MODE $chan -vvv $target $target1 $target2" }}}proc kb {nick host hand chan text} {global botnickif {[isop $nick $chan]} {set target [lindex $text 0]set reason [lrange $text 0 end]set bhost [getchanhost $target $chan]set banmask "*!*[string trimleft [string range $bhost [string first "!" $bhost] end] ?^~-_+?]"if {$target == ""} { putserv "MODE $chan +b $banmask" putserv "kick $chan $target :$reason"}}}proc kick {nick host hand chan text} {global botnickif {[isop $nick $chan]} {set target [lindex $text 0]set reason [lrange $text 0 end]if {$target == ""} { putserv "kick $chan $target :$reason"}}}proc nb {nick host hand chan text} {global botnickif {[isop $nick $chan]} {set target [lindex $text 0]set reason [lrange $text 0 end]if {$target == ""} { putserv "MODE $chan +b $nick" putserv "kick $chan $target :$reason"}}}</code></pre></div><br>Well, A public command tcl which works for the ppl who are op in that channel.. without adding the users to the bots userlist.. <br><br>But i wonder whats wrong.. bot is not responding. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> <br><br><br>Rgds<br><br>Skipper<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6623">Skipper</a> — Sat Aug 27, 2005 12:48 am</p><hr />
]]></content>
	</entry>
	</feed>
