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

	<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>2004-07-20T21:35:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-20T21:35:16-04:00</updated>

		<published>2004-07-20T21:35:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38898#p38898</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38898#p38898"/>
		<title type="html"><![CDATA[nickserv on ircx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38898#p38898"><![CDATA[
Here try this.<br><br>You can try the way I have done below in the code or try using wildcards between the text, or even try matching seperate words in the raw output string using lindex $arg, bla bla.<br><div class="codebox"><p>Code: </p><pre><code>#Set the text matching procedure for the raw.set rawmatch "*Authorization required to use Registered Nickname*"#Set your bots nick password here.set nickpass "iamelite"bind raw - 512 identify:nickproc identify:nick {from key arg} {  global rawmatch nickpass  if {([string match -nocase $rawmatch $arg])} {   putquick "PASS $nickpass" -next  }}</code></pre></div>Try, this it should work.<br><br>Another alternative solution is to, identify the bot's nick<br>password on connection to the server. For that you simply<br>need to bind EVNT, with the parameter init-server.<br><br>I don't think I need give you that init-server code on bind<br>evnt, as there are atleast 100 or more topics in this forum<br>regarding that, both in the tcl and eggdrops section, so just<br>search it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jul 20, 2004 9:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[b_raven]]></name></author>
		<updated>2004-07-20T14:37:18-04:00</updated>

		<published>2004-07-20T14:37:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38889#p38889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38889#p38889"/>
		<title type="html"><![CDATA[nickserv on ircx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38889#p38889"><![CDATA[
Thanks a lot for the help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>*gets to work*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5218">b_raven</a> — Tue Jul 20, 2004 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-20T06:06:31-04:00</updated>

		<published>2004-07-20T06:06:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38872#p38872</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38872#p38872"/>
		<title type="html"><![CDATA[nickserv on ircx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38872#p38872"><![CDATA[
Well for that I would need the output displayed by the raw when it asks for nick identification.<br><br>You mentioned something like this:<br><strong class="text-strong">$nick Authorization required to use Registered Nickname $nick</strong><br><br>So if it's like this you can try a string match:<br><div class="codebox"><p>Code: </p><pre><code>if {([string match -nocase "*Authorization required to use Registered Nickname*" $text])} { putserv "PASS &lt;bots password here&gt;" }</code></pre></div>Something, like this should work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jul 20, 2004 6:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[b_raven]]></name></author>
		<updated>2004-07-20T05:59:36-04:00</updated>

		<published>2004-07-20T05:59:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38871#p38871</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38871#p38871"/>
		<title type="html"><![CDATA[nickserv on ircx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38871#p38871"><![CDATA[
hmmm.... would be helpful if I knew how to match the raw to the string I'm looking for.<br>Don't know the valid operators for if in TCL and iif wildcards are allowed (and if yes, which)...<br> *sounds the noob alarm*  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5218">b_raven</a> — Tue Jul 20, 2004 5:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-20T04:22:19-04:00</updated>

		<published>2004-07-20T04:22:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38869#p38869</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38869#p38869"/>
		<title type="html"><![CDATA[nickserv on ircx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38869#p38869"><![CDATA[
This is very easy. Make a bind to trigger on raw 512.<br><br>Then make a procedure to follow up that bind, also string matching the text, via some conditions with a putserv in the end to send the password to the server to identify the nick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jul 20, 2004 4:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[b_raven]]></name></author>
		<updated>2004-07-20T01:49:05-04:00</updated>

		<published>2004-07-20T01:49:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38867#p38867</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38867#p38867"/>
		<title type="html"><![CDATA[nickserv on ircx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38867#p38867"><![CDATA[
Hi. I recently migrated to Linux and therefore need to switch my bot to eggdrop.<br>There is one last problem before the bot can be put in use, a nickserv autoidenting script.<br>The problem is that IRCX doesn't have a physical representation of the services, so none of the nickserv scripts I've looked at can be used.<br>Was wondering if someone could help me.<br>IRCX sends the following _512_ raw to the client <br>$nick Authorization required to use Registered Nickname $nick<br>(where $nick is the nick of the user)<br>need the bot to reply to that with "/pass password"<br>Hope someone are willing to help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5218">b_raven</a> — Tue Jul 20, 2004 1:49 am</p><hr />
]]></content>
	</entry>
	</feed>
