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.
Old posts that have not been replied to for several years.
S
SkyRyu
Post
by SkyRyu » Wed Feb 18, 2004 10:20 am
i'd like to know how i can reproduce the mirc function $read(file.txt) that takes a random line from the specified text file....
Can someone help me? i'd like my bot to answer to a public command saying a Sentence created by various random lines text file...
I thank you from now for the help....
stdragon
Owner
Posts: 959 Joined: Sun Sep 23, 2001 8:00 pm
Contact:
Post
by stdragon » Wed Feb 18, 2004 6:59 pm
This question has been asked about a million times, so I've added it to the Tcl FAQ forum under "Basic File Operations." Please read that and let me know if the description is clear enough and all that.
S
SkyRyu
Post
by SkyRyu » Wed Feb 18, 2004 8:43 pm
Yes, it's all clear.. sorry again for this topic, and thanks a lot