mIRC Home    About    Download    Register    News    Help

Print Thread
#2234 17/12/02 08:57 PM
Joined: Dec 2002
Posts: 3
B
buizerd Offline OP
Self-satisified door
OP Offline
Self-satisified door
B
Joined: Dec 2002
Posts: 3
/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. .

#2235 17/12/02 10:25 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
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

Last edited by theRat; 17/12/02 10:28 PM.

Code:
//if ( khaled isgod ) echo yes | else echo no
#2236 17/12/02 10:48 PM
Joined: Dec 2002
Posts: 111
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 111
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.


Experience The Void.. Are You Ready?
#2237 18/12/02 05:13 PM
Joined: Dec 2002
Posts: 3
B
buizerd Offline OP
Self-satisified door
OP Offline
Self-satisified door
B
Joined: Dec 2002
Posts: 3
can you give me an example for the drawpic command?
i mean complete filled in/. with a fictive picture and window.

#2238 19/12/02 01:07 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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 ......


D3m0nnet.com

Link Copied to Clipboard