<?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/forum/11" />

	<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>2005-10-23T16:50:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[WulfMan72]]></name></author>
		<updated>2005-10-23T16:50:08-04:00</updated>

		<published>2005-10-23T16:50:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56781#p56781</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56781#p56781"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56781#p56781"><![CDATA[
for anyone interested, I got the script working, here was the final code:<div class="codebox"><p>Code: </p><pre><code>bind msg - !list servlistproc servlist {nick uh hand var} { set chan "#channel"  foreach user [chanlist $chan] {   if {[getuser [nick2hand $user $chan] XTRA status] != ""} {   set title [getuser [nick2hand $user $chan] XTRA title]   set status [getuser [nick2hand $user $chan] XTRA status]    putserv "PRIVMSG $nick :$title $user $status"  }  }  return 0}</code></pre></div>thanks for all the help  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6846">WulfMan72</a> — Sun Oct 23, 2005 4:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-10-23T12:10:40-04:00</updated>

		<published>2005-10-23T12:10:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56775#p56775</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56775#p56775"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56775#p56775"><![CDATA[
well, why do you not use a pure 1.6.17 network then? *just asks, what anyone would ask*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun Oct 23, 2005 12:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Elleroth]]></name></author>
		<updated>2005-10-23T06:58:53-04:00</updated>

		<published>2005-10-23T06:58:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56770#p56770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56770#p56770"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56770#p56770"><![CDATA[
I have this problem too.  They seem to mismatch the .attr +l (halfop) flag (even with an all 1.6.17 net) to the .botattr +l (leaf).  Then the slaves start fighting with each other and the hub, usually disconnecting and stating that the hub has unleaflike behavior.<br><br>This is especially annoying because I don't have any bots specifically set to leaf in the first place.   So I'm still stuck with a 1.6.15 network.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mad.gif" width="15" height="15" alt=":x" title="Mad"><br><br>Also, the +l flag will still be there even if I set .attr -l or .botattr -l on any or all 1.6.17 bots.  If .die is issued and the +l is then manually removed from a userfile, they will automatically +l again upon restart.<br><br><br>I should also probably note that this only starts to happen after more than 2 bots are connected to each other in a mixed network (1.6.15 and 1.6.17).  I don't believe I've tried all 1.6.17 yet or, if I did, I don't recall what the result was.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6694">Elleroth</a> — Sun Oct 23, 2005 6:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[daltanius]]></name></author>
		<updated>2005-10-23T06:20:30-04:00</updated>

		<published>2005-10-23T06:20:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56769#p56769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56769#p56769"/>
		<title type="html"><![CDATA[Archive • link eggdrops 16.15 +16.17 - flag l]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56769#p56769"><![CDATA[
Hi all.<br> <br>i have hub (eggdrop1.6.15) and i want link some eggdrops 1.6.17.<br>i know that eggdrops 1.6.17 add all user with  flag l ( user of eggdrops 1.6.15 don't have flag l).<br>Can i have problems if i do link?<br><br>Thx<br>Daltanius<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4137">daltanius</a> — Sun Oct 23, 2005 6:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-10-22T21:12:36-04:00</updated>

		<published>2005-10-22T21:12:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56765#p56765</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56765#p56765"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56765#p56765"><![CDATA[
<blockquote class="uncited"><div>WHAT IS A NAMESPACE?<br><br>A namespace is a collection of commands and variables. It encapsulates the commands and variables to ensure that they won't interfere with the commands and variables of other namespaces. Tcl has always had one such collection, which we refer to as the global namespace. The global namespace holds all global variables and commands. The namespace eval command lets you create new namespaces.</div></blockquote><a href="http://www.tcl.tk/man/tcl8.4/TclCmd/namespace.htm" class="postlink">Tcl Built-In Commands - namespace manual page</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Oct 22, 2005 9:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-10-22T21:10:19-04:00</updated>

		<published>2005-10-22T21:10:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56764#p56764</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56764#p56764"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56764#p56764"><![CDATA[
well, when the nickchange is being initialized is a psybnc thing. the bot will send it right after login to IRC (meaning as soon the BNC send the cached welcome, MOTD, etc.). As you can figure it triggers only when the bot connects to the bnc and not when the bnc actually connects to IRC.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Oct 22, 2005 9:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eggdropout]]></name></author>
		<updated>2005-10-22T13:47:37-04:00</updated>

		<published>2005-10-22T13:47:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56757#p56757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56757#p56757"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56757#p56757"><![CDATA[
That's what I got in my .ini file:<br><div class="codebox"><p>Code: </p><pre><code># This is a Tcl script to be run immediately after connecting to a server.bind evnt - init-server evnt:init_serverproc evnt:init_server {type} {  global botnick  putquick "MODE $botnick +ih-ws"}</code></pre></div>Now, I tried this:<br><div class="codebox"><p>Code: </p><pre><code>putquick "NICK prefix'newbotnick"</code></pre></div>The bot did change nick, but not immediately, like two seconds after it joined channel on that network. Also I had to do bquit and bconnect to make it execute the init script  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6866">eggdropout</a> — Sat Oct 22, 2005 1:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thunderdome]]></name></author>
		<updated>2005-10-22T10:39:56-04:00</updated>

		<published>2005-10-22T10:39:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56753#p56753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56753#p56753"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56753#p56753"><![CDATA[
I said javascript because I don't use php in the page where I want the online status.<br><br>The ideia is to get just the online status from 1 single nick from one channel whcih at most gets 10 people.<br>I can use that script to create a filelist of all #channel users, but I dunno how to use javascript to reads the file and select a user, and then make it so an image or something is added if the user is found. In javascript this is way over what I can do.<br><br>So I was wondering if there is a way to do this in tcl. The bot sees a nick and then published some .js file that contains info to show up some picture, or another to show another pictrue in case that nick is not there. get my ideia?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6079">Thunderdome</a> — Sat Oct 22, 2005 10:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-10-22T09:48:29-04:00</updated>

		<published>2005-10-22T09:48:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56752#p56752</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56752#p56752"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56752#p56752"><![CDATA[
how is login done? via HTTP post?<br>how will the SID beeing returned? cookie? redirect? or will only be visible in URLs contained in the html codes?<br>generally there are 2 usual ways to parse HTML code<br>either via tDOM: <a href="http://forum.egghelp.org/viewtopic.php?t=9972" class="postlink">http://forum.egghelp.org/viewtopic.php?t=9972</a><br>or via RE: <a href="http://forum.egghelp.org/viewtopic.php?t=4319" class="postlink">http://forum.egghelp.org/viewtopic.php?t=4319</a><br>examples for REs are found in almost all common scripts accessing html pages. The google script I rewrote also shows an example for the redirect header parsing.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Oct 22, 2005 9:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-10-22T08:04:11-04:00</updated>

		<published>2005-10-22T08:04:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56751#p56751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56751#p56751"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56751#p56751"><![CDATA[
I dont see any javascript used on onlinestatus.org for displaying the status. its just a plain picture tunneled through a script, which could be php, but does not neccessary to be so. Can be almost any other scripting language or libary/plugin that suppports file reading and binary data output.<br>The script probably is build in this structure:<br>- reading the status request from the URL string<br>- checking the status against the database (which can also be a text file)<br>- opening a image file representing the users status and dump it to the user agent<br><br>I would not recommend JavaScript, since it would need to read the whole datebase. If you do this you should ensure the datebase wont exceed a limit, so the file trasnfer size doesnt go above a few kilobytes (if compression is active the actuall size might be bigger).<br><br>PS: even the official web status from ICQ works that way <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">. the only diffrent is, that its not using a script but a compiled libary <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Oct 22, 2005 8:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-10-22T07:49:38-04:00</updated>

		<published>2005-10-22T07:49:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56749#p56749</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56749#p56749"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56749#p56749"><![CDATA[
no need to worry about namespaces. their main purpose is to avoid name collions with var and proc names. by edititing one word, the whole script gets another prefix. at least I haven't seen another real purpose for using namespaces <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Oct 22, 2005 7:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-10-22T07:42:16-04:00</updated>

		<published>2005-10-22T07:42:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56748#p56748</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56748#p56748"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56748#p56748"><![CDATA[
the thing you are looking for is called "init-server" and is within the .conf file. However you will need to now basics about the IRC protocol to use it right.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Oct 22, 2005 7:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TheRudy]]></name></author>
		<updated>2005-10-22T05:22:57-04:00</updated>

		<published>2005-10-22T05:22:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56747#p56747</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56747#p56747"/>
		<title type="html"><![CDATA[Archive • website, login, parse html, output results...]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56747#p56747"><![CDATA[
Hi<br><br>First, i'm a complete noob to TCL scripting altho i know some programming languages.<br><br>What i want to do:<br>- Login to a website<br>- Parse out of URL SID (php) id<br>- attach this url SID id to another page that is protected (no SID in url = redirects back to login site)<br>- parses out this html code:<div class="codebox"><p>Code: </p><pre><code>&lt;tr&gt; &lt;th&gt;20  &lt;font color="87CEEB"&gt;*&lt;/font&gt;&lt;/th&gt;&lt;th&gt;&lt;a href="ainfo.php?session=3c546726f1fb&amp;allytag=GP"&gt;&lt;font color='lime'&gt;GP&lt;/font&gt;&lt;/a&gt;&lt;/th&gt;&lt;th&gt; &lt;/th&gt;&lt;th&gt;48&lt;/th&gt;&lt;th&gt;1564&lt;/th&gt;&lt;th&gt;32&lt;/th&gt;&lt;/tr&gt;</code></pre></div>Things that needs to parsed out are in bold: <br>&lt;th&gt;<strong class="text-strong">20</strong> <br>&lt;font color='lime'&gt;<strong class="text-strong">GP</strong>&lt;/font&gt;<br>&lt;th&gt;<strong class="text-strong">48</strong>&lt;/th&gt;<br>&lt;th&gt;<strong class="text-strong">1564</strong>&lt;/th&gt;<br>&lt;th&gt;<strong class="text-strong">32</strong>&lt;/th&gt;<br><br>- next to output this into channel when someones says for example !stats<br><br>Now, i DO NOT want YOU to write me this script! I want to write it myself but i need some start up points. What do i need to this, where can i see some examples and so on...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6882">TheRudy</a> — Sat Oct 22, 2005 5:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-10-22T01:24:48-04:00</updated>

		<published>2005-10-22T01:24:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56745#p56745</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56745#p56745"/>
		<title type="html"><![CDATA[Archive • ]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56745#p56745"><![CDATA[
yeah i know you can add them that way but this script recognize a user<br>that has |KoA| at the front of there nick<br>example<br>|FoX|-demond<br>|FoX|-pepsi<br><br>so i need it to recognize and voice a use that has |FoX| at the front of there nick as a thankyou<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Sat Oct 22, 2005 1:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eggdropout]]></name></author>
		<updated>2005-10-22T00:51:27-04:00</updated>

		<published>2005-10-22T00:51:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56744#p56744</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56744#p56744"/>
		<title type="html"><![CDATA[Archive • egg+psybnc - different nicks on different networks - how]]></title>

					<category term="Archive" scheme="https://forum.eggheads.org/viewforum.php?f=11" label="Archive"/>
		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56744#p56744"><![CDATA[
I am using egdrop 1.6.17 + latest version of psybnc (eggdrop connect to psybnc locally). Now I know psybnc supports different nicks on different networks, and nicks can be changed by typing /nick networkprefix'newnick to change nick on specified network. <br><br>Ok, but how to make the eggdrop issue this command? I tried .nick through telnet but it seems to change my handle and not bot's nick. In eggdrop.conf there's only one option for nickname, so i guess ill have to make the bot automatically change nicks and not allow him to force default nick on all networks (because mIRC seems to be doing this - on reconnect it changes all nicks to default nick so one has to change nicks on every restart of mIRC).<br><br>Or maybe force the psybnc to use a certain nick for a certain network and not listen to eggdrop, but how?<br><br>Hope someone will be able to help.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6866">eggdropout</a> — Sat Oct 22, 2005 12:51 am</p><hr />
]]></content>
	</entry>
	</feed>
