i searched the whole day for a script on the egghelp.org tcl archive and on this forum also, i found some scripts very useful but dint get what i need actually.
actually what i have is subdirectories in a directory, so i want to specify different subdirectories in a single directory for different contents in the script:
e.g
sports "base_dir/sports/"
games "base_dir/games/"
and the text files will be in these subdirectories. when the user do this on a channel !menu or !options or any trigger the bot displays the available subdirectories (sports, games etc) and then the user can get the list !list sports or !list games, that will list the files in that subdirectory and when the user do this !display sports cricket, the bot will display the contents of cricket.txt, line by line (every next line after some seconds 5..6 seconds), that is in sports subdirectory.
and a mastershutdown of this tcl would help .. so that users dont get the bot to flood...
I know it's a bit complicated and thanks for reading this request
