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

by Ofloo
Sun Mar 04, 2007 9:16 pm
Forum: Scripting Help
Topic: Piped sockets under tcl
Replies: 10
Views: 5851

I know how to use sockets, it's just that i want a to create a unix socket.

ok it's

Code: Select all

socket -server myproc -myaddr 127.0.0.1 1234
So I assume it's not possible.

i think maybe mknod might do..
by Ofloo
Sun Mar 04, 2007 5:53 pm
Forum: Scripting Help
Topic: Piped sockets under tcl
Replies: 10
Views: 5851

i was thinking of making a script listen on a unix socket.
like:

Code: Select all

socket -server myproc localhost 1234
by Ofloo
Sun Mar 04, 2007 2:57 pm
Forum: Scripting Help
Topic: Piped sockets under tcl
Replies: 10
Views: 5851

As far as I know is what you're suggesting only for execution.

Code: Select all

open "|/path/to/binary" r+
not to make named pipes (sockets)

such as /tmp/mysql.sock, for example, or would you be so kind explain yourself, ..
by Ofloo
Sat Mar 03, 2007 6:12 pm
Forum: Scripting Help
Topic: First try using namespace
Replies: 4
Views: 3069

I would put the binds on the end of the script within the namespace and use

bind <type> <flag> <cmd> [namespace current]::myproc
by Ofloo
Sat Mar 03, 2007 2:44 pm
Forum: Scripting Help
Topic: Piped sockets under tcl
Replies: 10
Views: 5851

Piped sockets under tcl

How do I create a named pipe instead of creating a socket to listen on. I've been searching google, looking through the manual, but I can't find anything about named pipes.
by Ofloo
Sun May 28, 2006 12:04 pm
Forum: Scripting Help
Topic: duraiton help [SOLVED]
Replies: 8
Views: 6708

try clock scan
by Ofloo
Sat May 06, 2006 9:47 pm
Forum: Scripting Help
Topic: ip-2-country.tcl - some Notice problems
Replies: 26
Views: 22667

That would be because 127.0.0.0.1 is yourself. 127.0.0.0.1 is not even valid localhost hi:) i've got a problem with ip-to-country.tcl... script si loaded and when i go to channel and write pub command exp: !ip2c 127.0.0.0.1 the bot sends me this Tcl error [ip2c:pub]: can't read "word": no...
by Ofloo
Mon Feb 27, 2006 4:09 pm
Forum: Scripting Help
Topic: regexp matching with a $string
Replies: 1
Views: 4120

This is a proc that will return <number of special chars> on special chars and 0 on alphabetic and nummeric chars..

Code: Select all

proc special {arg} {
  if {[regexp -nocase -all {[^a-z0-9]} $string -> n]} {
    return $n
  }
  return 0
}
by Ofloo
Thu Dec 15, 2005 6:26 am
Forum: Eggdrop Help
Topic: eggdrop + ipv6 patch crashes..
Replies: 2
Views: 3446

eggdrop + ipv6 patch crashes..

bot crashes when sending a file true dccsend.. The system that the bot is compiled on is FREEBSD5.4 tryed both gmake and make both same results... [11:15] <Ofloo> .tcl dccsend text/motd ofloo [11:15] <IPv6bot> [11:15] * Last context: tclhash.c/684 [Tcl proc: *dcc:tcl, param: $_dcc1 $_dcc2 $_dcc3] [1...
by Ofloo
Thu Dec 15, 2005 6:17 am
Forum: Scripting Help
Topic: TCL Editors for linux
Replies: 5
Views: 9937

yeah i they all do syntax highlighting.. but i would like one like editplus with syntax completion..
by Ofloo
Sun Dec 11, 2005 7:24 am
Forum: Scripting Help
Topic: TCL Editors for linux
Replies: 5
Views: 9937

TCL Editors for linux

I've tryed google with not much results.. I've found several editors but none of them where what I wanted. I am looking for an tcl editor which supports syntax completion & syntax highlighting.. Does anyone know where I can find such a editor.

Thanks in advance.
by Ofloo
Fri Dec 09, 2005 4:06 pm
Forum: Scripting Help
Topic: memory leak
Replies: 7
Views: 12544

by Ofloo
Fri Dec 09, 2005 4:01 pm
Forum: Scripting Help
Topic: compare two files
Replies: 10
Views: 15941

Yes you can use lsearch to search through the list, as for deleting check your permissions. Sorry but how check permisions :oops: :?: For "lsearch" , Which is for you the fastest way ? thx look at file attributes & file owned tho i would just check there md5 against eachother.. if it ...
by Ofloo
Fri Oct 28, 2005 5:51 pm
Forum: Scripting Help
Topic: webserver
Replies: 5
Views: 11461

check tcl archive there's something called httpadmin it's realy buggy and [censored] code but it might give you idea's..
by Ofloo
Sun Oct 02, 2005 11:31 am
Forum: Archive
Topic: Run a tcl script from a shell script
Replies: 8
Views: 12139

Re: Run a tcl script from a shell script

I want to launch an interactive tcl script from a shell script, but when I try, it seems that the standard input channel gets messed up. For example, the following code: puts -nonewline stdout "What is your name?: " flush stdout set name [gets stdin] returns the following error: error rea...