mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2005
Posts: 10
D
Dharion Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Feb 2005
Posts: 10
Im getting quite sick of all those .ico files in my script so im combining them in an iconlib.

Does anyone know how i can use an icl file with dialogs?

would this work?

icon iconplace,filename, index

Joined: Dec 2002
Posts: 83
D
Babel fish
Offline
Babel fish
D
Joined: Dec 2002
Posts: 83
Yes it works fine. Don't forget the index number of your icon

Check for each command, but in a dialog table use as it :

icon filename, index

Last edited by dunkelzahn; 15/04/05 02:49 PM.
Joined: Dec 2002
Posts: 295
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 295
Hi Dharion, yeah i been doing this to my scripts for years now
an example code would be

Code:
dialog example {
  title ""
  size -1 -1 120 85
  option dbu
  text "An example icon using an .icl file", 1, 5 5 90 8
  icon 2, 5 20 16 16, chanset.icl, [color:red]0[/color]
  icon 3, 30 20 16 16, chanset.icl, [color:blue]1[/color]
  button "OK", 4, 10 45 37 12, ok
}


ok so i have added two icons to my icl file they are indexed as 0 and 1
you see how it works?

ShadowDemon
mIRC V6.16


Never argue with an idiot...they'll drag you down to their level and beat you up with experience

Link Copied to Clipboard