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 5 matches

by na85
Thu Sep 13, 2012 3:24 pm
Forum: Scripting Help
Topic: Enabling use of UDP sockets
Replies: 3
Views: 4215

Hi, thanks for the reply. The linked examples make use of the "Tcl UDP" extension for tcl. There are pre-built modules for windows, however for linux/un*x you'll have to build it against your tcl-library (not against eggdrop). Generally, you wouldn't have to rebuild your eggdrop for adding...
by na85
Thu Sep 13, 2012 1:50 am
Forum: Scripting Help
Topic: Enabling use of UDP sockets
Replies: 3
Views: 4215

Enabling use of UDP sockets

Hi everyone. Been searching but can't find the answer to my question. I want to write a script that sends a simple hex-encoded string via UDP to a particular server. Obviously, Tcl and Eggdrop don't have UDP support. I've found this link on tcl.tk but I'm still fuzzy on how to actually allow eggdrop...
by na85
Tue Mar 17, 2009 3:14 am
Forum: Scripting Help
Topic: Determine if port on remote machine is live
Replies: 4
Views: 3387

Determine if port on remote machine is live

Hi guys. I'd like my bot to be able to query a game server to see if it is online or not. Basically, I want to do the following: open tcp connection with example.com on port 1234 IF server is alive return 1 ELSE return 0 The bot won't have to authenticate or any of that junk, all I want to know is i...
by na85
Fri Jan 30, 2009 6:42 am
Forum: Scripting Help
Topic: set topic on join channel
Replies: 4
Views: 2985

Yeah I do, but interestingly enough the +o mode change doesn't seem to fire when you create a channel (I'm on efnet, so chanserv doesn't really concern me). I was able to get this to work by removing the && [isop superbot $topicchan] from the first proc, obviously. However part of my rationa...
by na85
Fri Jan 30, 2009 12:23 am
Forum: Scripting Help
Topic: set topic on join channel
Replies: 4
Views: 2985

set topic on join channel

I'm trying to make a script that will have my bot automatically set the topic when he a) gets chanop or b) creates the channel. Here's what I've got so far set topicchan #na85 set chantopic "omg a topic" bind mode - "* +o" changetopic bind join - "#na85 *" onjoin proc o...