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

	<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>2013-10-24T22:48:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2013-10-24T22:48:05-04:00</updated>

		<published>2013-10-24T22:48:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102152#p102152</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102152#p102152"/>
		<title type="html"><![CDATA[Simple editing required.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102152#p102152"><![CDATA[
<blockquote class="uncited"><div>And THAT is probably why you are not getting a lot of responses... I suspect that this will be a totally custom thing, that works only on DALnet.</div></blockquote>DALnet originated this command but other networks have a module of this.<br><br>On DALnet, it outputs as such. - /chanserv why #IRCSpeed istok<br><div class="codebox"><p>Code: </p><pre><code>-ChanServ- istok has FOUNDER access to #IRCSpeed.  Reason: Identification to the founder's nickname, istok. Channel Frozen: NO</code></pre></div>On IRCSpeed, the output is similar, but more basic. - /chanserv why #IRCSpeed istok<br><div class="codebox"><p>Code: </p><pre><code>-ChanServ- istok (istok) has FOUNDER access to channel #IRCSpeed.</code></pre></div>The second why uses a displaynick, which is the name inside the ( and ) (Main nickname for groups, on anope).<br><br>For this script to work, it would need to why again, on nickchanges, along with a why on modechg (@) or join. One of the user's here, Arfer, has a script for this. He is away from IRC and the PC at this time but hopefully will return soon.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Thu Oct 24, 2013 10:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2013-10-24T13:17:22-04:00</updated>

		<published>2013-10-24T13:17:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102151#p102151</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102151#p102151"/>
		<title type="html"><![CDATA[Simple editing required.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102151#p102151"><![CDATA[
<blockquote class="uncited"><div>...<br>/whois will change depending on user.</div></blockquote>Of course it will.<br><blockquote class="uncited"><div> mayb what we can do is to do a why or check access on the nick should it triggers eggdrop ie :</div></blockquote>Now you are catching on to the idea.   <br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div>Thanks willyw. useful commands for you would be<br><br>/cs why #channel nick <br><br>or <br><br>/cs access #channel nick</div></blockquote><br><br>"why" is interesting.  Not something that I am super familiar with though.<br>Perhaps it is a DALnet thing.<br>And THAT is probably why you are not getting a lot of responses... I suspect that this will be a totally custom thing, that works only on DALnet.<br><br>For me to work on it, I would have to register a channel, AOP list for it, etc.    Probably the best bet is for us both to be online at the same time.... meet...  and work on it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Oct 24, 2013 1:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2013-10-24T13:02:08-04:00</updated>

		<published>2013-10-24T13:02:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102150#p102150</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102150#p102150"/>
		<title type="html"><![CDATA[Simple editing required.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102150#p102150"><![CDATA[
nope im not on dalnet now. /whois will change depending on user. mayb what we can do is to do a why or check access on the nick should it triggers eggdrop ie :<br><br>each time when eggdrops get triggered either by getting kicked or mass kick it checks for access level of kicker and deletes the access of results returned.. just an idea. <br><br>Thanks willyw. useful commands for you would be<br><br>/cs why #channel nick <br><br>or <br><br>/cs access #channel nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10110">gamble27</a> — Thu Oct 24, 2013 1:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2013-10-24T11:35:06-04:00</updated>

		<published>2013-10-24T11:35:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102149#p102149</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102149#p102149"/>
		<title type="html"><![CDATA[Simple editing required.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102149#p102149"><![CDATA[
<blockquote class="uncited"><div>...</div></blockquote>Got all that.<br><blockquote class="uncited"><div>I joins in channel #egg using A access which is my access but using B nick.(im identified to A access but im using different nick)</div></blockquote>What does /whois B return?<br><blockquote class="uncited"><div>ill be around in case you need more information <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>Are you on DALnet right now?<br>What channel and/or what nick?  <br>PM it to me here, if you wish.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Oct 24, 2013 11:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2013-10-24T11:24:22-04:00</updated>

		<published>2013-10-24T11:24:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102148#p102148</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102148#p102148"/>
		<title type="html"><![CDATA[Simple editing required.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102148#p102148"><![CDATA[
Alright, let me be clear. Above tcl is working fine.  what it does is when there any aop kicks the eggdrop it will delete the access of the aop and sends channel memo. It does the same when an aop try to mass kick the channel ie: 4 kicks in 10 sec it deletes the aop, deops him and send channel memo too. Perfect. Now this are straight forward scenarios. Now problem comes when a user joins with a different nick from the access he has in the channel and kicks the eggdrop or does masskick. In this case eggdrop tries to delete the different nick in the access list (it doesnt exist) and sends a channel memo.Below is breakdown of what im saying :<br><br>My access  in channel #egg : A<br><br>I joins in channel #egg using A access which is my access but using B nick.(im identified to A access but im using different nick)<br><br>now if i kick the eggdrop using B nick or does a masskick in channel using B nick eggdrop cannot stop me as tcl is trying to delete B nick in access list instead of A.<br><br>I hope it helps, thanks for your interest. ill be around in case you need more information <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=10110">gamble27</a> — Thu Oct 24, 2013 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2013-10-24T10:28:41-04:00</updated>

		<published>2013-10-24T10:28:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102147#p102147</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102147#p102147"/>
		<title type="html"><![CDATA[Re: Simple editing required.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102147#p102147"><![CDATA[
<blockquote class="uncited"><div>...<br> masskicker joins with nick B using A access, <br>...</div></blockquote>I just had a look, on DALnet.   It didn't do what I expected, based on your above.<br><br>I expected something like this to appear, in a line of a /whois report:<blockquote class="uncited"><div>UserB is logged in as UserA</div></blockquote>Freenode does it that way.<br><br>It didn't appear that way, on DALnet.   Only appeared if the current nick was identified, as in:<blockquote class="uncited"><div>UserA has identified for this nick</div></blockquote>So ...   I'm not exactly sure what you mean yet.<br>Please explain:  "joins with nick B using A access"  as it applies to DALnet.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Oct 24, 2013 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2013-10-24T03:18:27-04:00</updated>

		<published>2013-10-24T03:18:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102146#p102146</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102146#p102146"/>
		<title type="html"><![CDATA[dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102146#p102146"><![CDATA[
Oh pardon me. Its dalnet im talking about.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10110">gamble27</a> — Thu Oct 24, 2013 3:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2013-10-23T13:30:41-04:00</updated>

		<published>2013-10-23T13:30:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102145#p102145</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102145#p102145"/>
		<title type="html"><![CDATA[Simple editing required.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102145#p102145"><![CDATA[
What irc network?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Oct 23, 2013 1:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2013-10-23T00:17:15-04:00</updated>

		<published>2013-10-23T00:17:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102143#p102143</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102143#p102143"/>
		<title type="html"><![CDATA[Simple editing required.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102143#p102143"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>namespace eval MassKick {   # self explanatory   set mass(limit) "1:5"   set memo(mass) "MSG"   set memo(bot) "MSG"   # don't count or do anything to people with local/global friend flag or whatever you wish   set mass(friends) "f|f"   # don't edit below this line   setudef flag massKick   setudef str massKicker   setudef str massCount   # binds   bind kick * * [namespace current]::kicked   bind part - * [namespace current]::remove   bind sign - * [namespace current]::remove   bind nick - * [namespace current]::nickCh   # AOP removal and memo   proc takeAction {chan nick pos} {     dropAOP $chan $nick "1"     doThis "2" $chan $nick $pos   }   # bot kicked   proc botKicked {chan nick} {     dropAOP $chan $nick "2"     resetChan $chan   }   # reset   proc resetChan {chan} {     channel set $chan massKicker {}     channel set $chan massCount {}   }   # remove AOP, deop and send memo   proc dropAOP {chan nick act} {     variable memo     switch -- $act {       "1" {         set message [string map -nocase [list "%chan" "$chan" "%nick" "$nick"] $memo(mass)]       }       "2" {         set message [string map -nocase [list "%chan" "$chan" "%nick" "$nick"] $memo(bot)]       }     }    putserv "Chanserv aop $chan del $nick"     putserv "Chanserv deop $chan $nick"    putserv "Memoserv sendsop $chan $message"   }   # triggers:   # 1 - add, 2 - remove, 3 - replace nick, 4 - replace count   proc doThis {act chan nick {pos ""} {count ""} {newNick ""}} {     set massKicker [channel get $chan massKicker]     set massCount [channel get $chan massCount]     switch -- $act {       "1" {         lappend massKicker $nick         lappend massCount 1       }       "2" {         set massKicker [lreplace $massKicker $pos $pos]         set massCount [lreplace $massCount $pos $pos]       }       "3" {         set massKicker [lreplace $massKicker $pos $pos $newNick]       }       "4" {         set massCount [lreplace $massCount $pos $pos $count]       }     }     channel set $chan massKicker $massKicker     channel set $chan massCount $massCount   }   # triggers:   # 1 - part &amp; sign, 2 - nick change   proc eventThis {event chan nick {newNick ""}} {     set massKicker [channel get $chan massKicker]     if {$nick ni $massKicker} return     set pos [lsearch $massKicker $nick]     switch -- $event {       "1" {         doThis "2" $chan $nick $pos       }       "2" {         doThis "3" $chan $nick $pos "0" $newNick          }     }   }   # part &amp; sign   proc remove {nick uhost handle chan {text ""}} {     if {![channel get $chan massKick]} return     if {[isbotnick $nick]} {       resetChan $chan       } else {       eventThis "1" $chan $nick     }   }   # nick   proc nickCh {nick uhost handle chan newnick} {     if {![channel get $chan massKick]} return     if {[isbotnick $nick]} return     eventThis "2" $chan $nick $newNick   }   # kick   proc kicked {nick uhost hand chan target reason} {     if {![channel get $chan massKick]} return     variable mass     if {[matchattr $hand $mass(friends) $chan]} return     if {[isbotnick $nick]} return     if {$nick eq "Chanserv"} return     if {[isbotnick $target]} {       botKicked $chan $nick       return     }     set massKicker [channel get $chan massKicker]     if {$nick ni $massKicker} {       doThis "1" $chan $nick       return     }     set pos [lsearch $massKicker $nick]     set massCount [channel get $chan massCount]     set count [lindex [split $massCount] $pos]     set info [split $mass(limit) :]     if {$count &gt;= [lindex $info 0]} {       takeAction $chan $nick $pos       return       } else {       incr count     }     utimer [lindex $info 1] [list [namespace current]::doThis "2" $chan $nick $pos]     doThis "4" $chan $nick $pos $count   } } </code></pre></div>This tcl is working fine. Its masskick pro tcl which meant to safeguard the channel for attempt of masskick. Problem here is if i uses a nick which isnt in access of the channel the tcl cant detect the access and cant del it. <br><br>below is example <br><br>nick in aop list : A<br> masskicker joins with nick B using A access,  tcl unable  to detect whose access is it using thus unable to delete the access. It still sends memo to channel but using B nick. It should del A access and send memo as A access been deleted for attempt of masskick.<br><br>So things to do will be able to distinguish access of any nick joining the channel and act accordingly should the need arise. thanks in advance <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=10110">gamble27</a> — Wed Oct 23, 2013 12:17 am</p><hr />
]]></content>
	</entry>
	</feed>
