mIRC Home    About    Download    Register    News    Help

Print Thread
#240194 04/01/13 12:47 AM
Joined: May 2006
Posts: 27
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: May 2006
Posts: 27
Hi,

Should /drawtext -i draws the inverse text or the italic?

Code:
//window -p @a | drawtext -ri @a 255 tahoma 50 5 5 Test


Suchorski @ FreeNode
Asterix_UO #240195 04/01/13 06:46 AM
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Note that the i-switch is not documented in the help file.
As you note, it is used for various other draw commands for 'inverse'.
However, for /drawtext, which uses a font, I would argue that -i ia somewhat expected to mean italics.

5618 #240196 04/01/13 11:18 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Normally, if a command is part of a series of commands, an undocumented switch usually means the same thing as what it meant for the previous command on the same help page. And that would be the /drawdot command that says -i is inverse. There is already a -p switch that lets you italicize (or use other control codes) in the text, so I think -i should be inverse.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #240201 04/01/13 02:39 PM
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
Indeed, and all /draw* commands but /drawdot say:
Quote:
The remaining switches are the same as those in /drawdot.
-i is inverse.



#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Asterix_UO #240204 04/01/13 03:11 PM
Joined: May 2006
Posts: 27
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: May 2006
Posts: 27
Well,

I made a try on oldier mIRC...
On /drawtext at 6.17 version, don't have the -i switch on /drawtext, so it's not a bug... But this can be very usefull if implemented laugh

-i for inverse

-I for itaic ou second switch;
+ibu for italic, bold, underline


Suchorski @ FreeNode
Asterix_UO #240205 04/01/13 05:26 PM
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
Implementing -i on /drawtext would be cool, it has been suggested in the past.
You can already do bold/italic/etc using /drawtext -p.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard