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

by malcsman
Mon Apr 14, 2008 3:15 am
Forum: Scripting Help
Topic: [SOLVED]help using egghttp from egghttp_example.tcl
Replies: 13
Views: 9484

thanks, one more questions...

thanks speechles i'll create a new thread if i need more help. i worked out the following via trial and error: where abouts do i check the text for errors before it gets the things from the site? after # if bible isn't set for the channel, return and do nothing if {[lsearch -exact [channel info $cha...
by malcsman
Sun Apr 13, 2008 3:06 pm
Forum: Scripting Help
Topic: [SOLVED]help using egghttp from egghttp_example.tcl
Replies: 13
Views: 9484

um, ok, perhaps something else is preventing thing from happening. here's from the console after i give the command: [21:05] [@] frommn!~ninda@SF-609D90B5.cybersmart.co.za PRIVMSG #questions :!example genesis 4:12 [21:05] WARNING: open_telnet_raw() is about to block in gethostbyname()! [21:05] net: ...
by malcsman
Sun Apr 13, 2008 9:56 am
Forum: Scripting Help
Topic: [SOLVED]help using egghttp from egghttp_example.tcl
Replies: 13
Views: 9484

ok, couldnt resist...
got this error when i said !example mark 1:1
[15:57] Tcl error [our:pubtrigger]: variable "chan" already exists
by malcsman
Sun Apr 13, 2008 9:51 am
Forum: Scripting Help
Topic: [SOLVED]help using egghttp from egghttp_example.tcl
Replies: 13
Views: 9484

ok, i opened netbeans and got a new script file. pasted the code and played with it until the else { had his partner } at the bottom. not sure what i did, but i got to this: # Config set pubtrigger "!example" # End of config if {![info exists egghttp(version)]} { putlog "egghttp.tcl w...
by malcsman
Sun Apr 13, 2008 9:27 am
Forum: Scripting Help
Topic: [SOLVED]help using egghttp from egghttp_example.tcl
Replies: 13
Views: 9484

ok, that didnt work, trying something else: see comment of 'try 1' and 'try 2' # pull the verses from the page in list format # which allows using a foreach to step through it. # i removed The '} {' from the end of the line --FAILED and put back - try 1 unsuccessful regexp -all -inline {<span id.*&q...
by malcsman
Sun Apr 13, 2008 8:49 am
Forum: Scripting Help
Topic: [SOLVED]help using egghttp from egghttp_example.tcl
Replies: 13
Views: 9484

um, ok. i .rehash and then it crashed, so i checked the logs and this is what it sed: [14:15] egghttp.tcl API v1.1.0 by strikelight now loaded. [14:15] Tcl error in file 'statsbot.conf': [14:15] wrong # args: extra words after "else" clause in "if" command while executing "i...
by malcsman
Sun Apr 13, 2008 7:45 am
Forum: Scripting Help
Topic: [SOLVED]help using egghttp from egghttp_example.tcl
Replies: 13
Views: 9484

wow, thanks strikelight and speechles!! to let you know, i have no clue how regexp an all works. my only experience with programming is with turbopascal 7 from school and html and a little php. that <p/> was actually coppied out of the website - i was a little confused as to why it was not </p>. i'l...
by malcsman
Sat Apr 12, 2008 5:27 pm
Forum: Scripting Help
Topic: [SOLVED]help using egghttp from egghttp_example.tcl
Replies: 13
Views: 9484

[SOLVED]help using egghttp from egghttp_example.tcl

hello Iḿ really confused as to how this all works. if someone could please help me. all i want is to show the bible verses. if i echo the $body, then i get an output. if i use any other var, nothing comes out..or it comes out as ¨example¨ here´s my code: # egghttp_example.tcl # Config set url "...