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

by t3ch^
Thu Jun 24, 2004 2:09 pm
Forum: Archive
Topic: Sharing Weather ,Tv and Google script.
Replies: 1
Views: 1690

Sharing Weather ,Tv and Google script.

Ok heres 3 of my scripts. pls help me improve them. Google bind pub - !google web:google proc web:google {nick host handle chan arg} { set text "" set text2 "" set data "" set data2 "" set arg [string map {" " "+"} $arg] package require htt...
by t3ch^
Tue Jun 15, 2004 11:40 am
Forum: Archive
Topic: special char in regexp
Replies: 1
Views: 1377

special char in regexp

i have this script: # We need http package #package req http bind pub - !tv info:tv proc info:tv {nick host handle chan text} { set url "http://tvprogram.nu/cgi-tvprogram/pp1.cgi?NU-palmpilot.htm" set data [http::data [http::geturl $url]] if {![regexp -nocase {<b>SVT1</b>(.*?)<b>([0-9\.]+)...
by t3ch^
Mon Feb 02, 2004 11:32 pm
Forum: Archive
Topic: !tv script
Replies: 13
Views: 4817

if it cant find SVT1 info, its set to "?"
by t3ch^
Mon Jan 26, 2004 3:50 pm
Forum: Archive
Topic: Fetching data from www?
Replies: 14
Views: 4938

<---- was only there to notice you about a wrong typing in the code.

it was at first $data when it should be $line

//
by t3ch^
Wed Jan 21, 2004 8:41 am
Forum: Archive
Topic: regexp X times
Replies: 1
Views: 808

regexp X times

I got this code <a href="/Sections/Genres/Fantasy/">Fantasy</a> / <a href="/Sections/Genres/Adventure/">Adventure</a> / <a href="/Sections/Genres/Action/">Action</a> This can vary in number and genres but the code is still the same. How would i fetch all betwean > < ? i...
by t3ch^
Tue Jan 20, 2004 9:50 am
Forum: Archive
Topic: !tv script
Replies: 13
Views: 4817

I got this one for swedish tv. # We need http package package req http bind pub - !tv info:tv proc info:tv {nick host handle chan text} { set url "http://tvprogram.nu/cgi-tvprogram/pp1.cgi?NU-palmpilot.htm" set data [http::data [http::geturl $url]] if {![regexp -nocase {<b>SVT1</b>(.*?)<b>...
by t3ch^
Thu Jan 15, 2004 8:31 am
Forum: Archive
Topic: Rexexp
Replies: 1
Views: 1251

Rexexp

I got this code <html> <head> <title>TV</title> </head> <body TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#000099" ALINK="#000099"> <font face="verdana" size="4"><a href="http://tvprogram.nu/cgi-tvprogram/pp1.cgi?N...
by t3ch^
Wed Dec 31, 2003 6:32 am
Forum: Archive
Topic: Regexp
Replies: 2
Views: 1295

I got it working with this:

Code: Select all

regexp {<a href="http://uk.weather.yahoo.com/([a-zA-Z0-9]*)/([a-zA-Z0-9]*)/index_c.html">} $data data match match2
But im not sure of its the right way to do it...
//
by t3ch^
Wed Dec 31, 2003 5:42 am
Forum: Archive
Topic: Regexp
Replies: 2
Views: 1295

Regexp

I got a problem with regexp. I got this code from a web page: <a href="http://uk.weather.yahoo.com/Europe/United_Kingdom/England/"> <a href="http://uk.weather.yahoo.com/UKXX/UKXX0085/index_c.html"> I want to extract: UKXX/UKXX0085 But with this regexp: regexp -nocase {<a href=&qu...
by t3ch^
Tue Dec 30, 2003 6:57 pm
Forum: Archive
Topic: Fetching data from www?
Replies: 14
Views: 4938

man i love you! thx alot happy new year all [edit] # set this outside the proc, it's safer package require http bind pub - !www www:www proc www:www {nick host handle chan text} { #why setting these here? set a "" set b "" #what you use this for? set token [http::config -useragen...
by t3ch^
Tue Dec 30, 2003 6:35 pm
Forum: Archive
Topic: Fetching data from www?
Replies: 14
Views: 4938

thx, now i do get some data from www but its not working as i want it to... My code: bind pub - !www www:www proc www:www {nick host handle chan text} { package require http set a "" set b "" set token [http::config -useragent "Mozilla 4.0"] set url "http://lajt.mi...
by t3ch^
Tue Dec 30, 2003 11:34 am
Forum: Archive
Topic: Fetching data from www?
Replies: 14
Views: 4938

Fetching data from www?

Can some one give me some dockuments howto fetch data from www or maby even explain a little bit?

i whant to do a tcl script wich get data from a certain page and displays it on irc on a chanel, kinda like !google.
by t3ch^
Tue Dec 30, 2003 9:10 am
Forum: Archive
Topic: DCC behind NAT
Replies: 10
Views: 4482

it didnt help changing port to 60000
my network is quakenet

my dcc setings are fine.

any tips?
by t3ch^
Mon Dec 29, 2003 2:58 am
Forum: Archive
Topic: DCC behind NAT
Replies: 10
Views: 4482

what should i change under options/DCC ? i cant find anything that has to do with my problem... dcc module is loaded Eggdrop v1.6.15 (C) 1997 Robey Pointer (C) 2003 Eggheads [08:07] --- Loading eggdrop v1.6.15 (Mon Dec 29 2003) [08:07] Listening at telnet port 9000 (all) [08:07] Module loaded: dns [...
by t3ch^
Sun Dec 28, 2003 3:51 pm
Forum: Archive
Topic: DCC behind NAT
Replies: 10
Views: 4482

it does not work...

I can telnet to the bot, but not "irc chat" with it.

Does this has somting to do with me also behind the same firewall?

my ip is 192.168.0.2

//