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

	<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>2008-05-06T18:23:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-05-06T18:23:57-04:00</updated>

		<published>2008-05-06T18:23:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82759#p82759</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82759#p82759"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82759#p82759"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>I didn't say that error, now did I... I said the "regaining nick" error.  Please read carefully, thanks.</div></blockquote>This is not true.<div class="codebox"><p>Code: </p><pre><code># This setting makes the bot try to get his original nickname back if its# primary nickname is already in use.set keep-nick 1</code></pre></div>This is my eggdrop.conf setting. Now what will happen if you have keep-nick set to 1 and use that script (albeit properly with split) it will allow you to use any nickname and change the regained nick to that nick as evidenced below.<blockquote class="uncited"><div>&lt;speechles&gt; /notice sp33chy !cnick splorky<br>&lt;sp33chy&gt; Regained nickname 'splorky'.</div></blockquote>It seems using $::nick updates the regained nick to the change. Using /nick newnick does not.</div></blockquote> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> For whatever reason, It didn't register in my mind the eggdrop nick variable, which is the one of course keep-nick tries to retain.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue May 06, 2008 6:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-05-06T17:42:43-04:00</updated>

		<published>2008-05-06T17:42:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82758#p82758</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82758#p82758"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82758#p82758"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind notc - "!cnick * " notice:notregproc notice:notreg {n u h text {dest ""}} { global nick if {$dest == "" || [isbotnick $dest]} {  set nick "[lindex [split [stripcodes bcruag $text]] 1]" }}</code></pre></div>This is a better approach.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Tue May 06, 2008 5:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-05-06T16:08:52-04:00</updated>

		<published>2008-05-06T16:08:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82754#p82754</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82754#p82754"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82754#p82754"><![CDATA[
<blockquote class="uncited"><div>I didn't say that error, now did I... I said the "regaining nick" error.  Please read carefully, thanks.</div></blockquote>This is not true.<div class="codebox"><p>Code: </p><pre><code># This setting makes the bot try to get his original nickname back if its# primary nickname is already in use.set keep-nick 1</code></pre></div>This is my eggdrop.conf setting. Now what will happen if you have keep-nick set to 1 and use that script (albeit properly with split) it will allow you to use any nickname and change the regained nick to that nick as evidenced below.<blockquote class="uncited"><div>&lt;speechles&gt; /notice sp33chy !cnick splorky<br>&lt;sp33chy&gt; Regained nickname 'splorky'.</div></blockquote>It seems using $::nick updates the regained nick to the change. Using /nick newnick does not.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Tue May 06, 2008 4:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-05-06T16:01:21-04:00</updated>

		<published>2008-05-06T16:01:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82752#p82752</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82752#p82752"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82752#p82752"><![CDATA[
<blockquote class="uncited"><div>try this<div class="codebox"><p>Code: </p><pre><code>bind notc - "!cnick * " notice:notregproc notice:notreg {n u h text {dest ""}} { global nick if {$dest == ""} {set dest $::botnick} set striped_text [stripcodes "bcruag" "$text"] set nicks [lindex $striped_text 1] set nick "$nicks"}</code></pre></div></div></blockquote>pretty sure, since your not splitting $text during stripping it or afterwards that your lindex (aka the entire script) will fail when nicknames contain curly braces.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Tue May 06, 2008 4:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-05-06T13:06:27-04:00</updated>

		<published>2008-05-06T13:06:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82749#p82749</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82749#p82749"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82749#p82749"><![CDATA[
I didn't say that error, now did I... I said the "regaining nick" error.  Please read carefully, thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue May 06, 2008 1:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-06T12:01:55-04:00</updated>

		<published>2008-05-06T12:01:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82748#p82748</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82748#p82748"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82748#p82748"><![CDATA[
<blockquote class="uncited"><div>You'll still get the same problem as with the first one, with that... (Regaining nick)...<br><br>As said, you will need to set keep-nick to 0 in your eggdrop's config file.</div></blockquote>the "variable "nick" already exists" error will not occur with mine<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Tue May 06, 2008 12:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-05-06T01:26:44-04:00</updated>

		<published>2008-05-06T01:26:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82745#p82745</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82745#p82745"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82745#p82745"><![CDATA[
You'll still get the same problem as with the first one, with that... (Regaining nick)...<br><br>As said, you will need to set keep-nick to 0 in your eggdrop's config file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue May 06, 2008 1:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-06T00:05:35-04:00</updated>

		<published>2008-05-06T00:05:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82744#p82744</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82744#p82744"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82744#p82744"><![CDATA[
try this<div class="codebox"><p>Code: </p><pre><code>bind notc - "!cnick * " notice:notregproc notice:notreg {n u h text {dest ""}} { global nick if {$dest == ""} {set dest $::botnick} set striped_text [stripcodes "bcruag" "$text"] set nicks [lindex $striped_text 1] set nick "$nicks"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Tue May 06, 2008 12:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-05-05T19:07:10-04:00</updated>

		<published>2008-05-05T19:07:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82734#p82734</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82734#p82734"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82734#p82734"><![CDATA[
For your first one, all you need is to set keep-nick to 0 in your eggdrop's configuration file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Mon May 05, 2008 7:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ArabFox]]></name></author>
		<updated>2008-05-05T06:48:32-04:00</updated>

		<published>2008-05-05T06:48:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82726#p82726</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82726#p82726"/>
		<title type="html"><![CDATA[its not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82726#p82726"><![CDATA[
bro i use 2 script to change my bot nick but not work<br>1st<div class="codebox"><p>Code: </p><pre><code>bind notc - "!cnick * " notice:notregproc notice:notreg {nick uhost handle text {dest ""}} { if {$dest == ""} {set dest $::botnick} set striped_text [stripcodes "bcruag" "$text"] set nicks [lindex $striped_text 1] putserv "Nick $nicks"}</code></pre></div>and he get me <div class="codebox"><p>Code: </p><pre><code>&lt;(Pro_ByFox&gt; [10:44] -ArabFox (****@*****.com)- !cnick TestMe&lt;(Pro_ByFox&gt; [10:37] Nickname changed to 'TestMe'???&lt;(Pro_ByFox&gt; [10:37] Switching back to nick Pro_ByFox&lt;(Pro_ByFox&gt; [10:37] Regained nickname 'Pro_ByFox'.</code></pre></div><br>2st<br>i use this script but not work<div class="codebox"><p>Code: </p><pre><code>bind notc - "!cnick * " notice:notregproc notice:notreg {nick uhost handle text {dest ""}} { global nick if {$dest == ""} {set dest $::botnick} set striped_text [stripcodes "bcruag" "$text"] set nicks [lindex $striped_text 1] set nick "$nicks"}</code></pre></div>he get me<br><div class="codebox"><p>Code: </p><pre><code>&lt;(Pro_ByFox&gt; [10:50] Tcl error [notice:notreg]: variable "nick" already exists</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9708">ArabFox</a> — Mon May 05, 2008 6:48 am</p><hr />
]]></content>
	</entry>
	</feed>
