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

by theice
Fri May 09, 2008 6:48 pm
Forum: Scripting Help
Topic: Replacing & with &
Replies: 1
Views: 1599

Replacing & with &

couldn't figure out an easy way after looking around the forums... maybe i'm being a noob... probably going to use lreplace to do it? foreach tr [regexp -all -inline {<tr class="dlc_info_row">.*?</tr>} $data] { regexp {<tr class="dlc_info_row">.*?<td>(.+?)</td>.*?<td>(.+?)</td>.*...
by theice
Wed Apr 16, 2008 3:05 pm
Forum: Scripting Help
Topic: mysqltcl[solved]
Replies: 12
Views: 8131

thanks for your help
by theice
Wed Apr 16, 2008 12:51 pm
Forum: Scripting Help
Topic: mysqltcl[solved]
Replies: 12
Views: 8131

I asked a different admin for my hosting company to see what was up, and he got it working in 2 minutes ROFL. libmysqlclient.so.16 => /usr/local/lib/mysql/libmysqlclient.so.16 (0x2816b000) libcrypt.so.3 => /lib/libcrypt.so.3 (0x281cf000) libm.so.4 => /lib/libm.so.4 (0x281e7000) libz.so.3 => /lib/lib...
by theice
Tue Apr 15, 2008 7:00 pm
Forum: Scripting Help
Topic: mysqltcl[solved]
Replies: 12
Views: 8131

the permissions are correct to be accessed from my shell account..

any other ideas?
by theice
Tue Apr 15, 2008 11:35 am
Forum: Scripting Help
Topic: mysqltcl[solved]
Replies: 12
Views: 8131

it was .so , I tried that also [11:34] couldn't load file "/usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so": Cannot open "/usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so" while executing "load /usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so" (file "eggdrop.conf&quo...
by theice
Tue Apr 15, 2008 2:46 am
Forum: Scripting Help
Topic: mysqltcl[solved]
Replies: 12
Views: 8131

I can just recomplie the eggdrop, without changing any of the settings? [02:50] Tcl error in file 'eggdrop.conf': [02:50] couldn't load file "/usr/local/lib/mysqltcl-3.05/libmysqltcl3.05": Cannot open "/usr/local/lib/mysqltcl-3.05/libmysqltcl3.05" while executing "load /usr/...
by theice
Mon Apr 14, 2008 5:21 pm
Forum: Script Requests
Topic: Need a script line
Replies: 21
Views: 9272

start with a public proc / bind set pubtrig "!" #public format !displayfile folder file line bind pub - ${pubtrig}displayfile display:pub proc display:pub {nick uname hand chan text} { set folder [lindex [split $text] 0] set file [lindex [split $text] 1] set line [lindex [split $text] 2] }...
by theice
Mon Apr 14, 2008 3:52 pm
Forum: Scripting Help
Topic: mysqltcl[solved]
Replies: 12
Views: 8131

he installed it on the server,

but...

it is saying the package isn't there?

do I have to recomplie the bot or something? where do I put that

tried adding

load /usr/local/lib/mysqltcl-3.03/libmysqltcl3.03.so

to my eggdrop.conf is that all I have to do?
by theice
Mon Apr 14, 2008 12:52 am
Forum: Scripting Help
Topic: mysqltcl[solved]
Replies: 12
Views: 8131

mysqltcl[solved]

can't figure out how to install this at all- the coding to utilize it seems super easy, I used the search feature still couldn't figure it out. http://www.xdobry.de/mysqltcl/ http://www.xdobry.de/mysqltcl/mysqltcl-3.05.tar.gz is what i want to use I am using a freebsd shell, so I have no idea what t...
by theice
Sun Mar 23, 2008 12:48 am
Forum: Scripting Help
Topic: parsing another website
Replies: 2
Views: 2543

parsing another website

set title [lrange $text 0 end] putserv "PRIVMSG $c :$title:" regexp {<td><b>"<a href="/wiki/.*?" title="$title">.*?</a>"</b></td>(.*?)</tr>} $data - data regexp {<td><b><a href="/wiki/.*?" title="(.+?)">.*?</a></b></td>.*?<td>(.+?)</td>.*?...
by theice
Mon Mar 17, 2008 7:17 pm
Forum: Scripting Help
Topic: parsing this website
Replies: 13
Views: 5287

your way didn't completly work, but thanks you got me where I needed =] regexp {<div class="dlc_week">(.*?)</div>} $data - week putserv "PRIVMSG $c :$week" regexp {<table class="dlc_table".*?>(.*?)</table>} $data - data foreach tr [regexp -all -inline {<tr class="d...
by theice
Mon Mar 17, 2008 3:49 pm
Forum: Scripting Help
Topic: parsing this website
Replies: 13
Views: 5287

that works great, but what I was trying to figure out is how to make it only paste the first weeks information, it keeps going until it runs out of songs, when I want it to stop after it reaches the first </table>
by theice
Mon Mar 17, 2008 1:21 pm
Forum: Scripting Help
Topic: parsing this website
Replies: 13
Views: 5287

regexp {<div class="dlc_week">(.*?)</div>} $data - week putserv "PRIVMSG $c :$week" foreach tr [regexp -all -inline {<tr class="dlc_info_row">.*?</table>} $data] { regexp {<tr class="dlc_info_row">.*?<td>(.+?)</td>.*?<td>(.+?)</td>.*?<td>(.+?)</td>} $data - a...
by theice
Sun Mar 16, 2008 11:42 pm
Forum: Scripting Help
Topic: parsing this website
Replies: 13
Views: 5287

regexp {<tr class="dlc_info_row">.*?<td>(.*?)</td>.*?<td>(.*?)</td>.*?<td>(.*?)</td>} $data - artist title type ended up being the code thanks to you rosc2112... but I can't come up with a good way to keep grabbing more songs until I get to </table> this is how the page is laid out. <tr c...
by theice
Sat Mar 15, 2008 10:39 pm
Forum: Scripting Help
Topic: parsing this website
Replies: 13
Views: 5287

still not having and luck with the multi line parsing its hard: regexp {<div class="dlc_week">(.*?)</div>} $data - week putserv "PRIVMSG $c :$week" regexp {<tr class="dlc_info_row"> <td>(.+?)</td>} $data - artist putserv "PRIVMSG $c :$artist" http::cleanup $da...