This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 17 matches

by Tristam
Sat Dec 23, 2006 9:55 pm
Forum: Scripting Help
Topic: Problems rehashing while using sockets. [SOLVED]
Replies: 6
Views: 7424

Hmm.. although I dont fully understand what it does, it seems to work :) Thanks for your help!!!
by Tristam
Sat Dec 23, 2006 8:04 pm
Forum: Scripting Help
Topic: Problems rehashing while using sockets. [SOLVED]
Replies: 6
Views: 7424

Alchera wrote:
couldn't open socket: address already in use
It had told you the problem; a socket left open.
yeah, I figured that out.. but I'm having a hard time figuring out how to close the socket :) Could someone help?
by Tristam
Sat Dec 23, 2006 3:47 pm
Forum: Scripting Help
Topic: Problems rehashing while using sockets. [SOLVED]
Replies: 6
Views: 7424

Problems rehashing while using sockets. [SOLVED]

Hello! I'm using a tcl script to exchange data between a php-website and my eggdrop.. it works fine, here's the script: PHP <?php $msg_bt = "some text to be sent to eggdrop"; $fs = fsockopen("127.0.0.1", "1234", $errno, $errstr); if($fs) { fwrite($fs, $msg_bt); fclose($...
by Tristam
Wed Jan 18, 2006 6:55 pm
Forum: Script Requests
Topic: whois'ing with eggdrop
Replies: 2
Views: 6835

Yay! That made the trick.. got it working now, great!

Thanks!!!
by Tristam
Tue Jan 17, 2006 4:33 pm
Forum: Script Requests
Topic: whois'ing with eggdrop
Replies: 2
Views: 6835

whois'ing with eggdrop

Hello! I'm not sure in which category this post would belong, move it if necessary :) I'm an ircop in our small irc-server around ~100 people, we're running the latest unrealircd. I need a script to do this: When people say !whois <nick> in a channel, the bot would whois the user given, and give out...
by Tristam
Tue May 04, 2004 5:09 am
Forum: Archive
Topic: Autovoice with opcheck & timer
Replies: 2
Views: 946

I'd use a proc to do the if/pushmode and just pass the nick+channel name to that proc. eg: proc modeifneeded {nick chan} {if {![isop $nick $chan]} {pushmode $chan +v $nick}} utimer 5 [list modeifneeded $nick $chan] Thanks a lot! That was the first way I tried to do it.. but I didnt know how to give...
by Tristam
Tue Apr 27, 2004 4:54 pm
Forum: Archive
Topic: Autovoice with opcheck & timer
Replies: 2
Views: 946

Autovoice with opcheck & timer

Ok I know this is probably stupid.. I've been thinking for hours now but I still dont get it, so I might as well try here :wink: Dont bother posting "RTMF", believe me, I've tried it, maybe I'm just too stupid, so help a noob! Ok, I want to autovoice everyone joining the channel, but when ...
by Tristam
Sun Nov 16, 2003 4:55 pm
Forum: Archive
Topic: Jumping to one proc after another
Replies: 5
Views: 1860

uuuuh now it all makes sense :) thanks a lot once again! :>
by Tristam
Sun Nov 16, 2003 4:12 pm
Forum: Archive
Topic: Jumping to one proc after another
Replies: 5
Views: 1860

Hmm... No TALES, that's what I can do already. The problem is, when I use if's and elseif's, that it stops after making all the commands. And if I use one if or elseif to make commands, I cant use if or elseif in the commands again.. caesar, I tried to look for an "switch" command, here it...
by Tristam
Fri Nov 14, 2003 8:29 pm
Forum: Archive
Topic: Jumping to one proc after another
Replies: 5
Views: 1860

Jumping to one proc after another

Yello! I would like to ask if there is a command in tcl similiar to "go to" or "then"..? Let me explain: I have a simple script: proc topic_set { nick host hand chan text } { set fileid [open tristam-topic_theme.txt r] gets $fileid topic_theme close $fileid if {$topic_theme == &q...
by Tristam
Sat Nov 01, 2003 8:01 pm
Forum: Archive
Topic: Changing bot's nick..
Replies: 3
Views: 1541

Thanks! My god I'm stupid sometimes :)
by Tristam
Sat Nov 01, 2003 6:22 pm
Forum: Archive
Topic: Changing bot's nick..
Replies: 3
Views: 1541

Changing bot's nick..

Probably a very simple thing you all will laugh at.. but I'll take the risk :P Okay, I want my bot to have nick |Nick| or ^Nick^ or so.. But it wont start if I just edit it in config file.. (because of the special characters) So I tried to make a tcl to change it later.. bind pub o !nick nick proc n...
by Tristam
Sun Oct 26, 2003 6:18 am
Forum: Archive
Topic: When the bot reaches 20 channels, it parts one? How? :)
Replies: 1
Views: 695

When the bot reaches 20 channels, it parts one? How? :)

Hello! I have to make a script which parts the bot from a specific channel when the bot has joined 20 channels, and makes it join the same channel again, when some other channel is parted.. But I have no idea where to start from :) Any ideas how to even check how many channels the bot is on, and wri...
by Tristam
Tue Oct 21, 2003 4:13 am
Forum: Archive
Topic: "IF"
Replies: 5
Views: 1111

Thanks Sir_Fz and Rusher. CrazyCat, if I would had that manual, I wouldnt have posted here :D (but all the other so called tutorials suck ass :P)
by Tristam
Mon Oct 20, 2003 4:40 pm
Forum: Archive
Topic: "IF"
Replies: 5
Views: 1111

"IF"

Hello everyone! I would like to know how to make an "if statement" in tcl. My bot is on two channels, and the same command should get a different result on each channels. For example when I type "!info" the script should check which channel is it, and answer depending on the chan...