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

by whittinghamj
Fri Sep 21, 2007 7:16 pm
Forum: Scripting Help
Topic: running .sh file from tcl
Replies: 1
Views: 2420

running .sh file from tcl

ok I have a script which sets a few cars set who "$nick" set source "$channel" and i need to pass those to a .sh file like thus [exec file.sh $who $source] this tclsh not eggtcl - i know this is egghelp but its for the most part the same code syntax. I just need it the run like t...
by whittinghamj
Fri Sep 21, 2007 7:14 pm
Forum: Scripting Help
Topic: strip chars
Replies: 3
Views: 3311

[ SOLVED} strip chars

ty very much
by whittinghamj
Fri Sep 21, 2007 6:22 pm
Forum: Scripting Help
Topic: strip chars
Replies: 3
Views: 3311

strip chars

I have an output of 123/4567.89 I am trying to strip out (delete) everything before the " / " AND get rid of the " / " as well. Any ideas please? the part of 123 will change from between 4 and 8 letters so cannot do a static removal - need to search for " / " and del ev...
by whittinghamj
Thu Sep 20, 2007 10:50 pm
Forum: Scripting Help
Topic: delay output
Replies: 6
Views: 5819

thanks for the info here is what i am actually using the real proc i mean - cos i am not sure how to use your suggested code. I was looking for timer as I need the time delay to be say 10 - 15 seconds proc pub:send_nfo {nick host hand chan text} { putlog 1 global mysql set output [mysqlsel $mysql &q...
by whittinghamj
Thu Sep 20, 2007 9:50 pm
Forum: Scripting Help
Topic: delay output
Replies: 6
Views: 5819

delay output

Hi yall

I am trying to delay the time between putserv lines, eg

line 1
(wait ten seconds)
line 2
(wait another ten sections)
line 3

see what I mean?

Is there a way to do this - cheers
by whittinghamj
Sun Sep 02, 2007 6:46 am
Forum: Scripting Help
Topic: today time in unixtime
Replies: 3
Views: 3554

today time in unixtime

hi guys, herre is an interesting one, been bugging for hours over this i need to find out what the unixtime stamp is for todays date at 00:00:00 / 12:00 am set today [clock scan [clock format [unixtime] -format "%m-%d-%y" -gmt no]] does not seem to work it reutnrs a value that is in the fu...
by whittinghamj
Sat Aug 25, 2007 11:17 pm
Forum: Scripting Help
Topic: mysql and tcl help please :D
Replies: 1
Views: 2575

mysql and tcl help please :D

hi guys ok i am writing a mysql search / storage system and need a wee bit of help on this one. I am going to be searching on EXACT LIKE% and LIKE% in that order. I have the following sql lines that i know work fine set countrls [mysqlsel $mysql "SELECT COUNT(*) FROM pre WHERE rls = '$text2'&qu...
by whittinghamj
Fri Mar 09, 2007 8:38 pm
Forum: Scripting Help
Topic: bind notice instead of bind pub
Replies: 1
Views: 2080

bind notice instead of bind pub

how can i conver this please

bind pub -|- !command proc

into

bind notice -|- !command proc

so the bot reads the notice instead of a channel line.

cheers
by whittinghamj
Thu Mar 08, 2007 1:49 pm
Forum: Script Requests
Topic: Eggdrop + Mysql backend
Replies: 1
Views: 2375

Eggdrop + Mysql backend

Hi guys. I just found an old post - I posted a msg of it but it did not bring it alive again _ :P oh well. here goes. I know this can be done from the post I found which is about a year old. I wanted my bot to work with mysql backend. By this I mean userfile chan file etc would be run from mysql. I ...
by whittinghamj
Thu Mar 08, 2007 12:54 pm
Forum: Eggdrop Help
Topic: MySQL instead of Eggdrops userfile?
Replies: 19
Views: 12606

I this is a really old post but Its exactly what I am looking for - does anyone know of a script / module to make this happen?

Cheers
by whittinghamj
Wed Mar 07, 2007 2:52 pm
Forum: Eggdrop Help
Topic: eggie wont connect
Replies: 2
Views: 2479

eggie wont connect

Hi guys. Having a small issue. I have two user accounts. One will load eggie just fine. I created the second account last night and compiled eggie but when I start the bot ./eggdrop -m bot.conf it loads but does not connect. When I do ./eggdrop -nm bot.conf if loads and connects just fine. I used ap...
by whittinghamj
Tue Mar 06, 2007 10:33 pm
Forum: Script Requests
Topic: [ SOLVED ] Timed rehash
Replies: 5
Views: 4209

thank you fz - your da man with da plan who can.
by whittinghamj
Tue Mar 06, 2007 8:58 pm
Forum: Script Requests
Topic: [ SOLVED ] Timed rehash
Replies: 5
Views: 4209

[ SOLVED ] Timed rehash

Hi guys. Just a quickone I cannot get my head around.

here is what i have so fare

Code: Select all

proc timed:rehash { nick uhost hand chan text} {
rehash
}
I am not sure about the bind line to make it run on its own every 30 minutes.

Please could someone help?

Cheers

Quest
by whittinghamj
Wed Feb 28, 2007 1:48 am
Forum: Script Requests
Topic: Hhelp with strip char
Replies: 9
Views: 5148

I got it thank you :D

I was not thinking right - been at this tcl for 9 hours non stop lol
by whittinghamj
Wed Feb 28, 2007 12:11 am
Forum: Script Requests
Topic: Hhelp with strip char
Replies: 9
Views: 5148

hi guys I am trying to use both of those examples but running into issues - no idea how to use them here is what i have so fare maybe u can see where i going wrong proc pub:addpreannounce {nick host hand chan arg} { global mysql set pregroup [string range [lindex $arg 0] [expr {[string last - [linde...