Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias switchbar {
- did -r switchbar 1
- did -i switchbar 1 1 iconsize normal small
- did -i switchbar 1 1 seticon normal icons/con-dis.ico
- did -i switchbar 1 1 seticon normal icons/chan.ico
- did -i switchbar 1 1 seticon normal icons/userlist2.ico
- did -i switchbar 1 1 seticon normal icons/chan.ico
- did -i switchbar 1 1 seticon normal icons/dcc.ico
- did -i switchbar 1 1 seticon normal icons/admin protection.ico
- did -i switchbar 1 1 seticon normal icons/about.ico
- var %a = 1
- while (%a <= $scid(0)) {
- scon %a
- did -i switchbar 1 1 cb root
- if ($server) did -a switchbar 1 +eb 1 1 $server
- if (!$server) did -a switchbar 1 +eb 6 1 Not connected.
- did -i switchbar 1 1 cb last
- did -i switchbar 1 1 cb last
- did -a switchbar 1 +e 2 2 Room List
- did -i switchbar 1 1 cb last
- var %c = 1
- while (%c <= $chan(0)) {
- if (%Notify. [ $+ [ $+($server $+ $chan(%c)) ] ] != On) did -a switchbar 1 + 2 2 $chan(%c)
- if (%Notify. [ $+ [ $+($server $+ $chan(%c)) ] ] == On) did -a switchbar 1 + 2 2 @ $+ $chan(%c)
- inc %c
- }
- did -i switchbar 1 1 cb up
- did -a switchbar 1 +e 3 3 Private Chat
- did -i switchbar 1 1 cb last
- var %q = 1
- while (%q <= $query(0)) {
- if (%Notify. [ $+ [ $+($server $+ $query(%q)) ] ] != On) did -a switchbar 1 + 3 3 $query(%q)
- if (%Notify. [ $+ [ $+($server $+ $query(%q)) ] ] == On) did -a switchbar 1 + 3 3 @ $+ $query(%q)
- inc %q
- }
- inc %a
- }
- did -i switchbar 1 1 cb root
- did -a switchbar 1 +e 4 4 Windows
- did -i switchbar 1 1 cb last
- var %w = 1
- if ($window(0) > 0) {
- while (%w <= $window(0)) {
- did -a switchbar 1 +eu 4 4 $window(%w)
- inc %w
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement