mIRC Homepage
Posted By: buizerd /drawpic command syntax - 17/12/02 08:57 PM
/drawpic -ihmntscl @ [color] <x y [w h]> [x y w h] <filename>
i want to use this command to display several pictures on one window(chat window)
but i have trouble with what the syntax should be.
i mean , should i put there <10 10 [30 50]> or without those and what units are they in. Which one are rzquired and which one are not. confused
also that @ sign. is it @#trt or @trt or #trt.
also is it possible to use this command in a script? and is it usable in a chat window.( they keep saying picture window, but i don't get what that is.)
OR are there other commands for this. I want to place the all over the window, not as a centered background or so; that i know how to.
Mvg, Bart. .
Posted By: theRat Re: /drawpic command syntax - 17/12/02 10:25 PM
RTFM FFS n00b, okay?

/help picture windows


Picture Windows

The picture window is a special type of custom window that can display a combination of text, graphics, and pictures, and can trigger script events relating to mouse clicks and movements.

Once you have opened a picture window using the /window command, you can use the following commands and identifiers to draw and monitor activity in this window.

Plaa plaa plaa....


You can't draw to any other window than custom made @window. Not to channels, querys, chats...

GET IT? wink
Posted By: Frog Re: /drawpic command syntax - 17/12/02 10:48 PM
That's right. But, you can still put backgrounds in channel windows using this:


/background [-aemsgdluhcfnrtpx] [window] [filename]
Changes the background picture setting for a window. This can also be changed via a windows System Menu.

-a = active window
-m = main mIRC window
-s = status window
-g = finger window
-d = single message window

-e = set as default

-cfnrtp = center, fill, normal, stretch, tile, photo

-l = toolbar
-u = toolbar buttons
-h = switchbar

You can right-click in the toolbar/switchbar to pop up a menu for changing these settings. Toolbar buttons can use RGB Color 255,0,255 for transparency, the BMP must be of the same form as that in mIRC resources. It should be a 16 or 256 color BMP.

-x = no background picture

Note: The window name should only be specified if none of the window switches are specified. The filename does not need to be specified if you are only changing the display method.
Posted By: buizerd Re: /drawpic command syntax - 18/12/02 05:13 PM
can you give me an example for the drawpic command?
i mean complete filled in/. with a fictive picture and window.
Posted By: _D3m0n_ Re: /drawpic command syntax - 19/12/02 01:07 AM
on *:START:{
WINDOW -pdo @D3m0nic 100 100 790 546
DRAWPIC -s @D3m0nic 1 1 781 517 D3m0nic.jpg
.TIMER 1 5 WINDOW -c @D3m0nic
}
ok there is a simple example of a picture window ......
© mIRC Discussion Forums