Here is a toolbar I made when the /toolbar feature became available.
Here is the code that made it. This is usually on the start event. First you clear the toolbar and make your own buttons.
You give it a name, picture, alias (if you want the button to trigger an alias), and menu name. The alias in my example opened a popup window I made with popups.dll. I gave a regular menu example. You will need to replace the image paths with images of your own or it will not work.
on *:start:tb
alias tb {
;clear toolbar
toolbar -c
;button one on top
toolbar -a sf "SoulFly Options" SoulFly\imgs\sf.gif "/pop_ss" @ss
;divider
toolbar -as ni
;button 2
toolbar -a jo "Join Options" imgs\fav.ico "/sf_join" @rr
;button 3
toolbar -a ax "Room Options" imgs\1x.ico "/pop_axis" @ax
;button 4, blank button
toolbar -ak0z2 x2 "" imgs\o.ico "/kx"
button 5
toolbar -a nk "Nick Options" imgs\nk.ico "/pop_nk" @pop_nick
;divider
toolbar -as n2
button 6
toolbar -a ch "Window List" imgs\w.ico "/chann" @ch
}
menu @rr {
Join:join $$?="enter channel name"
}