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

by droolin
Mon Nov 05, 2007 7:55 am
Forum: Scripting Help
Topic: host unavaible on webpage error
Replies: 3
Views: 2365

Thank you

Sorry about not removing that comment before I posted...

But I do appriceate the information both on the catch and on the http package. Especially the examples.

droolin
by droolin
Sun Nov 04, 2007 10:58 pm
Forum: Scripting Help
Topic: adding join flood check
Replies: 3
Views: 2474

Thank you also

I can see that bit of code being used for a few things that I've been planing to do, just never had an idea how to go about it.

droolin
by droolin
Sun Nov 04, 2007 10:36 pm
Forum: Scripting Help
Topic: host unavaible on webpage error
Replies: 3
Views: 2365

actualy, now that I posted that.

I see something wrong with it... But that still doesn't answer one of my questions... I should always check to make sure that a command executes properly such as accessing a web page, accessing a file. How do you go about doing that so that the rest of the procedure still executes and you do not rec...
by droolin
Sun Nov 04, 2007 10:33 pm
Forum: Scripting Help
Topic: host unavaible on webpage error
Replies: 3
Views: 2365

host unavaible on webpage error

I wrote an eggy script for our shoutcast radio channel. Part of what this script does is check the status web page every time someone joins the channel to determine if someone is streaming or not.(Bloody dj's don't know how to follow instructions). There are times when the bot can't reach the host(s...
by droolin
Mon Sep 17, 2007 8:30 pm
Forum: Scripting Help
Topic: What exactly does this mean????
Replies: 1
Views: 1958

What exactly does this mean????

I have a line of code that I borrowed from another script to read the 7.html page from shoutcast. puts -nonewline $lcl_StreamWebPageScoket "GET /7.html HTTP/1.1\nAccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-sh ockwave-flash, */*\nAccept-Language: en-us\nAccept-Enco...
by droolin
Mon Sep 17, 2007 8:26 pm
Forum: Scripting Help
Topic: How to acquire the number of characters minus color codes
Replies: 2
Views: 2573

How to acquire the number of characters minus color codes

Is there a way to count the number of characters in a string minus the hex codes for colors? "\0034,1\xb0\xbaO\xa7\0030 ~ ~ ~ ~ ~ $botnick command help ~ ~ ~ ~ ~ " If I do a string length on that, that returns the total count of characters including the hex values and such. Is there any wa...
by droolin
Thu Sep 06, 2007 10:57 pm
Forum: Scripting Help
Topic: string map question
Replies: 2
Views: 2580

string map question

When looking through these threads, I seen where a suggestion was made to use string map instead of regsub, which seemed to fit a situation that I am trying to code for. But, for some reason I am having problems with this. I am trying to use a variable for the replacement value, and the variable nam...
by droolin
Wed Sep 05, 2007 9:36 pm
Forum: Scripting Help
Topic: isop dumb question
Replies: 1
Views: 2260

isop dumb question

Im putting together a script for a IRC radio channel, and I was doing a check on the status of a nick to see if they were an oper in any of the radio channels that this nick would be valid for. This command was issued with a msg, which required the logic of the script to loop through a list of chann...
by droolin
Sun Apr 16, 2006 11:00 am
Forum: Scripting Help
Topic: executing perl from tcl script?
Replies: 5
Views: 6460

how often was the module called though?

The module I want to create will be called at most, twice an hour. It's to create a banner for a web page containing the persons name that is streaming on an irc radio station. When they execute in channel a bot command to set topic that they are the current dj is the only time this would be called....
by droolin
Sun Apr 16, 2006 1:07 am
Forum: Scripting Help
Topic: executing perl from tcl script?
Replies: 5
Views: 6460

thank you

very much appriceated

droolin
by droolin
Sat Apr 15, 2006 11:12 pm
Forum: Scripting Help
Topic: executing perl from tcl script?
Replies: 5
Views: 6460

would it be this???

I havent written the perl program yet, so I havent tested. But, would it be something like this? exec perl CreateImage.pl $varible There is no need to receive back from this perl program the status. Like I said, its creating an image file for a web site based on things going on. yes/no/maybe? droolin
by droolin
Sat Apr 15, 2006 10:54 pm
Forum: Scripting Help
Topic: executing perl from tcl script?
Replies: 5
Views: 6460

executing perl from tcl script?

Is it possible to execute an external process from inside an tcl script. Ie, I want to call a perl script that creates an image file based on information known by the eggie.
Im going to be using perl, cause I want to use the GD perl module for creating this image.
Is it possible????

droolin
by droolin
Thu Sep 30, 2004 10:04 pm
Forum: Archive
Topic: Is there a 'case' statement in tcl????
Replies: 2
Views: 1563

might have the same function

Ok, after you said about the 'switch'. I looked it up in a tcl e-book that I have. That's exactly what I was looking for. I have a bunch of different simple if statements I think would be better coded using the switch. Thank you. I've only ever seen the case statement in various languages, and wasnt...
by droolin
Thu Sep 30, 2004 9:09 pm
Forum: Archive
Topic: Is there a 'case' statement in tcl????
Replies: 2
Views: 1563

Is there a 'case' statement in tcl????

Im looking at some code I have, and the case statement would be great here. Does tcl also have this??


droolin
by droolin
Tue Sep 28, 2004 7:03 pm
Forum: Archive
Topic: reading regexp from txt files
Replies: 1
Views: 2358

reading regexp from txt files

Is there anything special that would needed to be done to read regular expresions from a .txt file into an array? I have a security bot that basicatly I keep adding regular expresions for specific checks(nicks/idents/version), and I would like to organize it so that it just loops an array of regular...