reading a text file from script

Tips and questions about scripting your Verbot®.

Moderator: Staff

reading a text file from script

Postby wisniske » Mon Jun 14, 2004 12:55 am

I am having a problem getting the verbot to read a text file as an output command. I have tried using quotes with full path after the read command. I have tried it without quote's, I have tried putting it in the same folder (with and without the full path). it will not read it.
Any Ideas?
Daniel Wisniske
wisniske
ShyBot
ShyBot
 
Posts: 5
Joined: Sat May 29, 2004 8:25 pm

Postby Aaron » Mon Jun 14, 2004 11:54 pm

I just did a quick test using this as the output:
Code: Select all
Going to read README.<read README.txt>

(the README.txt was in My Documents\verbot4) and it worked fine.

Can you test the above line to see if it'll work for you?
Aaron
SupremeBot
SupremeBot
 
Posts: 1261
Joined: Thu Feb 26, 2004 11:13 pm

My Mistake

Postby wisniske » Tue Jun 15, 2004 3:02 am

Yes, it works. It was my fault. I was putting it in COMMAND, not in OUTPUT. Thanks though. Now I know better. :D
Daniel Wisniske
wisniske
ShyBot
ShyBot
 
Posts: 5
Joined: Sat May 29, 2004 8:25 pm


Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests

cron