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
Wed Jan 12, 2005 12:30 pm
Forum: Archive
Topic: auto-add users (with host and basic flags) + expiration
Replies: 7
Views: 1853

Hey one suggestion I have is to prefix newly added users with something like... game_ so that when you "clean" the userfile, you don't delete your real users by mistake. I also put a +G flag on them to help even more. Furthermore, it's very simple to add this cleaning thing you're talking ...
by stdragon
Fri Jan 07, 2005 9:57 am
Forum: Archive
Topic: Happy New Year
Replies: 2
Views: 1747

Happy new year!
by stdragon
Wed Nov 10, 2004 11:36 am
Forum: Archive
Topic: Starting a Project - Advice requested
Replies: 9
Views: 4227

Hi, One thing that may make things harder is that libmsn seems to be a C++ library, not a C library. I think your best bet is to use something like libgaim. I don't think you have to bother with gtk and all that, from what I've read -- libgaim is just the gaim library, there is no user interface. I ...
by stdragon
Sun Jul 11, 2004 7:53 pm
Forum: Archive
Topic: File relay between 2 bots via bot net, each on diff net
Replies: 2
Views: 1196

It wouldn't be too hard to modify an existing fserve script to do that. Change the part where it sends the file (usually dccsend) to issue a botnet command (putbot) and have a script on the other bot that intercepts the botnet command and executes dccsend. It's probably only a couple lines of script...
by stdragon
Fri Jul 09, 2004 5:03 pm
Forum: Archive
Topic: constraining socket data
Replies: 6
Views: 1957

Ooops what about after the else? (but still inside the main if part)
by stdragon
Thu Jul 08, 2004 8:31 pm
Forum: Archive
Topic: constraining socket data
Replies: 6
Views: 1957

Try putting the return after this line:

putserv "PRIVMSG #channel :/0034,4 /0031,15 $rtr /00314,14 /003"
by stdragon
Thu Jul 08, 2004 6:14 pm
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9041

Caveman, If what you had already works, then why are you even asking for help?? I don't get it. Also, if you really did add global $botnick that is also wrong... Now here's the thing. What you have does (or should) work, but since $botnick is blank, it should work with any text, not just the bot's n...
by stdragon
Tue Jul 06, 2004 5:25 pm
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9041

Caveman, if you read my post, you'll see that the variable does *exist*, but it is *blank*. That's not the same as saying it doesn't exist or it is not set. There's no error using $botnick before you connect to a server -- it's just meaningless.

We know what we are talking about!
by stdragon
Tue Jul 06, 2004 12:09 pm
Forum: Archive
Topic: http post event ..?..?
Replies: 5
Views: 1615

Easiest solution is to use blocking sockets.

2nd is to create a fileevent readable callback.
by stdragon
Tue Jul 06, 2004 12:07 pm
Forum: Archive
Topic: Problem binding to variable trigger with pubm
Replies: 28
Views: 9041

Cavemanm85de, Strikelight was right -- the botnick variable is set when eggdrop connects to the server and is assigned a nickname, not when the bot loads the config file. You might be thinking of the $nick variable instead. The $botnick variable does exist, of course, but it will be blank. Solution:...
by stdragon
Mon Jul 05, 2004 10:49 am
Forum: Archive
Topic: http post event ..?..?
Replies: 5
Views: 1615

You close it after you've read all the data... see "content-length"
by stdragon
Sun Jul 04, 2004 2:33 pm
Forum: Archive
Topic: http post event ..?..?
Replies: 5
Views: 1615

Maybe because you close the socket in your reader?
by stdragon
Thu Jun 24, 2004 11:11 am
Forum: Archive
Topic: help, my module is crashing eggdrop!
Replies: 2
Views: 1144

Do you have the arguments right?

Do you add the binds correctly? (is the list null terminated?)

That's somewhere to start anyway. If you haven't already done so, I'd recommend you use gdb to analyze the core file it produces and find out exactly what line makes it crash.
by stdragon
Thu Jun 24, 2004 11:07 am
Forum: Archive
Topic: invalid command name "elseif"
Replies: 2
Views: 2928

else and elseif aren't commands, they're arguments to the "if" command. The problem is you have your } and your "elseif" and "else" on separate lines. It should be like this:

Code: Select all

if {blah blah} {
   blah
   blah
} elseif {blah blah} {
  blah blah
} else {
  blah
}
by stdragon
Wed Jun 16, 2004 3:02 pm
Forum: Archive
Topic: http geturl 'limiting'?
Replies: 11
Views: 3595

I changed 1.0 to 1.1 just like you and added puts $s "Connection: close" right below it.

Then I did:

set token [http::geturl http://localhost/test.html -headers
  • ]
    puts [http::data $token]

    It worked for me.