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

	<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>2003-09-12T03:18:27-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-12T03:18:27-04:00</updated>

		<published>2003-09-12T03:18:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27005#p27005</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27005#p27005"/>
		<title type="html"><![CDATA[change function for TCL script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27005#p27005"><![CDATA[
well same thing, if mkick happened then it means your bot is aop, thus you make it identify, and create another notc bind to see if the bot identified then do the why...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Sep 12, 2003 3:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xGame]]></name></author>
		<updated>2003-09-11T19:47:32-04:00</updated>

		<published>2003-09-11T19:47:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26979#p26979</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26979#p26979"/>
		<title type="html"><![CDATA[change function for TCL script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26979#p26979"><![CDATA[
<strong class="text-strong">Sir_Fz</strong> <br>thanx bro , but when bot sop the aop con't make Masskick ,  must bot Aop when bot see MassKick in channel it will make "chanserv :why $chan $nick" after he get Offender will identify itself to (putserv "NickServ :identify SopNick Passwd") after that will del Offender from Aop's channel list .<br>thanx anyway  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3620">xGame</a> — Thu Sep 11, 2003 7:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-11T08:27:27-04:00</updated>

		<published>2003-09-11T08:27:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26952#p26952</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26952#p26952"/>
		<title type="html"><![CDATA[change function for TCL script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26952#p26952"><![CDATA[
this should work:<div class="codebox"><p>Code: </p><pre><code># Full name of channel services set chanserv "chanserv@Services.dal.net" # Channel *not* to function in set nogo "#channelname" bind kick - * kick:remove bind notc - "* Identification to the nickname *" check:verify proc kick:remove {nick uhost hand chan targ rsn} { if {$targ == $::botnick &amp;&amp; [string match [split $rsn] "*Masskick*"]} { if {![string match $chan $::nogo]} { putserv "PRIVMSG $::chanserv :why $chan [lindex [split [lindex [split $rsn] 2] "!"] 0]" } } } proc check:verify {nick host hand arg {dest ""}} { set arg [ctrl:filter $arg] if {[string equal $dest $::botnick]} { set offender [lindex [split $arg] 0] set aop [lindex [split $arg] 2]set chan [string trim [lindex [split $arg] 5] .] set opnick [string trim [lindex [split $arg] end] .] set thehand [findhand $offender [getchanhost $offender]] if {$offender != "" &amp;&amp; $thehand != "*"} { deluser $thehand } putquick "PRIVMSG $::chanserv :$aop $chan del $opnick" putquick "MODE $chan -o $offender" putkick $chan $offender "You tit head, you just lost access!" } } # ctrl:filter &lt;string&gt; # Strip all control characters. Thanks to Ppslim.  proc ctrl:filter {str} { regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006|\007} $str "" str return $str } # findhand - tries to find a handle proc findhand {nick host} { if {[validuser $nick]} { return $nick } else { set thehand [nick2hand $nick] if {[validuser $thehand]} { return $thehand } set thehand [finduser $host] return $thehand } } ### End ###</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Sep 11, 2003 8:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xGame]]></name></author>
		<updated>2003-09-10T20:38:01-04:00</updated>

		<published>2003-09-10T20:38:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26937#p26937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26937#p26937"/>
		<title type="html"><![CDATA[change function for TCL script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26937#p26937"><![CDATA[
Hi Guys :<br>i want change this code to : if some Offender make masskick in channel when bot Aop i want bot make "chanserv :why $chan $nick" after that  identify to Sop nickname and del nickname from channel Aop list . Network is dalnet .<br>thanx all<br><br>exmp for masskick on DALnet :<br><br>* HiLaLiX was kicked by ChanServ (Masskick from HiLaLiX!zzqvoi@212.62.96.45)<br>* K7LH was kicked by ChanServ (Masskick from HiLaLiX!zzqvoi@212.62.96.45)<br><div class="codebox"><p>Code: </p><pre><code># Full name of channel services set chanserv "chanserv@Services.dal.net" # Channel *not* to function in set nogo "#channelname" bind kick - * kick:remove bind notc - "* has AOp access to *" check:verify proc kick:remove {nick uhost hand chan targ rsn} { if {$targ == $::botnick} { if {![string match $chan $::nogo]} { putserv "PRIVMSG $::chanserv :why $chan $nick" } } } proc check:verify {nick host hand arg {dest ""}} { set arg [ctrl:filter $arg] if {[string equal $dest $::botnick]} { set offender [lindex [split $arg] 0] set chan [string trim [lindex [split $arg] 5] .] set opnick [string trim [lindex [split $arg] end] .] set thehand [findhand $offender [getchanhost $offender]] if {$offender != "" &amp;&amp; $thehand != "*"} { deluser $thehand } putquick "PRIVMSG $::chanserv :aop $chan del $opnick" putquick "MODE $chan -o $offender" putkick $chan $offender "You tit head, you just lost access!" } } # ctrl:filter &lt;string&gt; # Strip all control characters. Thanks to Ppslim.  proc ctrl:filter {str} { regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006|\007} $str "" str return $str } # findhand - tries to find a handle proc findhand {nick host} { if {[validuser $nick]} { return $nick } else { set thehand [nick2hand $nick] if {[validuser $thehand]} { return $thehand } set thehand [finduser $host] return $thehand } } ### End ### </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3620">xGame</a> — Wed Sep 10, 2003 8:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
