mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2004
Posts: 12
F
Fey Offline OP
Pikka bird
OP Offline
Pikka bird
F
Joined: Sep 2004
Posts: 12
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,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
on ^*:text:*:#:{
  echo -tci $+ $calc($len($nick) + 3) Normal $chan $+(<,$nick,>) $1-
  haltdef
}


New username: hixxy
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 >


Maybe I wake up one day to notice that all my life was just a dream!
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:


Maybe I wake up one day to notice that all my life was just a dream!
Joined: Sep 2004
Posts: 12
F
Fey Offline OP
Pikka bird
OP Offline
Pikka bird
F
Joined: Sep 2004
Posts: 12
Thanks guys, this works! smile


Link Copied to Clipboard