Skip to content
General Chat Talk

Issue With Xstatusbar Icons

A TG007 community discussion started by DJSimsUK.

Discussion 9 posts
Page 1 of 1
Open
Topic #15857 · 9 published posts · 1,931 views

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

i don't see anything wrong with the structure. are you sure you have the right path to the other icons? images\ ??

Get information about ircWx here

could also be the size of the ico as i have learned working with Cyntax Multi_Conn

______________________________________________________

T.ogether
E.veryone
A.chieves
M.ore


 

 

coderirclogo.png.8580c336378f27471a13a95ffd242c9d (1).png

Post the init code noting how you add them.

Stupidity is a metric of success.

No init code required for xstatusbar

Get information about ircWx here

Well noted, I did not realize or read the code that well.

 

In that case I would rearrange the icons added to see if it changes.. perhaps making buzz at the end. Then what chain says makes perfect sense.

Stupidity is a metric of success.

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.

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

Not to worry

 

we all do stuff like that at some point

 

Glad its all fixed though :)

Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)