mIRC Home    About    Download    Register    News    Help

Print Thread
Pic Window #131453 29/09/05 07:54 PM
Joined: Sep 2003
Posts: 84
T
Turbo_boy Offline OP
Babel fish
OP Offline
Babel fish
T
Joined: Sep 2003
Posts: 84
I have an picture window from an file

but now I want to let an 3 to count down in the midle of the screen.

And that it's going to be transparent, could this be posible (becuse I sow it on some scripts but could not find out how it works)

Can some one help me?

Re: Pic Window #131454 29/09/05 11:21 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
What do you mean countdown? And do you mean you've drew a JPG picture into a custom window?

-Andy

Re: Pic Window #131455 30/09/05 12:22 PM
Joined: Sep 2003
Posts: 84
T
Turbo_boy Offline OP
Babel fish
OP Offline
Babel fish
T
Joined: Sep 2003
Posts: 84
I used /drawpic to draw an picture into the window,
and to count down I mean with... 3. 2. 1. 0.

Re: Pic Window #131456 30/09/05 04:59 PM
Joined: Dec 2002
Posts: 1,245
M
MikeChat Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
something like this
Code:
alias countwindow {
  window -p @count 100 100 100 150
  drawtext @count 3 "courior new" -72 30 1 3
  .timerrecount 3 1 recount
}
alias recount { 
  $iif(!%number,set %number 2, dec %number)
  clear @count
  drawtext @count 3 "courior new" -72 30 1 %number
  if (%number <= 0) { 
    unset %number 
    clear @count
    window -p @count 75 50 600 350
    drawtext @count 4 "courior new" -72 100 110 BOOM! 
    .timercloseit 1 2 window -c @count
  }
}

maybe?

Re: Pic Window #131457 30/09/05 05:47 PM
Joined: Sep 2003
Posts: 84
T
Turbo_boy Offline OP
Babel fish
OP Offline
Babel fish
T
Joined: Sep 2003
Posts: 84
yes but it's goes not do transparent...

What's on the background that should be seen like 10% or something like that...