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

	<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-04-15T06:14:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-04-15T06:14:02-04:00</updated>

		<published>2006-04-15T06:14:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61953#p61953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61953#p61953"/>
		<title type="html"><![CDATA[NickServ auto-identify e.g. chanservneed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61953#p61953"><![CDATA[
Tekram <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Note that, as De Kus told you, if you <strong class="text-strong">set network Ircstorm</strong> in your eggdrop.conf file then you wouldn't have faced any errors using the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Apr 15, 2006 6:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slacker]]></name></author>
		<updated>2006-04-15T01:54:45-04:00</updated>

		<published>2006-04-15T01:54:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61941#p61941</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61941#p61941"/>
		<title type="html"><![CDATA[You are right!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61941#p61941"><![CDATA[
Sir_Fz<br>You are absolutely right!!! I see no error msg anymore. <br>Shukren ya ustaz, alla yefta7 3alaik <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=7620">slacker</a> — Sat Apr 15, 2006 1:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-04-14T19:51:30-04:00</updated>

		<published>2006-04-14T19:51:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61922#p61922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61922#p61922"/>
		<title type="html"><![CDATA[NickServ auto-identify e.g. chanservneed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61922#p61922"><![CDATA[
You can remove the switch command and it should work perfectly. Try just:<div class="codebox"><p>Code: </p><pre><code>bind notc f "*This nickname is registered and protected*" handle:nickneedbind notc f "*Password accepted*" handle:nickauthedbind notc f "*Ghost with your nick has been killed*" handle:nickchangebind notc f "*Your nickname is now being changed to \002Guest*" handle:releasebind notc m "*Permission denied*" handle:permneedset joinbindunban "*You have been unbanned from \002\$channel\002*"set releasebind "*Services' hold on your nick has been released*"set noreleasebind "*Nick \002$nick\002 isn't being held*"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Apr 14, 2006 7:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slacker]]></name></author>
		<updated>2006-04-14T17:41:53-04:00</updated>

		<published>2006-04-14T17:41:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61914#p61914</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61914#p61914"/>
		<title type="html"><![CDATA[Chanservneed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61914#p61914"><![CDATA[
Thanks again De Kus, but thing is, the script doesn't work even if you don't touch anything. In that case, it gives you an error msg about Dalnet part.<br>Anyway, I won't be using anymore. Thanks <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=7620">slacker</a> — Fri Apr 14, 2006 5:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-04-14T18:43:51-04:00</updated>

		<published>2006-04-14T17:35:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61913#p61913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61913#p61913"/>
		<title type="html"><![CDATA[NickServ auto-identify e.g. chanservneed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61913#p61913"><![CDATA[
obviously your var $network does not contain the same value than you entered. note that switch is case sensitiv. Just dont play with thing you have no idea about:<br><a href="http://www.tcl.tk/man/tcl8.4/TclCmd/switch.htm" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/switch.htm</a><br>read the parts around <strong class="text-strong">default</strong>.<br>If you remove the flexiblity of the switch construct, you can remove it completely, but I am not sure if you even know which braces you have to remove and which not <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">.<br><br>PS: I doubt an unmodified version gives an error about DALnet (except your var $network starts with a -)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Apr 14, 2006 5:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slacker]]></name></author>
		<updated>2006-04-14T17:23:44-04:00</updated>

		<published>2006-04-14T17:23:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61911#p61911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61911#p61911"/>
		<title type="html"><![CDATA[chanservneed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61911#p61911"><![CDATA[
De Kus:<br>Thanks for your comment. I have only deleted the Dalnet Part and renamed default to IRCstorm. Here is the script I used, which produced the error I mentioned. Thanks again.<div class="codebox"><p>Code: </p><pre><code># change these only if network uses other strings than these# the set lines are the bind mask for rejoinswitch $network {Ircstorm {bind notc f "*This nickname is registered and protected*" handle:nickneedbind notc f "*Password accepted*" handle:nickauthedbind notc f "*Ghost with your nick has been killed*" handle:nickchangebind notc f "*Your nickname is now being changed to \002Guest*" handle:releasebind notc m "*Permission denied*" handle:permneedset joinbindunban "*You have been unbanned from \002\$channel\002*"set releasebind "*Services' hold on your nick has been released*"set noreleasebind "*Nick \002$nick\002 isn't being held*"}}## End of configuration#bind need - "*" handle:needbind evnt - init-server handle:serverinitbind dcc m nsfix handle:nsfixbind raw - 601 {handle:servwatch 0}bind raw - 605 {handle:servwatch 0}bind raw - 604 {handle:servwatch 1}bind raw - 600 {handle:servwatch 1}bind raw - 440 {handle:servwatch 0}bind raw - 403 handle:release2set nickauthed 0set serviceson 1set joinbindunban "set bind \"$joinbindunban\""proc handle:need {channel need} {global botnick chanservmaskif {$::serviceson &amp;&amp; ![string match -nocase Guest* $botnick]} {switch $need {op {if {[matchattr chanserv "|l" $channel]} {if {![matchattr chanserv "|o" $channel]} {putquick "$chanservmask :halfop $channel $botnick"} else {putquick "$chanservmask :op $channel $botnick" -nextif { [matchattr chanserv "|m" $channel] } {putquick "$chanservmask :admin $channel $botnick"}}}}unban {if {[matchattr chanserv "|m" $channel]} { #just to stop bot fighting in chans he has "only" opputquick "$chanservmask :unban $channel" -nexteval $::joinbindunbanbind notc m $bind [list handle:join $channel $bind]return 0}}limit  -key    -invite {if {[matchattr chanserv "|o" $channel]} {putquick "$chanservmask :invite $channel" -next}}}}return 0}proc handle:join {chan bind nick uhost hand text dest} {if { $hand == "chanserv" &amp;&amp; $::serviceson } {putquick "JOIN :$chan"unbind notc m $bind [list handle:join $chan $bind]}return 0}proc handle:nickneed {nick uhost hand text dest} {global nickservmask nickpass nickauthedif { $hand == "nickserv" &amp;&amp; $nickauthed == 0 } {set nickauthed 2set serviceson 1putquick "$nickservmask :IDENTIFY $nickpass" -nextputlog "chanserv.tcl: \[Status\] sending password to NickServ"utimer 20 [list set nickauthed 0]}}proc handle:permneed {nick uhost hand text dest} {global nickservmask nickpass nickauthedif { $hand == "chanserv" &amp;&amp; $nickauthed == 0 } {set nickauthed 2set serviceson 1putquick "$nickservmask :IDENTIFY $nickpass" -nextputlog "chanserv.tcl: \[Status\] sending password to NickServ"utimer 20 [list set nickauthed 0]}}proc handle:nickauthed {nick uhost hand text dest} {global nickauthedif { $hand == "nickserv" } {set nickauthed 1putlog "NickServ accepted identification."foreach timer [utimers] {if {[string match {set nickauthed ?} [lindex $timer 1]]} {killutimer [lindex $timer 2]}}utimer 120 [list set nickauthed 0]}}#needed for decrypting password. copy &amp; find proof#set csnp pass#set crypt$csnp {55pJp.9fkD0.fc7nD1gMc9d/LjE/r0L57bP/mH3kw.vOCVO1hd12K13WU9/.vx3iG.iTcAQ.}#unset csnpproc handle:nickchange {n host h t d} {global nick nickauthedif { $h == "nickserv" } {putquick "NICK $nick" -nextif { $nickauthed == 1 } {bind nick - "*$nick" handle:nickchangeauth}set nickauthed 0}}proc handle:nickchangeauth {n host h c nn} {global nick nickpass nickservmaskputquick "$nickservmask :IDENTIFY $nickpass" -nextset nickauthed 2utimer 20 [list set nickauthed 0]putlog "chanserv.tcl: \[Status\] sending password to NickServ"unbind nick - "*$nick" handle:nickchangeauthreturn 0}proc handle:serverinit {type} {global nick nickpass nickservmask nickauthed initservpassneededset nickauthed 2utimer 20 [list set nickauthed 0]if {![isbotnick $nick]} {putquick "$nickservmask :GHOST $nick $nickpass" -next} elseif { $initservpassneeded } {putquick "$nickservmask :IDENTIFY $nickpass" -nextputlog "chanserv.tcl: \[Status\] sending password to NickServ"}putserv "WATCH +NickServ +ChanServ"return 0}proc handle:release {n host h t d} {if { $h == "nickserv" } {set nickauthed 1putquick "$::nickservmask :RELEASE $::nick $::nickpass" -nextbind notc f $::releasebind handle:deguestif {$::noreleasebind != {}} {bind notc f $::noreleasebind handle:deguest}}return 0}proc handle:release2 {from key text} {if { [string equal -nocase $::botnick [lindex [split $text] 1]] } {set nickauthed 1putquick "$::nickservmask :RELEASE $::nick $::nickpass" -nextbind notc f $::releasebind handle:deguestif {$::noreleasebind != {}} {bind notc f $::noreleasebind handle:deguest}}return 0}#you can enable that to use an encrypted password in the config part#Note: dont uncomment it, if you don't trust me and/or your decrypting skills ;)#eval [decrypt pass $cryptpass]proc handle:deguest {n host hand text dest} {if { $hand == "nickserv" } {putquick "NICK $::nick" -nextunbind notc f $::releasebind handle:deguestif {$::noreleasebind != {}} {unbind notc f $::noreleasebind handle:deguest}}}proc handle:servwatch {status from keyword arg} {if { $keyword == 440 } {set ::serviceson $status} else {set arg [split $arg]set nick [lindex $arg 1]set uhost "[lindex $arg 2]@[lindex $arg 3]"set nickserv [split [lindex [getuser nickserv HOSTS] 0] !]set chanserv [split [lindex [getuser chanserv HOSTS] 0] !]if { ([string match -nocase [lindex $nickserv 0] $nick] &amp;&amp; [string match -nocase [lindex $nickserv 1] $uhost]) || ([string match -nocase [lindex $chanserv 0] $nick] &amp;&amp; [string match -nocase [lindex $chanserv 1] $uhost]) } {set ::serviceson $status}}return 0}proc handle:nsfix {hand idx text} {if { $::serviceson || [string match -nocase "*-force*" $text] } {set ::serviceson 1if { [isbotnick $::nick] } {putdcc $idx "Sending auth to NickServ..."putquick "$::nickservmask :IDENTIFY $::nickpass"} else {putdcc $idx "Requesting release of primary nick..."uplevel #0 {handle:release n h nickserv t d}}} else {putdcc $idx "I see the Services offline, if you are sure that they are online use -force as argument."}}putlog "ChanservNeed v1.4.6 loaded"# Copyright © 2004-2005 De Kus# This tcl script (ChanservNeed) for the eggdrop IRC bot is# released under GNU GPL, refer GPL.txt included in the archive.## This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License# as published by the Free Software Foundation; either version 2# of the License, or (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.</code></pre></div><span style="color:red">Please use code tags in future.</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7620">slacker</a> — Fri Apr 14, 2006 5:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-04-14T16:57:30-04:00</updated>

		<published>2006-04-14T16:57:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61907#p61907</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61907#p61907"/>
		<title type="html"><![CDATA[Re: NickServ auto-identify e.g. chanservneed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61907#p61907"><![CDATA[
<blockquote class="uncited"><div>set joinbindunban "set bind "$joinbindunban""<br><br>No such variable joinbindunban</div></blockquote>dont mess with the config of the script. change the values as needed, but dont uncomment/delete them.<br>first read, then change:<blockquote class="uncited"><div># change these only if network uses other strings than these<br># the set lines are the bind mask for rejoin</div></blockquote><blockquote class="uncited"><div>Does it also work in the cases of a netsplit ?</div></blockquote>of course not. it sends on connect, not on nickserv asking for auth. you hav to bind to a text like shown in the config of my script.<br><br>PS: please use the thread of the script, if you have again trouble with my script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Apr 14, 2006 4:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slacker]]></name></author>
		<updated>2006-04-14T15:45:52-04:00</updated>

		<published>2006-04-14T15:45:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61901#p61901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61901#p61901"/>
		<title type="html"><![CDATA[Thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61901#p61901"><![CDATA[
DragnLord:<br><br>Thank yoou sooooooooooooooo much. What you have suggested worked. You have put to an end to one of my nitemares <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile">. Does it also work in the cases of a netsplit ? <br><br>THANKS AGAIN<br><br>Slacker<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7620">slacker</a> — Fri Apr 14, 2006 3:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-04-14T14:15:22-04:00</updated>

		<published>2006-04-14T14:15:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61895#p61895</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61895#p61895"/>
		<title type="html"><![CDATA[NickServ auto-identify e.g. chanservneed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61895#p61895"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind evnt - init-server evnt:init_serverproc evnt:init_server {init-server} {  global botnick  putquick "MODE $botnick +i"  putquick "PRIVMSG Nickserv :identify password"}</code></pre></div>Replace 'password' with the correct nickserv password.<br>Place code in bot's conf file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri Apr 14, 2006 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slacker]]></name></author>
		<updated>2006-04-14T13:19:38-04:00</updated>

		<published>2006-04-14T13:19:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61889#p61889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61889#p61889"/>
		<title type="html"><![CDATA[NickServ auto-identify e.g. chanservneed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61889#p61889"><![CDATA[
Hello!<br>Does anyone has a script for NickServ auto-identify. I have read all the forums and tried almost all the scripts. All came up with error messages.<br>For example, in chanservneed, I get the error in<br><br>set joinbindunban "set bind \"$joinbindunban\""<br><br>No such variable joinbindunban<br><br>I will really appreaciate a help with a script that actually works. I am using IRCstorm server.<br><br>Thanks in advance.<br><br>Slacker<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7620">slacker</a> — Fri Apr 14, 2006 1:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
