mIRC Home    About    Download    Register    News    Help

Print Thread
#146406 04/04/06 07:51 AM
Joined: Sep 2005
Posts: 116
I
Vogon poet
OP Offline
Vogon poet
I
Joined: Sep 2005
Posts: 116
oke its probely verry simpl and i readed the manuel about how to create those windows..

but how can i send a message to the window from a script ?
can i hade the input field ?
can i read from that window by a script ?

:tongue:

#146407 04/04/06 08:59 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Are you talking about the standard chat windows that open when you connect to a new server (status window in that case) or join a new room (channel window) or are you talking about custom windows that (usually) start with the @ symbol?

From you request, it looks like you mean custom windows, so the items you should look up in the help file are 1) /aline
2) I don't know since I can't find anything regarding an input field for custom windows
3) $sline

Both /aline and $sline (as well as a whole mess of other commands and identifiers for working with custom windows) are all in the help file under /help Custom Windows

#146408 04/04/06 10:21 AM
Joined: Sep 2005
Posts: 116
I
Vogon poet
OP Offline
Vogon poet
I
Joined: Sep 2005
Posts: 116
thanks i indeed meaned costum windows

i read game conosle so i tohguh i mgiht aswel make a fake console in mirc :tongue:

#146409 04/04/06 11:43 AM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
Quote:
can i hade the input field ?


That's created when you create the window with the /window command.

Single line edit box: /window -e
Multi line box: window -E

To read a line from the window you could use $line(@window,N)

N = line number to read (0 returns number of lines in @window)

To read the last line in the window, you could use $line(@window,$line(@window,0))


Link Copied to Clipboard