mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2007
Posts: 16
D
deOmega Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Oct 2007
Posts: 16
Is there a way to utilize and adjust transparency of the main MIRC window?

Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
You can use /setlayer
e.g. /setlayer 200


/setlayer 0-255
0 is totally transparent
255 is not transparent

Guess I should mention that is only as of v6.30.

Last edited by deegee; 21/10/07 02:39 AM.
Joined: Oct 2007
Posts: 16
D
deOmega Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Oct 2007
Posts: 16
That did it. smile
Thank you so much.

Joined: Oct 2007
Posts: 16
D
deOmega Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Oct 2007
Posts: 16
Is there a way to make the Transparency stick> Each time i restart the program, it goes back to the default.. ie, no transparency

Last edited by deOmega; 21/10/07 04:16 AM.
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Put this in your remotes
Code:
on *:start: setlayer 0


Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Heh, probably 100 or so rather than 0, or you won't see anything wink

Joined: Oct 2007
Posts: 16
D
deOmega Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Oct 2007
Posts: 16
Hmm, I have one script in there already. When i add this one below it, nothing is happening. The first script executes, but not the second one.

By the way, I had that zero transparency incident already, and thank goodness it resets on start, as i could not see anything. hehe

Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Originally Posted By: deOmega
Hmm, I have one script in there already. When i add this one below it, nothing is happening. The first script executes, but not the second one.

Combine the two on start scripts...
Code:
on *:start:{
  
  setlayer 100

  ; <your existing code here>
}

Originally Posted By: deOmega
By the way, I had that zero transparency incident already, and thank goodness it resets on start, as i could not see anything. hehe
You can still type even though you can't see it... with mIRC active typing /setlayer 255 {ENTER} would have reset it wink

Joined: Oct 2007
Posts: 16
D
deOmega Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Oct 2007
Posts: 16
Many Many thanks!!!

I was able to get it to work like this:

on *:start:{

setlayer 175

server -m irc.financialchat.com
}

Of course with the 2 spaces before, though I do not know the significance of having the spaces.
Thank you very much for the education!


Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
No probs, glad to be of help. smile

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Those spaces are put in simply to make scripts easier to read by a human.

They would've been maintained if you'd used the Code Tags when posting the code. On this board the Code Tag button looks like the # character.

Joined: Oct 2007
Posts: 16
D
deOmega Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Oct 2007
Posts: 16
ah, ok Thanks. I see it. So i am assuming that if I had placed those scripts into MIRC the way it appears on my last post (Without the space), MIRC would have been able to execute it anyway.?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
That's correct. mIRC recognizes those extra spaces as white space, and the presence or absence of that white space does not affect mIRC's ability to use the scripts whatsoever.

Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Right. In fact, clicking OK or pressing the "{}" button in the Script Editor would add the spaces.

Joined: Oct 2007
Posts: 16
D
deOmega Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Oct 2007
Posts: 16
Thank you all very much. I have been busy on MIRC this weekend and the assistance here is top notch. Thanks again.


Link Copied to Clipboard