Post by addamlh on May 24, 2003 14:55:55 GMT -5
im trying to get a rammeter working in a statusbar i got therambar to show up but i have never done anything that uses a progressbar so im lost
on *:start: sbar
alias kt { .return ktools.dll }
alias moo { .return moo.dll }
alias sbar {
dll $kt CreateSb
dll $kt SbSetParts 170 330 505 740 900 1080 -1
dll $kt SbSetText 0 > popout > -==[ The Abyss Script ]==-
dll $kt SbSetText 1 > asdf > Nickname : $me
dll $kt SbSetText 2 > asdf > Res: $dll(moo.dll,screeninfo,_)
dll $kt SbSetText 3 > asdf > CPU : $dll(moo.dll,cpuinfo,_)
dll $kt SbSetText 4 > asdf > Windows: $os
dll $kt SbSetText 5 > asdf > Server : $iif($server,$server,Not Connected)
dll $kt SbDeleteIcon -1
dll $kt SbAddIcon $mircdir\Backgrounds\sl-irc4.ico
dll $kt SbAddIcon $mircdir\Backgrounds\thm.ico
dll $kt SbAddIcon $mircdir\Backgrounds\res.ico
dll $kt SbAddIcon $mircdir\Backgrounds\opt.ico
dll $kt SbAddIcon $mircdir\Backgrounds\a.ico
dll $kt SbAddIcon $mircdir\Backgrounds\conn.ico
dll $kt SbSetIcon 0 > 0
dll $kt SbSetIcon 1 > 1
dll $kt SbSetIcon 2 > 2
dll $kt SbSetIcon 3 > 3
dll $kt SbSetIcon 4 > 4
dll $kt SbSetIcon 5 > 5
dll $kt CreatePb 6 > smooth
dll $kt PbSetParts 6 $moo(moo.dll,rambar,_) 0 100
}
on *:connect:{ dll $kt SbSetText 5 > asdf > Server : $iif($server,$server,Not Connected) }
on *:nick: if ($nick == $me) { dll $kt SbSetText 1 > asdf > Nickname : $newnick }
is the statusbar im working with but i cant get any further with the rambar plz help and thank you for reading this post
on *:start: sbar
alias kt { .return ktools.dll }
alias moo { .return moo.dll }
alias sbar {
dll $kt CreateSb
dll $kt SbSetParts 170 330 505 740 900 1080 -1
dll $kt SbSetText 0 > popout > -==[ The Abyss Script ]==-
dll $kt SbSetText 1 > asdf > Nickname : $me
dll $kt SbSetText 2 > asdf > Res: $dll(moo.dll,screeninfo,_)
dll $kt SbSetText 3 > asdf > CPU : $dll(moo.dll,cpuinfo,_)
dll $kt SbSetText 4 > asdf > Windows: $os
dll $kt SbSetText 5 > asdf > Server : $iif($server,$server,Not Connected)
dll $kt SbDeleteIcon -1
dll $kt SbAddIcon $mircdir\Backgrounds\sl-irc4.ico
dll $kt SbAddIcon $mircdir\Backgrounds\thm.ico
dll $kt SbAddIcon $mircdir\Backgrounds\res.ico
dll $kt SbAddIcon $mircdir\Backgrounds\opt.ico
dll $kt SbAddIcon $mircdir\Backgrounds\a.ico
dll $kt SbAddIcon $mircdir\Backgrounds\conn.ico
dll $kt SbSetIcon 0 > 0
dll $kt SbSetIcon 1 > 1
dll $kt SbSetIcon 2 > 2
dll $kt SbSetIcon 3 > 3
dll $kt SbSetIcon 4 > 4
dll $kt SbSetIcon 5 > 5
dll $kt CreatePb 6 > smooth
dll $kt PbSetParts 6 $moo(moo.dll,rambar,_) 0 100
}
on *:connect:{ dll $kt SbSetText 5 > asdf > Server : $iif($server,$server,Not Connected) }
on *:nick: if ($nick == $me) { dll $kt SbSetText 1 > asdf > Nickname : $newnick }
is the statusbar im working with but i cant get any further with the rambar plz help and thank you for reading this post