mIRC Home    About    Download    Register    News    Help

Print Thread
#223956 03/08/10 06:07 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I have a mp3 controll, and i using a DLL to display the buttons (play, pause) and so on in mirc toolbar, and now when i upgraded it wont work as i want it to, someone that know about any tutorial on how to add icons to the toolbar? been looking around on som scripting sites, but havent been able to find what i looking for.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Have you already looked at /help /toolbar ?

Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Yes, but i couldent get it to act as a button, if i klick on the icon i want it to move like a button. Or did i miss a switch?

;--------- Edit

Tested the -a switch again, and i cant get it to act as a button.. only a icon...

Last edited by sparta; 03/08/10 06:43 PM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Did you specify an alias in the /toolbar command?

Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
tested with echo -a test, maybe i did somthing wrong.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
The correct format would be:
/toolbar -a name tooltip picfile alias

Note that tooltip, picfile and alias need to be enclosed in quotes if they contain spaces.

Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I test it, thnx..

;---- Edit

How come this work:

/toolbar -a Cow "Moo moo!" play.ico "/echo I am cow, hear my moo" @cow

and this dont:

/toolbar -a Play Play play.ico mplay @Play
(Have a alias mplay i want the button to trigger.)

All i did was to change the name, and remove the quotes, no need for them since i only using 1 word..

;---- Edit again

I think i figured it out..

Last edited by sparta; 03/08/10 07:25 PM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard