mIRC Home    About    Download    Register    News    Help

Print Thread
#181341 21/07/07 07:50 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
Firstly...

i added this snippet:-

Code:
menu * {
  remove buttons:losebuttons
}
alias -l losebuttons {
  while $toolbar(0) > 1 {
    toolbar -d 2
  }
}


now if i activate that while disconnected it works fine, i then click the remaining connect icon to connect and it disappears, it doesn't get replaced with the disconnect icon. It re-appears when I disconnect from the server (using /quit). This is on an otherwise vanilla mIRC.

Is this a bug or is there a workaround?

Secondly...

The same instance of mIRC seems unable to recognise some colour codes. I had another instance of mIRC open and was sending coloured text to channel but it appeared black to this mIRC. I checked the strip codes dialog and it's as it should be. Strangely a coloured server notice came through intact. Any ideas?

btk


billythekid
Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
Firstly...
Code:
menu * {
  remove buttons:losebuttons
}
alias -l losebuttons {
  while $toolbar(0) > 1 {
    toolbar -d 3

  }
}


Secondly...
I am sure someone will fix you right up. smile

Joined: Mar 2003
Posts: 612
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
thanks for that, i don't know why i didn't try 3 first blush

btk

edit: the loop should also be while $toolbar(0) > 2 otherwise theres an error if you click the menu again when already removed/connected


Last edited by billythekid; 21/07/07 08:17 PM.

billythekid
Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
My mistake blush


Link Copied to Clipboard