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

by karodde
Fri May 04, 2007 9:13 pm
Forum: Scripting Help
Topic: Eggdrop Web Information
Replies: 6
Views: 7061

Another Way I would appreciate even more is this: The command !hello is standard and should have 2 more attributes . !hello chair blue , !hello table green and so on. 'chair blue' will have to link to a proc, 'table green' to another proc, table red to another proc, table white also to another etc.....
by karodde
Fri May 04, 2007 6:19 pm
Forum: Scripting Help
Topic: Eggdrop Web Information
Replies: 6
Views: 7061

thanks, now I have a last question. bind pub - ! hello my:test proc my:test {nick uhost hand chan text} { set url "http://www.site.com/ $hello .htm" set token [::http::geturl $url] set content [::http::data $token] ::http::cleanup $content regexp {<html>(.*?)</html>.*?} $content fullmatch ...
by karodde
Fri May 04, 2007 1:58 pm
Forum: Scripting Help
Topic: Eggdrop Web Information
Replies: 6
Views: 7061

bind pub - !test my:test proc my:test {nick uhost hand chan text} { #this has to have the name theproc1 set url "http://www.site.com/page.htm" set token [::http::geturl $url] set content [::http::data $token] ::http::cleanup $content regexp {<html>(.*?)</html>.*?} $content fullmatch exact...
by karodde
Fri May 04, 2007 12:57 pm
Forum: Scripting Help
Topic: Eggdrop Web Information
Replies: 6
Views: 7061

bind pub - !example my:example proc my:example {nick uhost hand chan text} { set url "http://uhrzeit.org/atomuhr.html" set token [::http::geturl $url] set content [::http::data $token] ::http::cleanup $content regexp {<h6 id="anzeige".*?>(.*?)</h6>.*?Die Uhrzeit} $content fullma...
by karodde
Thu May 03, 2007 11:21 am
Forum: Tcl FAQ
Topic: Parsing webpages made easy
Replies: 30
Views: 109222

Re: Parsing webpages made easy

The Script works for my shell @ home. Now I want my eggdrop to post this Info by typing !test. I Made this, but it doesnt work :) #!/bin/sh # This line continues for Tcl, but is a single line for 'sh' \ exec tclsh8.4 "$0" ${1+"$@"} package require tdom package require http set ur...
by karodde
Thu May 03, 2007 7:19 am
Forum: Scripting Help
Topic: Eggdrop Web Information
Replies: 6
Views: 7061

Eggdrop Web Information

Hello, I need a script, which should do this: When somebody in a channel types "!test", I want that my eggdrop automaticly posts a text/string. This text/string comes from a php or html file (http://www.site.com/thefile.html), i specified. The Problem is, that the html source code contains...
by karodde
Wed May 02, 2007 8:50 am
Forum: Script Support & Releases
Topic: Weather script for wetter.com [German]
Replies: 222
Views: 218109

(MrBot) I am MrBot, running eggdrop v1.6.18: 2 users (mem: 97k). (MrBot) Online for 00:01 (terminal mode) - CPU: 00:00 - Cache hit: 52.9% (MrBot) Admin: MrBot (MrBot) Config file: eggdrop.conf (MrBot) OS: CYGWIN_NT-5.1 1.5.21(0.156/4/2) (MrBot) Tcl library: /usr/local/lib/tcl8.4 (MrBot) Tcl version...
by karodde
Wed May 02, 2007 8:05 am
Forum: Script Support & Releases
Topic: Weather script for wetter.com [German]
Replies: 222
Views: 218109

In meiner eggdrop.conf gibt es nicht einen 'package require' Eintrag. Ich habe mal die http.tcl und egghttp.tcl mit package require aufgerufen, dann kommt aber immer der Fehler 'can't find package'. Hm an der egghttp.tcl scheints nicht zu liegen, da sie per 'source' geladen wird. Das Kopieren des Wi...
by karodde
Tue May 01, 2007 7:09 pm
Forum: Script Support & Releases
Topic: Weather script for wetter.com [German]
Replies: 222
Views: 218109

Hallo, danke für die Antwort! Den Ordner lib/tcl8.4/http2.5 habe ich, und es befinden sich 2 Dateien in ihm: http.tcl und pkgIndex.tcl Wenn ich die http.tcl in der eggdrop.conf mit source einbinde (source lib/tcl8.4/http2.5/http.tcl) kommt ein ganz komischer Fehler, und das mehrmals hintereinander. ...
by karodde
Tue May 01, 2007 2:05 pm
Forum: Script Support & Releases
Topic: Weather script for wetter.com [German]
Replies: 222
Views: 218109

Hallo, ich habe windrop v1.6.18 und kriege leider folgende Fehlermeldung beim Ausführen des Scriptes: Tcl error in file 'eggdrop.conf': can't find package http 2.4 while executing "package require http 2.4" invoked from within "set wetter(useragent) "Tcl http client (TCL [info pa...