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

	<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>2002-11-05T21:49:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-11-05T21:49:12-04:00</updated>

		<published>2002-11-05T21:49:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12877#p12877</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12877#p12877"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12877#p12877"><![CDATA[
Yes, but you can get accounts at different companies if you have enough bots to make it worthwhile.<br><br>Also, some companies will let you host bots on different computers within their company, as long as you only have 5 total (or whatever).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Nov 05, 2002 9:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-05T20:51:51-04:00</updated>

		<published>2002-11-05T20:51:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12876#p12876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12876#p12876"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12876#p12876"><![CDATA[
this botnet, you said if one goes down it wont effect the rest.. How is this? Arent each eggdrops hosted on a shell.. the same shell? .. lol<p>Statistics: Posted by Guest — Tue Nov 05, 2002 8:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-05T20:44:03-04:00</updated>

		<published>2002-11-05T20:44:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12874#p12874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12874#p12874"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12874#p12874"><![CDATA[
hmm.. i might try the botnet, my friend suggested it to me too, although im totally lost on the concept lol<p>Statistics: Posted by Guest — Tue Nov 05, 2002 8:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-11-05T20:11:08-04:00</updated>

		<published>2002-11-05T20:11:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12871#p12871</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12871#p12871"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12871#p12871"><![CDATA[
If you're going to pay a full bg process per server anyway, then I think the best option (if you want to use eggdrop) is to run an eggdrop per server and link them in a botnet. If you can get the processes on different computers / providers, then when one computer goes down (DoS, maintenance, power failure, whatever), it only affects some of your bots instead of your whole operation. It will also make it easier to do your script since you'll be using normal eggdrop features instead of hacking up a multiserver bot or using some weird wine configuration (wine isn't 100% stable as it is heh).<br><br>If you want to use wine, the easiest thing is to download VNC for linux. It has a lightweight X server. Here's what I did:<br><br>start vnc's x server as display 1, vncserver :1<br>set the DISPLAY env var to use display 1, export DISPLAY=:1<br>start mirc, wine mirc.exe<br><br>It definitely has some quirks heh. The font is Arial or something but it's displaying as Script (the cursive one). This is cool because you can actually connect to it from home with VNC Viewer and treat it just like normal mirc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Nov 05, 2002 8:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-05T19:11:39-04:00</updated>

		<published>2002-11-05T19:11:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12870#p12870</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12870#p12870"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12870#p12870"><![CDATA[
I was a bit harsh when I said lame.<br><br>These are not views.<br><br>Many people believe mIRC script is crap. Mainly due tot eh fact, it's not a real language, and there are parts of the code, that contradict itself.<br><br>It may do exactly what you want. The fact reamins, you should expect a language to define a few rules on the layout, then they are followed right the way through.<br><br>mIRC script is slow too, but thats somthing else.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Nov 05, 2002 7:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-05T16:58:15-04:00</updated>

		<published>2002-11-05T16:58:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12869#p12869</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12869#p12869"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12869#p12869"><![CDATA[
oh and pp, it may be lame but its doing more for me than tcl can so far, id be happy to learn tcl scripting language to convert the bot to tcl, im just getting the facts to see if the bot could do all it does now and all i plan it to do.<p>Statistics: Posted by Guest — Tue Nov 05, 2002 4:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-05T16:54:40-04:00</updated>

		<published>2002-11-05T16:54:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12868#p12868</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12868#p12868"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12868#p12868"><![CDATA[
lol how much would you charge lol, cuz i dont know enough about this [censored] lol<br><br>Id still have to check with the host imma use, unless you could find one too, so far they are willing to let me use the multi server feature and i pay per server as a BG, i emailed them about the wine thing but i havwnt gotten a response. Although this is just one shell, my friend said it was a good one so i decided to check em out. I Dont really care what shell i use as long as its fast and reliable lol<p>Statistics: Posted by Guest — Tue Nov 05, 2002 4:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-11-05T16:27:08-04:00</updated>

		<published>2002-11-05T16:27:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12865#p12865</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12865#p12865"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12865#p12865"><![CDATA[
<blockquote class="uncited"><div>so when you say the windows emulator, but they wont allow GUI, (and im sure this sounds stupid lol) but would it matter about the GUI if i wasent used? cuz im not ganna be trying to use the GUI heh, Or maybe something to... supress the GUI.. rofl... im just tryin to think of options here lol</div></blockquote>Even though you won't be using the gui, mirc does not provide a way to disable its windows as far as I know. You could check and see if there is a wine option that suppresses the gui... that's actually highly possible. It would be something like<br><br>wine --nowindows mirc.exe (that's just a made up example of what it might be like)<br><br>Another option would be to run a really lightweight X server (the windows system unix uses) and have wine use that. An X server doesn't need to correspond to an actual monitor.<br><br>All in all I think it's definitely possible but it may take a bit of research. I noticed you said people pay you for this product, so maybe it's worthwhile to do. If you don't feel like doing it, you could always pay me :)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Nov 05, 2002 4:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-05T16:12:49-04:00</updated>

		<published>2002-11-05T16:12:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12863#p12863</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12863#p12863"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12863#p12863"><![CDATA[
There is no unix version/ port of mIRC. Nor a client that uses mIRC script (most people consider the language lame).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Nov 05, 2002 4:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-05T15:29:51-04:00</updated>

		<published>2002-11-05T15:29:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12860#p12860</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12860#p12860"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12860#p12860"><![CDATA[
so when you say the windows emulator, but they wont allow GUI, (and im sure this sounds stupid lol) but would it matter about the GUI if i wasent used? cuz im not ganna be trying to use the GUI heh, Or maybe something to... supress the GUI.. rofl... im just tryin to think of options here lol<p>Statistics: Posted by Guest — Tue Nov 05, 2002 3:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-11-05T15:00:29-04:00</updated>

		<published>2002-11-05T15:00:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12857#p12857</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12857#p12857"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12857#p12857"><![CDATA[
There are windows shells available. Mostly they run NT, maybe now 2000. I'm not sure they allow you to run gui programs, but who knows.<br><br>You can run mirc on linux inside wine (windows emulator), but again, linux shell hosts are probably not going to provide you with a gui.<br><br>Unless it's a long script or uses specific features of mirc script (dialogs? udp sockets?), it shouldn't be too hard to convert it to tcl. Most things are straightforward. All the ON:* crap becomes 'bind blah". Things like msg are putmsg or putserv.<br><br>Also, in response to ppslim, a Tcl to connect to multiple servers would not really be slow. The amount of time spent processing irc messages is tiny. It amounts to something like this:<br><div class="codebox"><p>Code: </p><pre><code>proc parse_irc {serv text} {global current_serverset current_server $servset parts [split $text]set source [lindex $parts 0]if {[string index $source 0] != ":"} {  set source ""  set cmd $source  set args [lrange $parts 1 end]} else {  set source [string range $source 1 end]  set cmd [lindex $parts 1]  set args [lrange $parts 2 end]}switch -exact -- $cmd {  "privmsg" { ... }  "join" { ... }  "part" { ... }  "quit" { ... }  "ping" { ... }}</code></pre></div>It's probably faster than eggdrop, since eggdrop uses Tcl for the bind tables anyway. It has to convert back and forth between Tcl vars and C vars, whereas this would stay in Tcl and not even use bind tables. Also, it only listens for events that it's interested in and necessary events like ping, so a lot of processing work is removed.<br><br>It's true that this will not use Eggdrop's internal system, but that may be fine in this case because the script isn't written for eggdrop to begin with. It probably doesn't need things like output flow control.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Nov 05, 2002 3:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-05T13:31:01-04:00</updated>

		<published>2002-11-05T13:31:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12853#p12853</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12853#p12853"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12853#p12853"><![CDATA[
this may sound stupid lol, but is there anytype of Linux mIRC? im mainly looking for a way to have the game hosted on a VERY Reliable host. thats why i was going to convert it to eggdrop and tcl. I Wanted it to be put on a shell heh. Anyone got any Ideas?<p>Statistics: Posted by Guest — Tue Nov 05, 2002 1:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-05T13:27:45-04:00</updated>

		<published>2002-11-05T13:27:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12852#p12852</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12852#p12852"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12852#p12852"><![CDATA[
Well see i run a MultiServer Gamebot, It relays text from one server to another and sometimes is on 5 servers sometimes just 2 heh, i have the server owners pay to have t on their server. The game itself is run through DCC Chat and is a MuD. Anyway, i think this might be more trouble than its worth :/. Thanks for your help<p>Statistics: Posted by Guest — Tue Nov 05, 2002 1:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[madgabz]]></name></author>
		<updated>2002-11-05T08:14:55-04:00</updated>

		<published>2002-11-05T08:14:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12847#p12847</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12847#p12847"/>
		<title type="html"><![CDATA[erm...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12847#p12847"><![CDATA[
Why do you want to run multiple sevrers?<br><br>If its only to link the same chennel on two different networks, then go use the excellent script: <a href="http://www.egghelp.org/tclhtml/1256-0-1-linkchan.htm" class="postlink">linkchan</a><br><br>Its very cool, and rather easy to setup!<br><br>ppslim tried to make a reconnect script linkchan if the bot or networks experienced any net-splits, but it never really worked. I have supplied it here:<div class="codebox"><p>Code: </p><pre><code># TCL Script for Eggdrops to re-established channel-linking between different IRC networks# Copyright ppslim@www.egghelp.org/forum &lt;= U da MAN!proc chk:restart {} {  global uptime  if {[expr $uptime + 60] &gt; [unixtime]} {    dcc:linkchan 0 0 {#YourChannel YourNetworkName YourNetworkServer IP YourNetworkPort}  }}chk:restartproc need:netsplit {args} {  chk:restart}bind EVNT - "init-server" need:netsplit</code></pre></div>Remember to edit the line: <em class="text-italics">dcc:linkchan 0 0 {#YourChannel YourNetworkName YourNetworkServer IP YourNetworkPort}</em><br>..for the script to work for u!<br>Good Luck, m8<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1067">madgabz</a> — Tue Nov 05, 2002 8:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-05T05:43:35-04:00</updated>

		<published>2002-11-05T05:43:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12846#p12846</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12846#p12846"/>
		<title type="html"><![CDATA[General Beginner Tcl Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12846#p12846"><![CDATA[
Very true, but this is only 1 thing. mIRC became lame with multi-server support. The scripting language should have been re-written before multi-server.<br><br>It is possible to link two eggdrops together, and send the messages between each other, to be realyed to other channels.<br><br>It is not possible to use one eggdrop on multiple servers.<br><br>Yes, you can create a Tcl to connect to multiple IRC servers, but it will be slow, eggdrop itself will slow down a lot and it will not benefit from eggdrops internal system, as it will need to be based on pure Tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Nov 05, 2002 5:43 am</p><hr />
]]></content>
	</entry>
	</feed>
