mIRC Home    About    Download    Register    News    Help

Print Thread
F
Fey
Fey
F
This is quite hard to explain, but i'll direct you to the screenshot.
This screenshot shows how users messages are handled if they don't fit the windows lentgh. the next line of text is beggining right after users nick, makin it look nice and less confusing. I was wondering if it would be possible to do this in mirc, but i couldn't find the right handles. Anyone knows?

Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
Code:
on ^*:text:*:#:{
  echo -tci $+ $calc($len($nick) + 3) Normal $chan $+(<,$nick,>) $1-
  haltdef
}

Joined: Aug 2004
Posts: 101
D
Vogon poet
Offline
Vogon poet
D
Joined: Aug 2004
Posts: 101
I suppose you are already using a kind of theme that halts default text and tampers with it!

There will be an echo command there that echoes the text to the channel window. You could add a -i switch to that echo command depending on how the nick appears. For example if you have the common appearance:
<nick> text text text
then you should use something like echo -i $+ $calc( $len($nick) + 3 )
(plus any other echo switches)

+3 goes there for the < and > signs (2) plus a space after the >

Joined: Aug 2004
Posts: 101
D
Vogon poet
Offline
Vogon poet
D
Joined: Aug 2004
Posts: 101
I hate you and love you at the same time! :tongue:

F
Fey
Fey
F
Thanks guys, this works! smile


Link Copied to Clipboard