Jump to content

Issue With Xstatusbar Icons


DJSimsUK

Recommended Posts

Below is my code for an updated xstatusbar done in DCX I am having an issue were the icons will not populate correctly they just show the Buzz.ico, the location of the icons is correct as I've double and triple checked them. Any idea's why my icons do not display as I tell them to? I have included a screenshot of how it looks at the moment. I would really appreciate some help with this.

 

alias sbar {
xstatusbar -A 1 notheme
xstatusbar -l 17% 24% 26% 10% 10% 10% 10%
xstatusbar -f +d ansi 10 Tahoma
if ($hget(settings,color) == blue) { xstatusbar -k $rgb(0,64,128) }
if ($hget(settings,color) == purple) { xstatusbar -k $rgb(64,0,128) }
if ($hget(settings,color) == black) { xstatusbar -k $rgb(0,0,0) }
if ($hget(settings,color) == red) { xstatusbar -k $rgb(255,0,0) }
if ($hget(settings,color) == pink) { xstatusbar -k $rgb(255,0,255) }
if ($hget(settings,color) == green) { xstatusbar -k $rgb(0,147,0) }
xstatusbar -w + 0 Buzz.ico
xstatusbar -w + 0 images\computer.ico
xstatusbar -w + 0 images\ucr.ico
xstatusbar -w + 0 images\owner.ico
xstatusbar -w + 0 images\host.ico
xstatusbar -t 1 +fn 2 Server: $hget(settings,server)
xstatusbar -t 2 +fn 2 Connection Uptime: $iif($status = disconnected,Disconnected,$uptime(mirc,1)))
xstatusbar -t 3 +fn 1 $iif($chan($active) == $chan($active).status, $+ $remove($active,$chr(64)) $chr(40) $+ No information available $+ $chr(41),Room: $active $chr(40) $+ $chan($active).mode $+ $chr(41))
xstatusbar -t 4 +fn 3 $nick($active,0))
xstatusbar -t 5 +fn 3 $nick($active,0,rv,qho))
xstatusbar -t 6 +fn 4 $nick($active,0,qQ,roh))
xstatusbar -t 7 +fn 5 $nick($active,0,o,rqQh))
}
statusbar.png
Link to comment
Share on other sites

looking in my statusbar, I have different size icons ranging from 16x16 to 128x128 and they all display correctly. I would have to go with err0r in thinking the file path may have something to do with it.

 

btw.. i borrowed the code for the channel info and edited it to replace the \b with $chr(32)

 

Room: $remove($replace($active,\b,$chr(32)),$chr(35),$chr(37)) $+ $chr(32) $+ $chr(40) $+ $chan($active).mode $+ $chr(41)

 

Just looks better to me.

Link to comment
Share on other sites

Thanks for the responses all I really appreciate them. A power cut ended up helping me out. Turns out I didn't realize that you couldn't just run the alias to adjust the icons but had to restart to complete the icon change. I feel a right n00b atm lol

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...