mIRC Home    About    Download    Register    News    Help

Print Thread
#202577 25/07/08 02:04 PM
Joined: Jul 2007
Posts: 21
Ameglian cow
OP Offline
Ameglian cow
Joined: Jul 2007
Posts: 21
I have a piece of script that use /scon and /window -a for the function on my treebar to switch channels and other, but...
This is the original code:
if (($4) && ($5 = 2 || $5 = 3) && (!$6)) {
scon $calc($4 - 1)
.window -a "Status Window"
}
This worked every time perfect on mIRC 6.32 and before.
On 6.33 not work good.
When I click on a Channel it switch first on the Status Window and after on the selected Channel.
Also tried with this: if (($4) && (($5 = 2) || ($5 = 3)) && (!$6)) {
But nothing changed... The problem is in the two check of the $5.
Returned to 6.32 and all worked correctly...

Any ideas?

Last edited by Jacksoft; 25/07/08 02:06 PM.
Jacksoft #202578 25/07/08 02:07 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Jacksoft #202627 26/07/08 08:26 PM
Joined: Jul 2007
Posts: 21
Ameglian cow
OP Offline
Ameglian cow
Joined: Jul 2007
Posts: 21
Ouch, sorry!
Sorry for my mistake.


Link Copied to Clipboard