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

	<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-08-16T17:42:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ldevries]]></name></author>
		<updated>2013-08-16T17:42:16-04:00</updated>

		<published>2013-08-16T17:42:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101988#p101988</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101988#p101988"/>
		<title type="html"><![CDATA[Xchat DCC Eggdrop Login]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101988#p101988"><![CDATA[
I need help with this... I'm trying to have a autologin to the bot via DCC<br><div class="codebox"><p>Code: </p><pre><code>my $version = "v1.0";Xchat::register("Login", $version, "Login $version", "");$hook{"NOTICE"}  = Xchat::hook_server("NOTICE", "login");$hook{"PRIVMSG"} = Xchat::hook_server("PRIVMSG", "login");sub login {my $nick = $_[0][0];my $chanmsg = $_[0][1];if ($chanmsg =~ m/^(Please enter your nickname.)$/i) { if ($nick eq 'OpBot') { Xchat::command("say myNICKNAME"); }elsif ($nick eq 'tradervic') { Xchat::command("say myNICKNAME"); }else { Xchat::command(""); }if ($chanmsg =~ m/^(Enter your password.)$/i) { Xchat::command("say myPWD"); }if ($nick eq 'OpBot') { Xchat::command("say PASSWORD"); }elsif ($nick eq 'tradervic') { Xchat::command("say PASSWORD"); }else { Xchat::command(""); }}return Xchat::EAT_NONE;}Xchat::print("Login $version loaded");</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12199">ldevries</a> — Fri Aug 16, 2013 5:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
