mIRC Home    About    Download    Register    News    Help

Print Thread
Text in custom window #41732 14/08/03 10:38 AM
Joined: Jul 2003
Posts: 32
M
mIRCusr Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 32
Hi

With ALINE and 'on TEXT' i'm copiing text from channel to custom window.

Sometimes the copied text is multi-colored. What i've to do to add one- or standard-colored copiied text to custom window?

I wanna copy my own text from channel to custom window. 'on TEXT' doesn't works on own text. What i've to do?

Last edited by mIRCusr; 14/08/03 10:38 AM.
Re: Text in custom window #41733 14/08/03 11:56 AM
Joined: Jul 2003
Posts: 22
M
MageOfChrisz Offline
Ameglian cow
Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 22
I'm not sure about the colored text part.. but for getting your text, you have to use On *:INPUT:*: for it.

If you already have an input script (mirc only identifys one), then you add this line to the beginning:
Code:
aline @<your window> [ $+ $timestamp
$+ ] < $+ $me $+ > $1-


That SHOULD work, if you edit the <your window> part.


___________________________________________
Ph34r T3h PHP Developers. :]
Re: Text in custom window #41734 14/08/03 12:15 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Or maybe write the text to a txt file on input, then make the script read the text file and send it to that @window.. i dont know if thats the best way, but that would be the way i had done it :tongue:


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Text in custom window #41735 14/08/03 01:03 PM
Joined: Dec 2002
Posts: 774
T
theRat Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/help $strip


Code:
//if ( khaled isgod ) echo yes | else echo no
Re: Text in custom window #41736 15/08/03 09:55 PM
Joined: Jul 2003
Posts: 32
M
mIRCusr Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 32
Thank you all very much.

on INPUT works fine.