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

	<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>2003-11-22T09:02:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-22T09:02:17-04:00</updated>

		<published>2003-11-22T09:02:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30518#p30518</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30518#p30518"/>
		<title type="html"><![CDATA[Can't get my bot to ID after a netsplit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30518#p30518"><![CDATA[
I had that once and i fixed it like this:<div class="codebox"><p>Code: </p><pre><code>if {("[string tolower $dest]" == "[string tolower $::botnick]") &amp;&amp; ("$nick" == "NickServ")} {</code></pre></div>NickServ is always the same (capital N and S) so no need to do string tolower here.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Nov 22, 2003 9:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-11-22T08:48:45-04:00</updated>

		<published>2003-11-22T08:48:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30515#p30515</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30515#p30515"/>
		<title type="html"><![CDATA[Can't get my bot to ID after a netsplit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30515#p30515"><![CDATA[
Synapse wrote:<blockquote class="uncited"><div>Tcl error [self:op]: syntax error in expression "([string tolower $dest] == [string tolower $::botnick]) &amp;&amp; (...": variable references require preceding $</div></blockquote> <br><br>Change both lines that say:<div class="codebox"><p>Code: </p><pre><code>if {([string tolower $dest] == [string tolower $::botnick]) &amp;&amp; ($nick == NickServ)} {</code></pre></div> <br>into<div class="codebox"><p>Code: </p><pre><code>if {([string tolower $dest] == [string tolower $::botnick]) &amp;&amp; ([string tolower $nick] == "nickserv")} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Sat Nov 22, 2003 8:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-22T08:34:20-04:00</updated>

		<published>2003-11-22T08:34:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30514#p30514</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30514#p30514"/>
		<title type="html"><![CDATA[Can't get my bot to ID after a netsplit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30514#p30514"><![CDATA[
*sigh*<br>This one doesn't work either. The bot doesn't ID to nickserv and when I do it manually  I now get this error.<br><br>Tcl error [self:op]: syntax error in expression "([string tolower $dest] == [string tolower $::botnick]) &amp;&amp; (...": variable references require preceding $<br><br>I've obviously missed something. Maybe I need to specify nick and channels in that argument somewhere.<br><br>Oh well - thanks for trying anyway<p>Statistics: Posted by Guest — Sat Nov 22, 2003 8:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-21T10:20:29-04:00</updated>

		<published>2003-11-21T10:20:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30473#p30473</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30473#p30473"/>
		<title type="html"><![CDATA[Can't get my bot to ID after a netsplit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30473#p30473"><![CDATA[
You should've figured that by yourself, its pretty obvious what to change.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Nov 21, 2003 10:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-21T03:33:42-04:00</updated>

		<published>2003-11-21T03:33:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30467#p30467</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30467#p30467"/>
		<title type="html"><![CDATA[Can't get my bot to ID after a netsplit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30467#p30467"><![CDATA[
That's fantastic. I'll try it and let you know.<br>Many thanks again.<p>Statistics: Posted by Guest — Fri Nov 21, 2003 3:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Darkj]]></name></author>
		<updated>2003-11-20T19:29:01-04:00</updated>

		<published>2003-11-20T19:29:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30445#p30445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30445#p30445"/>
		<title type="html"><![CDATA[Can't get my bot to ID after a netsplit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30445#p30445"><![CDATA[
just change<br><br>bind notc - "*password accepted*" self:op <br><br>to<br><br>bind notc - "*password for*accepted*" self:op <br><br>that should work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3459">Darkj</a> — Thu Nov 20, 2003 7:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-20T19:09:26-04:00</updated>

		<published>2003-11-20T19:09:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30442#p30442</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30442#p30442"/>
		<title type="html"><![CDATA[Can't get my bot to ID after a netsplit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30442#p30442"><![CDATA[
Many thanks for the reply - that's great <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br><blockquote class="uncited"><div>this will let the bot identify on notice and op itself when password accepted.<br><br>dont forget to edit the PASS and the password accepted message (if needed) to suit you. </div></blockquote>Confirmation from nickserv is:<br>[21:35] -NickServ- Password for BOTNICK accepted.<br><br>Would that require a slight alteration to the script?<p>Statistics: Posted by Guest — Thu Nov 20, 2003 7:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-20T18:30:38-04:00</updated>

		<published>2003-11-20T18:30:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30436#p30436</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30436#p30436"/>
		<title type="html"><![CDATA[Can't get my bot to ID after a netsplit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30436#p30436"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind notc - "*please identify to NickServ now*" identify:nickbind notc - "*password accepted*" self:opproc identify:nick {nick uhost hand dest arg} {if {([string tolower $dest] == [string tolower $::botnick]) &amp;&amp; ($nick == NickServ)} { putserv "PRIVMSG nickserv :identify PASS" }}proc self:op {nick uhost hand dest arg} {if {([string tolower $dest] == [string tolower $::botnick]) &amp;&amp; ($nick == NickServ)} { foreach chan [channels] {  putserv "PRIVMSG chanserv :op $chan $::botnick"  } }}</code></pre></div>this will let the bot identify on notice and op itself when password accepted.<br><br>dont forget to edit the PASS and the password accepted message (if needed) to suit you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Nov 20, 2003 6:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-20T17:41:21-04:00</updated>

		<published>2003-11-20T17:41:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30431#p30431</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30431#p30431"/>
		<title type="html"><![CDATA[Can't get my bot to ID after a netsplit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30431#p30431"><![CDATA[
My bot needs to id to nickserv in order to get ops.<br><br>Does anyone know how to convert a simple irc id into tcl so I can add it as a script please.<br><br>Connecting with a regged nick on this network you get:<br>-NickServ- This is a registered nick, please identify to NickServ now.<br>-<br>-NickServ- To identify, use /ns id &lt;password&gt;<br>-<br>-NickServ- Nick will be changed in 30 seconds if you do not identify.<br><br>And the perform I use is:<br>/msg nickserv identify PASS<br><br>The bot needs to do it on connect.<br><br><br><br>I tried a premade tcl script but that seemed to cause conflicts with my bot and it refused to load until I removed it <br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"> <br><br>Many thanks in advance<p>Statistics: Posted by Guest — Thu Nov 20, 2003 5:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
