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

by stdragon
Mon Oct 29, 2001 8:04 pm
Forum: Archive
Topic: help with sock connections
Replies: 27
Views: 5571

The 'eof' command lets you know when the socket is closed.

Browse through the tcl commands like ppslim said, it tells you all the stuff you need to know :smile:
by stdragon
Sun Oct 28, 2001 11:03 pm
Forum: Archive
Topic: help with sock connections
Replies: 27
Views: 5571

Eggdrop doesn't need crlf... as long as there is either a cr or an lf, it will work. If your network doesn't send cr OR lf, then you shouldn't be using eggdrop sockets, use tcl's builtin ones instead. Even then it will be trickier than normal. If it does send at least cr or lf, then something else i...
by stdragon
Sat Oct 27, 2001 7:43 am
Forum: Archive
Topic: ppslim, can u make this script now?
Replies: 33
Views: 5386

Try

regexp {Rank: (.*) ((.*) points} $line match rank points

Hope it helps
by stdragon
Fri Oct 26, 2001 2:15 pm
Forum: Archive
Topic: help with sock connections
Replies: 27
Views: 5571

The stuff you're using is eggdrop's dcc support. Tcl has commands to deal with network connections, too. Look at the 'socket' command; 'fileevent' and 'fconfigure' may be helpful. But it doesn't sound like you need tcl sockets. Your question 'how can I get a msg whitout crlf from the server' was alr...
by stdragon
Fri Oct 26, 2001 12:17 pm
Forum: Archive
Topic: help with sock connections
Replies: 27
Views: 5571

As far as I know, eggdrop strips crlf off the text for you, so you don't have to do anything. The string passed to your control procedure, msn:get, should be fine. Also, you might want to change putidx to putdcc. Putidx is deprecated and may go away in future eggdrop versions. To close the connectio...
by stdragon
Thu Oct 25, 2001 12:17 am
Forum: Archive
Topic: [22:09] *** NeoLuddite was kicked by RaZorBlAde (Colours are
Replies: 9
Views: 1438

Look at a piece of the code that interests you. If a couple thousand people each look at a piece of it, any backdoors will probably be found. So not everybody has to look at it, and nobody has to look at *all* of it, but it's still pretty safe.
by stdragon
Thu Oct 25, 2001 12:12 am
Forum: Archive
Topic: getting different words/splitting variables up into differen
Replies: 5
Views: 1193

Don't use "args" as the name of your last argument in your procedure. It is a special tcl keyword that creates a list out of the remaining arguments, which adds the extra { and } that you are seeing.

Just rename it to "text" or something else, and it should be fine.
by stdragon
Sat Oct 20, 2001 7:08 pm
Forum: Archive
Topic: How do I check if a user is known to my bot?
Replies: 1
Views: 696

+f users are recognized by their hostmasks just like other users. There's no logging in unless you have some sort of auth script running. In your script, you can pass the 'f' flag to bind and it will only respond to +f users. Or, in your procs, you can test if they have +f with matchattr (see tcl-co...
by stdragon
Sat Oct 20, 2001 9:09 am
Forum: Archive
Topic: User password
Replies: 2
Views: 771

The basic command is ".chpass someuser newpassword" if you're changing another user's password, and ".newpass newpassword" for your own.

Type ".help chpass" and ".help newpass" for more detailed information.
by stdragon
Sat Oct 20, 2001 9:06 am
Forum: Archive
Topic: How do i add in the conf file so my bot can monitor more tha
Replies: 5
Views: 1112

The basic command to add a dynamic channel is ".+chan #channel-name" on the dcc console.

In the dcc console, type ".help +chan" for detailed information.
by stdragon
Sat Oct 20, 2001 9:04 am
Forum: Archive
Topic: HELP : Many people need help
Replies: 5
Views: 1207

The server will still send the messages, but the bot won't process them. Find out if your irc server supports the /SILENCE command, that will prevent the server from even sending the messages. It's usually something like this: putserv "silence +*" would stop all private messages putserv &q...
by stdragon
Sat Oct 20, 2001 9:02 am
Forum: Archive
Topic: Any solutions?
Replies: 3
Views: 906

Sure, just about anything is possible. There are already scripts that do similar things, check through the script archive on this website. The basic idea is to use user-defined flags (capital letters) to say when a user is authenticated or not. Like if you do, /msg bot identify stdragon baaaaa, then...
by stdragon
Sat Oct 20, 2001 8:57 am
Forum: Archive
Topic: help-- Output a text file to channel
Replies: 2
Views: 798

Look in your config file for this section:

# [0/1] allow a msg being twice in a queue?
set double-mode 0
set double-server 0
set double-help 0

That controls whether duplicate messages are allowed in the queue. Since you're using puthelp, try setting double-help to 1 instead of 0.
by stdragon
Fri Oct 19, 2001 10:42 pm
Forum: Archive
Topic: HELP : Many people need help
Replies: 5
Views: 1207

Maybe you could icnrease the sensitivity of the script so that it triggers earlier, and the bots don't get flooded off?
by stdragon
Fri Oct 19, 2001 6:09 am
Forum: Archive
Topic: Can someone help me with this script?
Replies: 2
Views: 731

I have three questions. First, why do you have "global botnick quit" there, since neither of those variables are used? Second, why are you cramming all the stuff on so few lines? Third, what is the error or how is it not working? I also have one suggestion. Try binding to Q instead of p|p....