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

	<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>2006-11-17T23:18:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[K3rN3L_P4nIC]]></name></author>
		<updated>2006-11-17T23:18:42-04:00</updated>

		<published>2006-11-17T23:18:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68176#p68176</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68176#p68176"/>
		<title type="html"><![CDATA[find nick access]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68176#p68176"><![CDATA[
I need a similar script but kickban any nicks if not equal a access aop/sop nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8397">K3rN3L_P4nIC</a> — Fri Nov 17, 2006 11:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-11-17T15:55:10-04:00</updated>

		<published>2006-11-17T15:55:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68161#p68161</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68161#p68161"/>
		<title type="html"><![CDATA[find nick access]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68161#p68161"><![CDATA[
Rough piece of code to get started with, probably a few flaws in there tho..<br>The regular expression is based on an example from dal.net, as I did'nt find any documentation on the exact response from Chanserv<br><br>(I guess it would be possible to just split the text and use lindex to extract the various bits of information to make it abit more fault-tolerant, tho using regular expressions makes it easier to ditch "non-why" notices from chanserv).<br><br>Oh, and since I don't use dalnet or services such as Chanserv, code is untested <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><div class="codebox"><p>Code: </p><pre><code>bind mode - "#hackmasters +o" hackmaster:checkopbind notc - "*" hackmaster:checkwhyproc hackmaster:checkop {nick host hand chan mode target} { if {[string compare -nocase $::botnick $target] == 0} {return} if {[string compare -nocase "ChanServ" $nick] != 0} {return} putserv "CHANSERV WHY $chan $target"}proc hackmaster:checkwhy {nick host hand text dest} { if {[string compare -nocase $::botnick $dest] !=0]} {return} if {[string compare -nocase "ChanServ" $nick] !=0} {return} if {[regexp {(.+) has (SOp|AOp|Founder) access to (.+)\. Reason: Identification to the nickname (.*)} $text match checknick checkaccess checkchan checkuser] != 1} {return} switch -- $checkaccess {  "AOp" -  "SOp" {   puthelp "PRIVMSG $checkchan :Welcome ${checknick}, How are you ${checkuser}?  }  "Founder" {   puthelp "PRIVMSG $checkchan :Welcome Master"   puthelp "PRIVMSG $checkchan :$checknick is Founder $checkchan"  }  default {}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Nov 17, 2006 3:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-17T14:19:44-04:00</updated>

		<published>2006-11-17T14:19:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68158#p68158</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68158#p68158"/>
		<title type="html"><![CDATA[find nick access]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68158#p68158"><![CDATA[
Take a look at the "Flag On Join" script or search the tcl archive for "mode change"  (keep in mind, eggdrop does not support all of the newer channel/user modes, so you'd have to make a script work on "raw" msgs from the server..)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Fri Nov 17, 2006 2:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-11-17T13:55:06-04:00</updated>

		<published>2006-11-17T13:55:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68152#p68152</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68152#p68152"/>
		<title type="html"><![CDATA[find nick access]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68152#p68152"><![CDATA[
This forum is for TCL, not mirc scripting.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Fri Nov 17, 2006 1:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PlayTecH]]></name></author>
		<updated>2006-11-17T12:55:36-04:00</updated>

		<published>2006-11-17T12:55:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68147#p68147</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68147#p68147"/>
		<title type="html"><![CDATA[find nick access]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68147#p68147"><![CDATA[
Hi, I made a little script that find nick access  when they (ops ) join to channel, then chanserv sets mode +o . I want to use it on my eggdrop. Can you help me please.<br> <br>on 1:op:#hackmasters:if ($opnick != $me) &amp;&amp; ($nick == ChanServ) /chanserv why #hackmasters $opnick<br>on *:NOTICE:*:*:{ {<br>    if $nick == chanserv { <br>      if (AOp isin $1-) { msg #hackmasters  welcome  $1 , How Are you  $12 ? }<br>      if (SOp isin $1-) { msg #hackmasters  welcome  $1 , How Are you  $12 ? }<br>      if (FOUNDER isin $1-) { msg #hackmasters  Welcome Master | /msg #hackmasters  $1 is Founder #HackMasters }     <br>      }<br>    }<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8395">PlayTecH</a> — Fri Nov 17, 2006 12:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
