Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
$read command
Forums
Active Threads
Search
Who's Online
Help
Print Thread
$read command
#
7784
22/01/03
11:01 AM
Joined:
Dec 2002
Posts: 397
A
ATMA
OP
Fjord artisan
OP
ATMA
Fjord artisan
A
Joined:
Dec 2002
Posts: 397
how can i have the $read command read every line of txt in a file?
Copy Link to Clipboard
Re: $read command
#
7785
22/01/03
12:28 PM
Joined:
Dec 2002
Posts: 209
Bulgaria
V
vasil_michev
Fjord artisan
vasil_michev
Fjord artisan
V
Joined:
Dec 2002
Posts: 209
Bulgaria
you mean read all the lines with one call to $read, or read the line by line?
if the second, use $read(filename,linenumber)
like $read(bla.txt,1)
Copy Link to Clipboard
Re: $read command
#
7786
22/01/03
06:52 PM
L
littlecramp
littlecramp
L
unset %l %line
:again
inc %l
set %line $read(C:\MircMod\Mirc\res\findx.txt,%l)
if ( %line != $null ) { goto again }
else goto end
:end
Copy Link to Clipboard
Re: $read command
#
7787
22/01/03
10:17 PM
Joined:
Dec 2002
Posts: 397
A
ATMA
OP
Fjord artisan
OP
ATMA
Fjord artisan
A
Joined:
Dec 2002
Posts: 397
i cant get it to msg the lines to a person ( .msg $nick %p2p.line )
Copy Link to Clipboard
Re: $read command
#
7788
22/01/03
11:12 PM
Joined:
Dec 2002
Posts: 1,893
O
Online
Hoopy frood
Online
Hoopy frood
O
Joined:
Dec 2002
Posts: 1,893
Perhaps
/play $nick C:\MircMod\Mirc\res\findx.txt
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage