Ok this is simple example of how to use draw command in picture window.
alias test {
window -pk0 @draw 100 150 300 200
drawrect -r @draw $rgb(255,0,0) 0 10 10 80 20
drawrect -rf @draw $rgb(255,0,0) 0 100 10 80 20
}
What this alias does it will draw two rectangles one will be filled with red color.
drawrect -r means that you need to specify rgb color you want to use as i can see you want to use red color so rgb for red is $rgb(255,0,0)
0 is thicknes of lines used in draw command you need to specify this in order for draw to work ,it can be 1 or 2 etc.
10 10 are start position of the rectangle in window,this is in pixels
and 80 20 is width and high of the rectangle.
in another rectangle is -f switch is used witch means fill so rectangle will be filled with color.
i hope this helps for startup,you need to read mIRC help file about windows.