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

	<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>2005-05-02T03:39:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2005-05-02T03:39:30-04:00</updated>

		<published>2005-05-02T03:39:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48858#p48858</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48858#p48858"/>
		<title type="html"><![CDATA[identifying nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48858#p48858"><![CDATA[
<blockquote class="uncited"><div>You cannot identify a nick you are not currently having (at least no nickserv I met until now supported that).</div></blockquote>heh... try "/ns help identify" on euirc <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><blockquote class="uncited"><div>-NickServ- If you provide a nickname, you will be identified for this<br>-NickServ- nick, including vhost and autojoin.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Mon May 02, 2005 3:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-28T03:13:28-04:00</updated>

		<published>2005-04-28T03:13:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48642#p48642</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48642#p48642"/>
		<title type="html"><![CDATA[identifying nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48642#p48642"><![CDATA[
You cannot identify a nick you are not currently having (at least no nickserv I met until now supported that).<br>you have to change the nick, capture if its in use, then either identify it, or recover, release and retry and finally indentify (note, we have to change the bots primary nick, otherwise the hardcoded keep-primary nick will change us back before we identified), then we have to change back, we haev to be prepaired some idiots took our and might have to ghost it, then we need to reidentify the bot nick... so you see... its almost the same work, so since I dont have restrictions on connections I took way, if you need another, maybe someone else has something or codes something.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu Apr 28, 2005 3:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CooLB0Y]]></name></author>
		<updated>2005-04-28T02:02:26-04:00</updated>

		<published>2005-04-28T02:02:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48640#p48640</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48640#p48640"/>
		<title type="html"><![CDATA[identifying nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48640#p48640"><![CDATA[
there is no other way that it doesnt uses other connection i want the bot like used .dump nickserv identify nick passwd i,the same bot identifies.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4744">CooLB0Y</a> — Thu Apr 28, 2005 2:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-04-26T04:26:11-04:00</updated>

		<published>2005-04-26T04:26:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48571#p48571</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48571#p48571"/>
		<title type="html"><![CDATA[identifying nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48571#p48571"><![CDATA[
Why need such a long code for the bot to identify to 10 nicks every day? Just make a simple proc, and continuous make it execute after 240hrs (10 days); only 2 timers needed or just make it execute on the 1st, 11th, 21st of every month, through bind time.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Apr 26, 2005 4:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-25T08:34:39-04:00</updated>

		<published>2005-04-25T08:34:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48534#p48534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48534#p48534"/>
		<title type="html"><![CDATA[identifying nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48534#p48534"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#De Kus' RnS-Guest scriptset rnsgpass "PASS"set rnsgnotify "OWNER"bind time - "00 06 ?2*" rnsg:holdbind pub m|m !recover rnsg:recovercatch {unbind notc f|- "*" rnsg:recover:cb}proc rnsg:hold {m h d mo y} {set nick "RnS-Guest"set sock [socket irc.de.euirc.net 6667]if { [fconfigure $sock -error] != "" } {timer 1 [list rnsg:hold [expr $m + 1] $h $d $mo $y]]putlog "RnS-Guest.tcl: Verbindung fehlgeschlagen, versuche es gleich nochmal."return 0}puts $sock "NICK RnS-Guest"puts $sock "PASS $::rnsgpass"puts $sock "USER guesthold . . :der geschützte Gastnick für den RnS JavaChat"flush $sockwhile { [lindex [split [gets $sock] :] 1] == "Nickname is already in use." } {puts $sock "NICK [set nick \"RnS-Guest[rand 99]\"]"flush $sock}gets $sock lineset lines "$line\n"set reply [lindex [split $line :] 1]puts $sock "PONG :$reply"puts $sock "NOTICE $reply :VERSION ${::ctcp-version}"puts $sock "MODE $nick +B"flush $sockwhile { [set line [gets $sock]] != ":$nick MODE $nick :+B" &amp;&amp; ![eof $sock] } {append lines "$line\n"}if { $nick != "RnS-Guest" } {puthelp "PRIVMSG #rns :RnS-Guest: Es tut mir leid, dass dich stören musste, aber ich brauche Nick 2mal im Monat diesen Nick für 1 Sekunde. Du kannst ihn jetzt wieder haben."puts $sock "$::nickservmask :RECOVER RnS-Guest $::rnsgpass"flush $sockappend lines "[gets $sock]\n"puts $sock "$::nickservmask :RELEASE RnS-Guest $::rnsgpass"flush $sockappend lines "[gets $sock]\n"puts $sock "NICK RnS-Guest"flush $sockappend lines "[gets $sock]\n"puts $sock "$::nickservmask :IDENTIFY $::rnsgpass"flush $sockappend lines "[gets $sock]\n"}puts $sock "QUIT :thats all I wanted"flush $sockclose $sockif { [string match "*Passwort akzeptiert*" $lines] } {putlog "RnS-Guest.tcl: Nick erfolgreich identifiziert"} else {putserv "PRIVMSG [hand2nick $::rnsgnotify]:Nick RnS-Guest nicht erfolgreich identifiziert. Schreibe error Log..."putlog "RnS-Guest.tcl: Nick nicht erfolgreich identifiziert. Schreibe error Log..."set fd [open logs/rnsg_error.log w]puts -nonewline $fd $linesclose $fd}return 0}proc rnsg:recover {nick uhost hand chan text} {if { [string equal -nocase $chan "#rns"] &amp;&amp; [string equal -nocase $text "RnS-Guest"] } {putquick "$::nickservmask :RECOVER RnS-Guest $::rnsgpass"set ::rnsglastnick $nickbind notc f|- "*" rnsg:recover:cbbind nick - "*" rnsg:sorrytimer 2 [list catch {unbind notc f|- "*" rnsg:recover:cb}]timer 2 [list catch {unbind nick - "*" rnsg:sorry}]return 1}return 0}proc rnsg:recover:cb {nick uhost hand text dest} {if { $hand == "nickserv" } {puthelp "NOTICE $::rnsglastnick :NickServ antwortete: $text"catch {unbind notc f|- "*" rnsg:recover:cb}if { $text == "User claiming your nick has been killed." } {putserv "$::nickservmask :RELEASE RnS-Guest $::rnsgpass"puthelp "NOTICE $::rnsglastnick :Release Chatname wieder..."}}return 0}proc rnsg:sorry {nick uhost hand chan newnick} {if { [string equal -nocase $nick RnS-Guest] } {puthelp "NOTICE $newnick :Es tut mir leid, $::rnsglastnick veranlasste den allgemeinen Java-Chat Nick von RnS freizugeben. Dies geschah wahrscheinlich, weil du ihn zu lange ohne ersichtlichen Grund benutzt hattest."puthelp "NOTICE $newnick :Es ist dir freigestellt einen neuen Nick zu wählen. Wenn dich der Java-Client nicht ohnehin dazu auffordert kannst du dies mit \"/nick &lt;neuernick&gt;\" machen (ohne die Anführungszeichen)."catch {unbind nick - "*" rnsg:sorry}}return 0}</code></pre></div>I never inted the script to work for other nicks, so you probably best replace "RnS-Guest" with whatever nick you like in the wohle script. Perhaps someone else changes to use a global variable ^-^.<br><br>the time bind triggers on each 2nd, 12th and 22th of the month.<br>the public trigger can be used to use the nickserv command "RECOVER" on the nick (doesnt require the 2nd connection) to give it free.<br><br>I hope you can figure out the German lines within the context of the procedure structures ^-^.<br><br><strong class="text-strong">NOTE: this script opens an second temporare IRC connection which could be against the rules of your IRC network or your shell account. You are all responsible yourself using this script!</strong><br><br>PS: the script uses the forward of serverpass to nickserv (because it was not intented to be used on other networks ^^), so networks not supporting this have to send the password to nickserv after the login.<br><br>Don't forget to replace the IRC server domain name in the socket expression <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>there must be a global var called "nickservmask" which should be "nickserv" or "privmsg nickserv".<br>ctcp-version must not be unset and should contain a valid version accept by the server if requested.<br><br>The login sequenze may not work for non net-type 5 networks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon Apr 25, 2005 8:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CooLB0Y]]></name></author>
		<updated>2005-04-25T02:51:39-04:00</updated>

		<published>2005-04-25T02:51:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48532#p48532</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48532#p48532"/>
		<title type="html"><![CDATA[identifying nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48532#p48532"><![CDATA[
hello,i want to ask if its possible to make a tcl that keeps the eggy to identify several nicks every 10 days?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4744">CooLB0Y</a> — Mon Apr 25, 2005 2:51 am</p><hr />
]]></content>
	</entry>
	</feed>
