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

by johne
Thu Oct 16, 2014 3:05 pm
Forum: Script Support & Releases
Topic: Birdy (OAuth, Twitter, Tweets&MegaHAL v6.01d) Jun12,2013
Replies: 305
Views: 453221

per speechles himself in twitter.tcl on mine ::http::register https 443 [list ::tls::socket -request 1 -require 0] change that to ::http::register https 443 [list ::tls::socket -tls1 1] make sure twitter.tcl is the last script sourced otherwise it might break the http::register if another script doe...
by johne
Wed Feb 15, 2012 4:53 pm
Forum: Scripting Help
Topic: json2dict help
Replies: 7
Views: 7857

worked great! thx!
by johne
Wed Feb 15, 2012 2:12 pm
Forum: Scripting Help
Topic: json2dict help
Replies: 7
Views: 7857

json2dict help

i'm trying to pull [dict get $data watched show title] from the data below after using json2dict. what am I missing to pull the watched data via dict or is there a better way?

http://pastebin.com/AEk3feYz
by johne
Thu Oct 13, 2011 8:28 am
Forum: Scripting Help
Topic: json to nested dict
Replies: 1
Views: 2739

<speechl3s> johne --v
<speechl3s> foreach entry [dict get $json data game plays play] {
<speechl3s> dict with entry {
<speechl3s> puts "desc=$desc"
<speechl3s> }
<speechl3s> }
by johne
Wed Oct 12, 2011 9:14 pm
Forum: Scripting Help
Topic: json to nested dict
Replies: 1
Views: 2739

json to nested dict

after converting a json feed to tcl dict i'm not able to get the values I need, is this a problem with the json format or something im doing wrong? http://pastebin.com/19mRWFKZ post json2dict to get the value im using dict get $json data game plays play which returns {sweater 25 hs 0 aoi {8462042 84...
by johne
Mon Oct 06, 2008 8:44 pm
Forum: Scripting Help
Topic: utimer with an if statement
Replies: 4
Views: 3222

Re: utimer with an if statement

ahh :/ thanks for your explanation.
by johne
Mon Oct 06, 2008 7:48 pm
Forum: Scripting Help
Topic: utimer with an if statement
Replies: 4
Views: 3222

utimer with an if statement

i have a join bind which calls a proc with the usual n u h c args, when the following line is performed, i get an error utimer $::timer1 [list if {[onchan $n $c] && ![isop $n $c]} { putserv "PRIVMSG $c :[string map -nocase "%n $n" [random $::line1]]" }] can't read "n...
by johne
Tue Sep 30, 2008 8:23 pm
Forum: Scripting Help
Topic: pubm priority/conflict
Replies: 1
Views: 2084

okay, i figured it out..crazy stuff but 1.6.17 experiences this behavior, i upgraded to 1.6.19 and both pub and pubm work, and i tested on 1.6.18 and got the same results. :D
by johne
Mon Sep 29, 2008 5:31 pm
Forum: Scripting Help
Topic: pubm priority/conflict
Replies: 1
Views: 2084

pubm priority/conflict

I have several scripts running with different binds and I am trying to enable flood/repeat protection in an additional script but it will not work when the text is the existing binds. If I type hello hello hello the proc will run but when I type .command .command .command the initial bind pub works ...
by johne
Thu Feb 14, 2008 12:00 pm
Forum: Script Support & Releases
Topic: incith:weather (2.8p) (Dec. 18th, 2008)
Replies: 311
Views: 466564

temps are now not displaying *curses wunderground*
by johne
Sun Apr 01, 2007 5:51 pm
Forum: Tcl FAQ
Topic: Parsing webpages made easy
Replies: 30
Views: 117574

some more working examples would be greatly appreciated :)
by johne
Thu Dec 22, 2005 6:42 am
Forum: Scripting Help
Topic: filter text with regexp
Replies: 6
Views: 10923

ok now that that works (there was a space at the beginning of the text line that was giving me problems)...it only outputs the lines of text that are defined by the regexp if {[regexp {^\x020[3]} $e] == 1} { now i need to work on getting the format correct id like to take this: 3<left>501 NEW JERSEY...
by johne
Thu Dec 22, 2005 3:58 am
Forum: Scripting Help
Topic: filter text with regexp
Replies: 6
Views: 10923

im not sure if im going in the right direction with this, but ive managed to code something that gives me 0 output, but no errors.

Code: Select all

   foreach e [split [::http::data $x] \n] {
     if {[regexp {^3} $e] == 1} {
       puthelp "privmsg $c :$e"
by johne
Thu Dec 22, 2005 2:19 am
Forum: Scripting Help
Topic: filter text with regexp
Replies: 6
Views: 10923

the lines that im wanting to strip out of the text file look like this 3<left>501 NEW JERSEY <right> 96<br><left>502 ORLANDO <right> 85<br><center><h> FINAL</h><br><br> 3<left>503 LA CLIPPERS <right> 75<br><left>504 INDIANA <right> 97<br><center><h> FINAL</h><br><br> 3<left>505 GOLDEN STATE <right>1...
by johne
Thu Dec 22, 2005 2:13 am
Forum: Scripting Help
Topic: filter text with regexp
Replies: 6
Views: 10923

ok, ill start looking into that, but from reading in the forums, if i want to parse html, im going to need to use regexp anyways correct?