mIRC Homepage
Posted By: Im2good4u wind@ws - 04/04/06 07:51 AM
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:
Posted By: RusselB Re: wind@ws - 04/04/06 08:59 AM
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
Posted By: Im2good4u Re: wind@ws - 04/04/06 10:21 AM
thanks i indeed meaned costum windows

i read game conosle so i tohguh i mgiht aswel make a fake console in mirc :tongue:
Posted By: mIRCManiac Re: wind@ws - 04/04/06 11:43 AM
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))
© mIRC Discussion Forums