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

by aap
Wed Jul 05, 2006 11:23 am
Forum: Script Support & Releases
Topic: googler1.0
Replies: 1
Views: 3708

googler1.0

I just can't make it to work... :S

I downloaded googler1.0 and put in in eggdrop.

when I type: !google
it gives me something like "Whatcha searchin for fool!?"

but If I type: !google keyword

it gives me nothing, and no errors in telnet also

Can somebody help me?
by aap
Wed Jul 05, 2006 10:35 am
Forum: Script Requests
Topic: !command <var>
Replies: 5
Views: 3552

so yes :)

Thanks a lot
by aap
Mon Jul 03, 2006 7:02 am
Forum: Script Requests
Topic: !command <var>
Replies: 5
Views: 3552

thanks....

Am I right this way:

Code: Select all

bind pub - !command hi

proc hi {nick uhand channel host arg} {

blabla...

}
I type => !command var

So that "var" stores in "arg" ?
by aap
Sun Jul 02, 2006 6:30 pm
Forum: Script Requests
Topic: !command <var>
Replies: 5
Views: 3552

!command <var>

Well... I just can't find it :S And I don't know wich terms I have to use on google for this:

I want to make this:

!command x


so that !command binds a proc. ( I know how to do that)
and that x stores in variable x

Any help is welcome :)

thx
by aap
Mon Jun 19, 2006 1:26 pm
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 12151

Wauw!

That is exactly what I needed!
Really thanks a lot!

aap

PS. if you need something from me ;)
by aap
Mon Jun 19, 2006 11:49 am
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 12151

New problem :) the problem is that 'a' is ALWAYS 0 :S function of the script: I want the script to output the first line of a .txt file, ONLY if it is new. bind time - * man ;# runs every minute proc man {m h d mo y} { set a [info exists check] set fs [open file.txt r] gets $fs line(first) close $fs...
by aap
Mon Jun 19, 2006 10:55 am
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 12151

so far I know

utimer is the same as timer, but in seconds
by aap
Mon Jun 19, 2006 10:48 am
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 12151

It worked :) Thanks,

but just 1 question: How can I change the timer, I mean... change 1 minute to 2 minutes, or 30 seconds. ?

thx


EDIT: that was a reply on the post from deadite66
by aap
Mon Jun 19, 2006 10:23 am
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 12151

I really need a timer, since the channel is not that crowded ;)
other idea's to solve it?
by aap
Mon Jun 19, 2006 7:55 am
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 12151

wrong number of args

I really hate this... I have now: utimer 15 "now" proc now {n u h c t} { set fs [open file.txt r] gets $fs line(first) putserv "PRIVMSG $c :$line(first)" return } eggdrop gives me something like "wrong # of arguments, should be {now n u h c t}" and when I do that, it sa...
by aap
Mon Jun 19, 2006 7:28 am
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 12151

:) It worked...

Thanks a lot!
by aap
Mon Jun 19, 2006 6:56 am
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 12151

I found this: proc foo {n u h c t} { set x [::http::geturl http://www.domain.com/file.txt] foreach e [split [::http::data $x] \n] { regsub -all {<([^<])*>} $e {} e puthelp "privmsg $c :$e" } } And I understand that regsub -all won't read the html tags... But how can I make the script so it...
by aap
Sun Jun 18, 2006 8:25 pm
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 12151

Getting first Line of a on-the-web-located file

Hi, I want to output the first line of a .txt which is located at http://blablah.com/file.txt I have the http package (included in TCL right?) But I have no experience in using it. Its just that I can't find a good example. for each hit on google I get the same page (the page that I don't get with m...