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

by streamish
Thu Mar 24, 2011 7:33 pm
Forum: Scripting Help
Topic: adding a search
Replies: 28
Views: 17031

Thanks nml375, I love how you set that up. It works beautifully. The only problem I'm seeing now is the matching. set shoelace { "1 of 3918 http://shoelace.org/pics/2011/03-02-2011/02212011_earthquake_christchurch_InstantBikeramp.j$ "2 of 3918 http://shoelace.org/pics/2011/03-02-2011/2irql...
by streamish
Thu Mar 24, 2011 6:34 pm
Forum: Scripting Help
Topic: adding a search
Replies: 28
Views: 17031

I added this line of code to search for the argument putserv "PRIVMSG $channel :\[LOCATED IMAGE\] [lindex $shoelace [rand [lsearch -all $shoelace $args]]]" But it is returning this error... [15:30:35] Tcl error [pub_shoelace]: random limit must be greater than zero I'm fairly new to TCL, s...
by streamish
Wed Mar 23, 2011 7:15 pm
Forum: Scripting Help
Topic: adding a search
Replies: 28
Views: 17031

adding a search

My script is as follows: bind pub - !shoelace pub_shoelace proc pub_shoelace {nick mask hand channel args} { global shoelace putserv "PRIVMSG $channel :\[RANDOM IMAGE\] [lindex $shoelace [rand [llength $shoelace]]]" } set shoelace { "1 of 3918 http://shoelace.org/pics/2011/03-02-2011/...
by streamish
Thu Feb 24, 2011 5:43 pm
Forum: Script Support & Releases
Topic: DragnLord's weather script
Replies: 359
Views: 338337

fwhat help

When I comment out the following code, the script works fine, but it does not print a forecast. regexp {<div class=\"b\">(.*?)</div>(.*?)</td>} $cast match fwhen($f) fwhat($f) # regsub -all {<([^<])*>} $fwhat($f) {} fwhat($f) # regsub -all {[[:cntrl:]]} $fwhat($f) {} fwhat($f) # regsub { »...
by streamish
Tue Feb 01, 2011 5:54 pm
Forum: Script Support & Releases
Topic: DragnLord's weather script
Replies: 359
Views: 338337

Would like to see if I can get a little help on this issue. I've updated the weather script by replacing the °'s with °'s as aforementioned. ..... {regexp {Temperature: (.*?)°F / (.*?)°C} ....... (just a small snippet) However, upon rehash, it spit out an error about fwhat(1) no such element or what...