mIRC Home    About    Download    Register    News    Help

Print Thread
#208755 28/01/09 12:29 AM
Joined: Jan 2009
Posts: 2
T
Bowl of petunias
OP Offline
Bowl of petunias
T
Joined: Jan 2009
Posts: 2
I honestly just want to use /toolbar to delete horizontal tile, vertical tile, and the cascade buttons since they annoy me endlessly. Can anyone please help me with this? I'm no scripter... I can just input commands.

Err.. noticed I had no please.

Please! And thank you very much =)

Last edited by thouartsimple; 28/01/09 12:40 AM.
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Add this small script (scripts editor > tab "remotes" > new file > paste the code and save):
Code:
alias buttons {
  if ($1 == off) { 
    var %n = 1, %string = sep8 htile vtile cascade
    while ($gettok(%string,%n,32)) {
      if ($toolbar($v1)) toolbar -d $v1
      inc %n
    }
  }
  else toolbar -r
}

Now you can use "/buttons off" (remove these buttons) and "/buttons" (restore default toolbar).
"/toolbar" is an internal command (for example used in the code above) - therefore "/buttons" smile

To automatically remove them on every mIRC startup, add this line:
Code:
on *:start: buttons off

Horstl #208760 28/01/09 12:52 AM
Joined: Jan 2009
Posts: 2
T
Bowl of petunias
OP Offline
Bowl of petunias
T
Joined: Jan 2009
Posts: 2
You sir are amazing, thank you!

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Or just remove them once and do /toolbar -fs to save your settings permanently, without having to remove them on each startup.
You can always remove toolbars.ini to restore the default settings.


Link Copied to Clipboard