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

	<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>2007-03-25T04:02:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Callisto]]></name></author>
		<updated>2007-03-25T04:02:08-04:00</updated>

		<published>2007-03-25T04:02:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71583#p71583</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71583#p71583"/>
		<title type="html"><![CDATA[Adding Users - Host Mask - Flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71583#p71583"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>you need to edit the eggdrop.h file (usually eggdropx.x.xx/src/eggdrop.h) <br><br>Line 63 - change to read <br>#define HANDLEN 32 /* valid values 9-&gt;NICKMAX */ <br><br>Then recompile the bot and restart<br><br>as for your other questions, sorry a bit beyond my abilities</div></blockquote>i dont have that file...<br><br>im using a windrop if that helps</div></blockquote>Isnt there a windrop just for extended handle length?<blockquote class="uncited"><div>Eggdrop v1.6.18 Handlen32 (12.08.2006)<br>For networks which allow nicknames long than 9 characters in length (e.g. DALnet, QuakeNet)</div></blockquote><a href="http://windrop.sourceforge.net/downloads.html" class="postlink">http://windrop.sourceforge.net/downloads.html</a><br><br>there we go google is our friend<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6064">Callisto</a> — Sun Mar 25, 2007 4:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-03-24T21:49:29-04:00</updated>

		<published>2007-03-24T21:49:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71582#p71582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71582#p71582"/>
		<title type="html"><![CDATA[Adding Users - Host Mask - Flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71582#p71582"><![CDATA[
You shouldn't use list commands on strings, [split] $a before applying [lindex] on it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Mar 24, 2007 9:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[diMension]]></name></author>
		<updated>2007-03-24T20:05:41-04:00</updated>

		<published>2007-03-24T20:05:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71579#p71579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71579#p71579"/>
		<title type="html"><![CDATA[Adding Users - Host Mask - Flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71579#p71579"><![CDATA[
yea thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> i got it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>&lt;3 to da max<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8845">diMension</a> — Sat Mar 24, 2007 8:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-03-24T19:52:59-04:00</updated>

		<published>2007-03-24T19:52:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71578#p71578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71578#p71578"/>
		<title type="html"><![CDATA[Adding Users - Host Mask - Flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71578#p71578"><![CDATA[
use this:<br><div class="codebox"><p>Code: </p><pre><code>set newop [lindex $a 0] set newhosts [getchanhost $newop $c] set newhost "*!*@[lindex [split $newhosts @] 1]"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sat Mar 24, 2007 7:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[diMension]]></name></author>
		<updated>2007-03-24T17:37:26-04:00</updated>

		<published>2007-03-24T17:37:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71575#p71575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71575#p71575"/>
		<title type="html"><![CDATA[Adding Users - Host Mask - Flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71575#p71575"><![CDATA[
<blockquote class="uncited"><div>you need to edit the eggdrop.h file (usually eggdropx.x.xx/src/eggdrop.h) <br><br>Line 63 - change to read <br>#define HANDLEN 32 /* valid values 9-&gt;NICKMAX */ <br><br>Then recompile the bot and restart<br><br>as for your other questions, sorry a bit beyond my abilities</div></blockquote>i dont have that file...<br><br>im using a windrop if that helps<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8845">diMension</a> — Sat Mar 24, 2007 5:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[diMension]]></name></author>
		<updated>2007-03-24T17:56:25-04:00</updated>

		<published>2007-03-24T14:04:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71570#p71570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71570#p71570"/>
		<title type="html"><![CDATA[Adding Users - Host Mask - Flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71570#p71570"><![CDATA[
Thanks guys <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><div class="codebox"><p>Code: </p><pre><code>set newop [lindex $a 0]set newhosts [getchanhost $newop $c]set newhost "*!*@[lindex [split $newhost @] 1]"</code></pre></div>set newhost "*!*@[lindex [split $newhost @] 1]"<br><br>shouldnt the $newhost be $newhosts<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8845">diMension</a> — Sat Mar 24, 2007 2:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-03-24T07:37:57-04:00</updated>

		<published>2007-03-24T07:37:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71562#p71562</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71562#p71562"/>
		<title type="html"><![CDATA[Adding Users - Host Mask - Flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71562#p71562"><![CDATA[
To change host to *!*@host.here modify these lines:<br><br>Original:<br><div class="codebox"><p>Code: </p><pre><code>set newop [lindex $a 0] set newhost [maskhost [getchanhost $newop $c]]</code></pre></div>To:<br><div class="codebox"><p>Code: </p><pre><code>set newop [lindex $a 0]set newhosts [getchanhost $newop $c]set newhost "*!*@[lindex [split $newhost @] 1]"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sat Mar 24, 2007 7:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Callisto]]></name></author>
		<updated>2007-03-24T03:15:17-04:00</updated>

		<published>2007-03-24T03:15:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71559#p71559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71559#p71559"/>
		<title type="html"><![CDATA[Adding Users - Host Mask - Flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71559#p71559"><![CDATA[
you need to edit the eggdrop.h file (usually eggdropx.x.xx/src/eggdrop.h) <br><br>Line 63 - change to read <br>#define HANDLEN 32 /* valid values 9-&gt;NICKMAX */ <br><br>Then recompile the bot and restart<br><br>as for your other questions, sorry a bit beyond my abilities<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6064">Callisto</a> — Sat Mar 24, 2007 3:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[diMension]]></name></author>
		<updated>2007-03-23T23:04:38-04:00</updated>

		<published>2007-03-23T23:04:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71557#p71557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71557#p71557"/>
		<title type="html"><![CDATA[Adding Users - Host Mask - Flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71557#p71557"><![CDATA[
Hello, my name is "diMension". First off, let me tell you that the eggdrop is a sweet bot and nothing else is better <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">. Lets get down to business.<br><br><strong class="text-strong">1) Adding Users - Limit on how long name can be.<br>2) Host Mask - For bans.<br>3) The flag +a - Auto-Opping.</strong><br><br>1 - My first question is, how do i get the eggdrop to accept a longer "HANDLE"<br>i have a tcl script that binds <br>~addowner to adding the +n flag in the given channel. I don't feel like posting code, but i can sum it up. <br><br>***************EDIT - after reading some other tcl helps, i'm going to paste all of the code. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><div class="codebox"><p>Code: </p><pre><code>bind pub n ~addowner add_owner_chanproc add_owner_chan {n u h c a} {  global botnick  if {[lindex $a 0] == ""} {putquick "NOTICE $n : ~addowner &lt;nick&gt;"      return 0  }   set newop [lindex $a 0]  set newhost [maskhost [getchanhost $newop $c]]if {[finduser $newhost] != "*"} { putserv "NOTICE $n :$newop\[$newhost\] is known as user [finduser $newhost]" return 1  }   adduser $newop $newhost  chattr $newop +n $c  putserv "NOTICE $n :$newop\[$newhost\] has been added in $c as owner"  putserv "NOTICE $newop :$n has added you in $c as owner"  save}</code></pre></div>I also use this code to addpeon/addops (auto) - Because i run a club or 3 and i want them to get auto-peon'd or auto-op'd without actually having "ACCESS" to the bot, and i can't addpeon them publicly if there name is too big.<br><br>Now, this code WORKS. I have TESTED It, it works fine. But the issue i am having is, if then nick of the person is "iloveggysWOO" Well, the eggdrop will add "iloveegg" to the "handle" part, and when i do "chattr $newop" it is "chattr $iloveeggyswOO" instead of "iloveegg".<br><br>Any way i can get the eggy to accept larger "handles" in its user database? Thanks. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><strong class="text-strong">2</strong> - The hostmask that "comes with the bot" is *!<a href="mailto:ident@host.com">ident@host.com</a> - I am on a network that allows +x - So obviously, this hostmask is easily ban evadable. I need a hostmask that is *!*@host.com - How can i do this? - It will be easier and more secure when i add users to the bot using the pub command <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><strong class="text-strong">3</strong> - The +a flag doesn't work for some reason, i had to bind a join event<br>And YES , i had +autoop set in the channel <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><div class="codebox"><p>Code: </p><pre><code>bind join a|a * op_chanproc op_chan {nick uhost hand chan} {  if {[matchattr $hand -]} {putserv "MODE $chan +o $nick"}  return 1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8845">diMension</a> — Fri Mar 23, 2007 11:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
