Added by Per Amundsen about 8 years ago
Custom connect/disconnect icons in Toolbar
on *:START:{ toolbar -a connect "Connect" "C:\Users\kr0n\Desktop\connect.png" "/server" } on *:ACTIVE:*:{ toggleicon } on *:DISCONNECT:{ toggleicon } on *:LOGON:*:{ toggleicon } alias -l toggleicon { if ($toolbar(connect)) { toolbar -p connect $iif($status == disconnected, "C:\Users\kr0n\Desktop\connect.png", "C:\Users\kr0n\Desktop\disconnect.png") toolbar -l connect $iif($status == disconnected, /server, /disconnect) toolbar -t connect $iif($status == disconnected, Connect, Disconnect) } }
Thank you!!