Jump to content

Reading line from txt file and using it


Recommended Posts

Ok what i want to do is make the program read the first line on Channels.txt and set it as a variable.

And i want to use the send command to send the varible like

Send ("var1")

Like that so it sends the first line of the channels.txt

How would i do that?

Link to comment
Share on other sites

well, it depends on where you want to send it to, if you know that whatever ur going to be sending it to is going to be focused, then just use send.. and it's not

send("$var1")

CORRECTED is:

sendI($var1)

use no marks around a variable, only use """ when sending raw things like "hello world!"

FootbaG
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...