mIRC Home    About    Download    Register    News    Help

Print Thread
#25171 20/05/03 06:02 AM
Joined: Dec 2002
Posts: 9
V
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
V
Joined: Dec 2002
Posts: 9
what i want to do is change the way text you enter is displayed in the channel window. i already know how to change text that is sent TO your computer (a *^:text: remote)
but this doesn't work on text YOU write. basically i wanna change is to mirc displays text instead of this way:
<Vandalite> text...

to something like this
[2:03am]«! Vandalite» text...

where in the code can i do that?

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Use on *^:INPUT

Joined: Dec 2002
Posts: 9
V
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
V
Joined: Dec 2002
Posts: 9
does the ^*:input: remote trigger if a script outputs something to the channel?

Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
the "halting default text" carrot ( ^ ) doesn't work on input... It already prefixed dafult text >:D


-KingTomato
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Vandalite: No, you could use a /msg alias to do that perhaps..

KingTomato: Bah!

Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Was it something i said? >:D


-KingTomato
Joined: Dec 2002
Posts: 9
V
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
V
Joined: Dec 2002
Posts: 9
what did you mean by "It['s] already prefixed dafult text"?

its just that when i DON'T put the carrot there, the text is displayed twice. one formatted the way it was, and one formatted the way i want it.

Joined: Dec 2002
Posts: 9
V
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
V
Joined: Dec 2002
Posts: 9
oh, and i think i might have found a workaround.
if the .say command is used in the script, nothing goes to your window. you can then use your own echo command to replace the stock text.

this is gonna need some work...

Joined: May 2003
Posts: 11
R
Pikka bird
Offline
Pikka bird
R
Joined: May 2003
Posts: 11
easist work around is at the end of you on *:input: { is to use halfdef. that tells mirc not to process its default handling, getting rid of the default output.


Link Copied to Clipboard