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

by theravenz
Tue Jan 08, 2008 3:49 am
Forum: Script Requests
Topic: Need help.. Port checking script..
Replies: 1
Views: 1342

Need help.. Port checking script..

Hey, i have a script which opens a tcp port.. Its basically for a php script to connect to the bot and post a msg on irc.. Anyway i have limited tcl scripting ability what i am looking for is port checking .. to see if its open and return 0 if it is.. or run the socket command if its not.. My proble...
by theravenz
Sun Jan 21, 2007 2:13 am
Forum: Scripting Help
Topic: TCL IRC Output.. Changing Bytes to KB, MB, ect..
Replies: 9
Views: 5803

cheers man

Yeah im not really after 100% values :P just aprox so its all good. :D

thanks again... champ
by theravenz
Sat Jan 20, 2007 1:22 pm
Forum: Scripting Help
Topic: TCL IRC Output.. Changing Bytes to KB, MB, ect..
Replies: 9
Views: 5803

Okay, i got a new issue.. I totally dont understand that script you wrote.. hah! my TCL Noobness.. Anyways im just after a calc for ratio.. need to divide $upload by $download to give a 1.000 count.. Say 4 / 2 = 2.000 (to 3 decimal places.) What im also after to.. is if they havent downloaded it ret...
by theravenz
Fri Jan 19, 2007 8:52 am
Forum: Scripting Help
Topic: TCL IRC Output.. Changing Bytes to KB, MB, ect..
Replies: 9
Views: 5803

Worked it out.. thanks heaps man!!!

You're a Champ!
by theravenz
Fri Jan 19, 2007 8:40 am
Forum: Scripting Help
Topic: TCL IRC Output.. Changing Bytes to KB, MB, ect..
Replies: 9
Views: 5803

So how am i calling this proc?

do i just do something like

set uploaded bytesToHumanReadable($upload);
by theravenz
Fri Jan 19, 2007 7:25 am
Forum: Scripting Help
Topic: TCL IRC Output.. Changing Bytes to KB, MB, ect..
Replies: 9
Views: 5803

Even with elseif.. -- thought i had tried that before posting it.. and it didnt seem to like elseif.. but oh wells works now... Still no go.. comes up with [22:23] <ServBot> [22:22] Tcl error [user_search]: integer value too large to represent .. Could it be that TCL just cant handle calculations wi...
by theravenz
Thu Jan 18, 2007 9:58 pm
Forum: Scripting Help
Topic: TCL IRC Output.. Changing Bytes to KB, MB, ect..
Replies: 9
Views: 5803

TCL IRC Output.. Changing Bytes to KB, MB, ect..

Just having some trouble with this coding.. Searched everywhere for help.. hopfully one of you guys can help me out It'd be much appriciated. if {[expr $upload / 1024] >= 1} { set uploaded "[string range "[expr $upload / 1024.0]" 0 [expr [string length "[expr $upload / 1024]"...