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

by Madalin
Tue Feb 28, 2017 4:43 am
Forum: Script Requests
Topic: Play text file
Replies: 9
Views: 10691

Its done .. Thanks
by Madalin
Mon Feb 27, 2017 1:48 pm
Forum: Script Requests
Topic: Play text file
Replies: 9
Views: 10691

Thats what i tryed to do. I mean i saved everything in array and started from there :) but i dont know where im getting it wrong.

If you take a closer look at the code i posted is something similar :) yet not working as it should.
by Madalin
Mon Feb 27, 2017 1:31 pm
Forum: Script Requests
Topic: Play text file
Replies: 9
Views: 10691

Its a script im making for a friend .. he wants to play maximum 100 lines. He just wants stop/start/pause/resume commands, so nothing major.
by Madalin
Mon Feb 27, 2017 12:30 pm
Forum: Script Requests
Topic: Play text file
Replies: 9
Views: 10691

Yeah that would be nice .. i tryed to test the code ... yet i have for three lines proc lineindex filename { set res 0 set fp [open $filename] while {[gets $fp line]>=0} {lappend res [tell $fp]} close $fp set res } [14:26:55] 0 10 20 28 And why set rest at the end of this proc ? But i dont know how ...
by Madalin
Mon Feb 27, 2017 7:50 am
Forum: Script Requests
Topic: Play text file
Replies: 9
Views: 10691

Play text file

Im trying to make a text file to play on a channel with commands like !start !stop !resume and !pause !start and !stop no problem ... but !pause and !resume i cant really figure it out :) i messed the code so far that i didnt know what ive done good or wrong.. This is the code i managed to save upon...
by Madalin
Tue Jan 31, 2017 3:50 am
Forum: Scripting Help
Topic: How to list & close active mysqltcl sessions
Replies: 8
Views: 9040

With string match i tryed yet when the result comes to mIRC it has '?' instead of the letter maybe thats why is not being modifyed.

I will try with WHERE in the next version, my problem now is that some use "ă" "a" "ş" "s" in TITLE and the link is not accesible
by Madalin
Mon Jan 30, 2017 3:59 pm
Forum: Scripting Help
Topic: How to list & close active mysqltcl sessions
Replies: 8
Views: 9040

That i need.

Another question do you have any code to modify "ă" into 'a'
by Madalin
Mon Jan 30, 2017 2:39 pm
Forum: Scripting Help
Topic: How to list & close active mysqltcl sessions
Replies: 8
Views: 9040

Thanks sticking out the return in the foreach loop. That was the problem solved it. Thanks again.
by Madalin
Mon Jan 30, 2017 12:35 pm
Forum: Scripting Help
Topic: How to list & close active mysqltcl sessions
Replies: 8
Views: 9040

I rewrote the script ... and used closed at the end .. here is an example .. proc sql:category {number} { global my set handle [::mysql::connect -host $my(host) -user $my(user) -password $my(pass) -db $my(db) -port $my(port)] set go [::mysql::sel $handle "SELECT `fk_i_category_id`,`s_name`,`s_d...
by Madalin
Mon Jan 30, 2017 2:58 am
Forum: Scripting Help
Topic: How to list & close active mysqltcl sessions
Replies: 8
Views: 9040

How to list & close active mysqltcl sessions

I am reading a mysql database in the following way set num [catch {::mysql::connect -host $my(host) -user $my(user) -password $my(pass) -db $my(db) -port $my(port)} mysocket] if {$num eq "0" && [string match mysql* $mysocket]} { set num [catch {mysqlsel $mysocket "SELECT `pk_i...
by Madalin
Fri Nov 25, 2016 4:46 am
Forum: Script Requests
Topic: json/rss web reader
Replies: 5
Views: 7787

You can sort IDs and using that you can know after which is the newest/oldest
by Madalin
Fri Nov 18, 2016 4:12 pm
Forum: Scripting Help
Topic: How to read text in front of exact character
Replies: 2
Views: 5125

Found it .. thanks was looking for something like

Code: Select all

regexp {(.*)\]} $line "" first
there is more work to do after but works.
by Madalin
Fri Nov 18, 2016 3:06 pm
Forum: Scripting Help
Topic: How to read text in front of exact character
Replies: 2
Views: 5125

How to read text in front of exact character

For example i have line

text1 text2 [something] text3 text4 [else] text5

How can i read "text1 text2"
by Madalin
Thu Oct 20, 2016 12:55 pm
Forum: Scripting Help
Topic: http geturl bracket issue [solved]
Replies: 6
Views: 9069

$ into \$

or just use set token [::http::geturl "http://api.tvmaze.com/shows/$shownumber ... ousepisode" -timeout 4000]
by Madalin
Thu Oct 20, 2016 12:00 pm
Forum: Scripting Help
Topic: http geturl bracket issue [solved]
Replies: 6
Views: 9069

Use \[ and \] instead of [ and ]