mIRC Home    About    Download    Register    News    Help

Print Thread
/window and text files #132318 09/10/05 03:55 PM
Joined: Oct 2005
Posts: 51
T
TACO Offline OP
Babel fish
OP Offline
Babel fish
T
Joined: Oct 2005
Posts: 51
/window @test filename.txt

The preceeding code should allow me to read a text file into the custom window, however, this is not the case. The text file comes in somewhere, but not the main window. What occurs is the text file enters itself into the menu, each line of the menu is made of one line from the text.

/loadbuf @test readme.txt

that command did exactly what was supposed to be done.
No big problems doing it, but some old scripts are struggling.

-Learn to crop-

Last edited by Mentality; 09/10/05 07:27 PM.
Re: /window and text files #132319 09/10/05 05:13 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
This is exactly what /window is supposed to do. Type /help /window and read more carefully.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: /window and text files #132320 09/10/05 05:21 PM
Joined: Sep 2005
Posts: 2,878
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,878
Even without reading, the parameter name gives it away a bit if you ask me :tongue:

Quote:
/window [-abBcCdeEfg[N]hikl[N]mnoprRsvwxz] [-tN,..,N] [+bdeflLmnstx] <@name> [x y [w h]] [/command] [popup.txt] [font [size]] [iconfile [N]]

Re: /window and text files #132321 24/10/05 09:23 AM
Joined: Oct 2005
Posts: 51
T
TACO Offline OP
Babel fish
OP Offline
Babel fish
T
Joined: Oct 2005
Posts: 51
thats what I get for not reading the fine print, maybe next time I will stop listening to the person whining. Not that the channel really helped. My mistake none the less.