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

	<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-12T01:14:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Zircon]]></name></author>
		<updated>2007-12-12T01:14:22-04:00</updated>

		<published>2007-12-12T01:14:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79267#p79267</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79267#p79267"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79267#p79267"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>.chattr handle +flag #Channel</code></pre></div> <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=8115">Zircon</a> — Wed Dec 12, 2007 1:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-11T23:21:58-04:00</updated>

		<published>2007-12-11T23:21:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79263#p79263</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79263#p79263"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79263#p79263"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>.chattr handle |+flag #Channel</code></pre></div> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Tue Dec 11, 2007 11:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zircon]]></name></author>
		<updated>2007-12-11T17:33:23-04:00</updated>

		<published>2007-12-11T17:33:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79248#p79248</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79248#p79248"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79248#p79248"><![CDATA[
Hello starpossen<br><br>    As you see the binds, these commands are trigered by users that have +m global flag, or +E channel flag. So use this : <div class="codebox"><p>Code: </p><pre><code>.chattr handle +E #channel</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8115">Zircon</a> — Tue Dec 11, 2007 5:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-12-11T16:38:56-04:00</updated>

		<published>2007-12-11T16:38:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79245#p79245</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79245#p79245"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79245#p79245"><![CDATA[
<blockquote class="uncited"><div>Am I missing something?</div></blockquote>Yes! Simplicity (and the Tcl Archive). <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=3646">Alchera</a> — Tue Dec 11, 2007 4:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2007-12-11T14:05:37-04:00</updated>

		<published>2007-12-11T14:05:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79241#p79241</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79241#p79241"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79241#p79241"><![CDATA[
You're right, sorry long day, however, I will test this script later tonight, and report back, once again thanks for helping, and i'll let you know if something is needed if you got time for more help.<br><br>*EDIT* Okay, i've tested it, but I cant get anyone to use the commands, I did add them with .chattr nick +E<br><br>Am I missing something?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Tue Dec 11, 2007 2:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-11T10:31:16-04:00</updated>

		<published>2007-12-11T10:31:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79229#p79229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79229#p79229"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79229#p79229"><![CDATA[
<blockquote class="uncited"><div>iamdeath, thanks alot I will test it later, btw, would it be possible to add an !op !deop !hop !dehop too?</div></blockquote>No problem, but if you wanted !op !deop then there are 100's of public commands in TCL Section why didn'nt you try one from the list anyway, this script is different because it does'nt let users to get op and they can access the core commands while they're voiced.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Tue Dec 11, 2007 10:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2007-12-11T10:25:14-04:00</updated>

		<published>2007-12-11T10:25:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79227#p79227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79227#p79227"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79227#p79227"><![CDATA[
iamdeath, thanks alot I will test it later, btw, would it be possible to add an !op !deop !hop !dehop too?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Tue Dec 11, 2007 10:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-11T03:53:40-04:00</updated>

		<published>2007-12-11T03:53:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79218#p79218</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79218#p79218"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79218#p79218"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>## This channel is required for removing through private of bot if a user## types /msg botnick unban *!*@host.com he will be unbanned from## outside and then can join thechannel.set chan1 "#channel"set item "!"bind pub m|E ${item}ban banbind pub m|E ${item}unban unbanbind msg m|E ${item}unban unban1bind pub m|E ${item}voice voicebind pub m|E ${item}devoice devoicebind pub m|E ${item}mode modebind pub m|E ${item}kick ckickbind pub m|E ${item}help helpproc ban {nick host hand chan text} {global botnickset target [lindex $text 0]set reason [lrange $text 1 end]set bhost [getchanhost $target $chan]set banmask "*!*@[lindex [split $bhost @] 1]"# set banmask "*!*[string trimleft [string range $bhost [string first "!" $bhost] end] ?^~-_+?]"if {$target == $nick} {putserv "NOTICE $nick :Are you crazy? Why do you want to be banned? lamer."return 0}if {[isop $target $chan]} {putserv "NOTICE $nick : You don`t have permission to ban the Op $target"return 0}if {[isvoice $target $chan]} {putserv "NOTICE $nick : You don`t have permission to ban the voice $target, use kick or devoice him/her first."return 0}if {[matchattr $nick n|-] == "1"} {putserv "MODE $chan +b $banmask"putserv "KICK $chan $target :$reason"  } elseif {$target != $botnick} {if {[matchattr $target n|-] == "0"} { if {[matchattr $nick -|o $chan] == 1} {  putserv "MODE $chan +b $banmask"  putserv "KICK $chan $target :$reason"   } elseif {[matchattr $target o|o $chan] == 0} {  putserv "MODE $chan +b $banmask"  putserv "KICK $chan $target :$reason"   } else {  putserv "NOTICE $nick : You don`t have permission to ban the Op $target" }} elseif {[matchattr $target n|-] == 1} {    putserv "NOTICE $nick : You don`t have permission to ban the Op $target"}} else { putquick "NOTICE $nick : [censored] you"}}proc unban {nick host hand chan text} {set target [lindex $text 0]putserv "MODE $chan -b $target"killchanban $chan $target}proc unban1 {nick uhost hand mwho} {global chan1set target [lindex $mwho 0]putserv "MODE $chan1 -b $target"killchanban $chan1 $targetputserv "NOTICE $nick : $target has been removed, you may join $chan1 now."}proc voice {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 +v $nick" } else { putserv "MODE $chan +vvv $target $target1 $target2" }}proc devoice {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 -v $nick" } else { putserv "MODE $chan -vvv $target $target1 $target2" }}proc mode {nick host hand chan text} {set mode [lrange $text 0 6]putserv "MODE $chan :$mode"}proc ckick {nick host hand chan text} {global botnickset target [lindex $text 0]set reason [lrange $text 1 end]if {$target == $nick} {putserv "NOTICE $nick :Are you crazy? Why do you want to be kicked? lamer."return 0}if {[isop $target $chan]} {putserv "NOTICE $nick : You don`t have permission to ban the Op $target"return 0}if {[matchattr $nick n|-] == "1"} {  putserv "KICK $chan $target :$reason"  } elseif {$target != $botnick} {if {[matchattr $target n|-] == "0"} { if {[matchattr $nick -|o $chan] == "1"} {  putserv "KICK $chan $target :$reason"   } elseif {[matchattr $target -|o $chan] == "0"} {  putserv "KICK $chan $target :$reason"   } else {  putserv "NOTICE $nick : You don`t have permission to kick the Op $target" }} elseif {[matchattr $target n|-] == 1} {    putserv "NOTICE $nick : You don`t have permission to kick the Op $target"}} else { putquick "NOTICE $nick : [censored] you"}}proc help {nick host hand chan text} {putserv "NOTICE $nick :Available commands are - !ban !unban !voice !devoice !mode !kick"}putlog "Op tcl loaded."</code></pre></div>Ok this is a mixture of couple of scripts, this should do what you want.<br>Add your ops in DCC with <strong class="text-strong"><span style="color:red">E</span></strong> channel flag, they will only be able to kick/ban (They can not kick/ban oped or voiced users). They can also unban anyone from the channel's current list or from the bots internal banlist but they can not unban any sticky ban. They can voice/devoice, they can also change channel mode. I will recommend this option because, if there is flood going on, they should be able to handle things, 2nd. Add your ops +v so that they can get always +voice and use these pub commands incase the cahnnel is +m they wont have to wait for an op to voice them. 3rd with this script people do not really need to get @op when they can perform all the things when they're voiced. I have modified this script almost 90% and I use it in my channel it works pretty nice. For more let me know.<br><br>Thanks<br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Tue Dec 11, 2007 3:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-12-11T00:18:36-04:00</updated>

		<published>2007-12-11T00:18:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79214#p79214</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79214#p79214"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79214#p79214"><![CDATA[
I have had good experience with the stormbot.tcl, which adds gads of public and msg commands. Give it a try<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Tue Dec 11, 2007 12:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2007-12-10T20:58:36-04:00</updated>

		<published>2007-12-10T20:58:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79213#p79213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79213#p79213"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79213#p79213"><![CDATA[
I was hoping for maybe someone had some positive experience with some of them.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Mon Dec 10, 2007 8:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-12-10T20:50:13-04:00</updated>

		<published>2007-12-10T20:50:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79212#p79212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79212#p79212"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79212#p79212"><![CDATA[
<blockquote class="uncited"><div>I've looked at the archive, but im not sure which to choose </div></blockquote>Try them yourself and <em class="text-italics">you </em>decide which is best.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Dec 10, 2007 8:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2007-12-10T19:05:06-04:00</updated>

		<published>2007-12-10T19:05:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79207#p79207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79207#p79207"/>
		<title type="html"><![CDATA[Which public command script to choose?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79207#p79207"><![CDATA[
Hi, i've recently got my egg up and running again, after a major hdd crash I lost everything, it's been awhile since I messed about with eggdrop, and now im looking for a script.<br><br>A script that let's me add users who will be able to voice, kick and ban <br>via the bot<br>ofcourse they shouldnt be able to kick me hehe.<br><br>I've looked at the archive, but im not sure which to choose<br>so if any of you could point in a good direction of a script<br>which would have the features I mentioned before.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Mon Dec 10, 2007 7:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
