Need help with creating a channel detal window
Added by acid blue about 5 years ago
I've created an alias that displays info about the current channel but I'm having a little trouble.
1. Font stays the same, no mater which font I enter it doesn't change, I can only change the size.
2. Wont display what modes are set nor the topic, not sure if I'm using right identifiers. ie.$topic, $mode.
Only the first works, Channel: $chan.
Script:
alias getDetails { /window -dp @getDetails 250 250 450 400 ; Draw text "Channel:". /drawtext -o $active 1 Verdana 15 10 10 Channel: $chan /drawtext -o $active 1 Verdana 15 10 30 Topic: $topicbox /drawtext -o $active 1 Verdana 15 10 50 Mode: $mode }
Replies (1)
RE: Need help with creating a channel detal window - Added by Paul Janson almost 5 years ago
Your example doesn't show how you're trying to change the font. You can issue parameters with the /window command when creating the window, or later using the /font command. You can also avoid using these options, and just use the upper-left-corner menu of a @window to set a font/size different than the other @windows. You can get more details in the wiki or at wikichip.