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.

Reading and writing to a file

Old posts that have not been replied to for several years.
Locked
p
pete2209

Post by pete2209 »

ok here it is, i'd am trying to make a tcl script to make my bot write to a file on command and read/search the file on command.

the trigger to add is !addwonid this will be followed by a number, the number will be put into wonid.txt
i'd like it to also search the file for a specific, so if the number 12345 exisited in wonid.txt and i did !wonid 12345 then it would say wonid found.......summit alot those lines, if u can help me please please either reply in here or email me!!
Locked