Hi,
I've been using $wrap in my script to wrap people's messages in the channel window nicely.
The only problem I have is retrieving the correct 'width' I need to display the text correctly say after the user has changed the width of the nicklist..
I use identifiers for the other parms for the $wrap eg..
$wrap(text, font, size, width, [word,] N)
$wrap(text,$window(#).font,$window(#).fontsize,400,N)
but at the moment i'm just using 400 as the width.
Can someone help me and explain what width i'd need to specify, I found $window(#).dw which is the number of pixels width in the display area. but i don't know how many pixels wide each font is...
Any suggestions are welcome.