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.

readdir?

Old posts that have not been replied to for several years.
Locked
m
meks
Voice
Posts: 16
Joined: Mon Jun 09, 2003 3:16 pm

readdir?

Post by meks »

hi

thats what i want to make:
- read the contents of a directory (with readdir?)
- create a list of files within this directory
- print it out

i know how to do all the 3 points - but - it seems that readdir is not supported by eggdrop or its rather a command supplied by extended tcl.

are there possibilities to read out a directory with standard tcl (v8.3.3) and eggdrop 1.6.15?

thanks
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Why do you want a module to do such a simple thing? Make a script instead.

If you want to make a module, you can use readdir. It's not part of tcl, it's a standard C function.
Locked