DJSimsUK Posted June 1, 2013 Report Share Posted June 1, 2013 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)) } Link to comment Share on other sites More sharing options...
err0r Posted June 1, 2013 Report Share Posted June 1, 2013 i don't see anything wrong with the structure. are you sure you have the right path to the other icons? images\ ?? Link to comment Share on other sites More sharing options...
Site Moderator chain Posted June 1, 2013 Site Moderator Report Share Posted June 1, 2013 could also be the size of the ico as i have learned working with Cyntax Multi_Conn Link to comment Share on other sites More sharing options...
Pablo Posted June 1, 2013 Report Share Posted June 1, 2013 Post the init code noting how you add them. Link to comment Share on other sites More sharing options...
err0r Posted June 1, 2013 Report Share Posted June 1, 2013 No init code required for xstatusbar Link to comment Share on other sites More sharing options...
Pablo Posted June 2, 2013 Report Share Posted June 2, 2013 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. Link to comment Share on other sites More sharing options...
SEC Posted June 2, 2013 Report Share Posted June 2, 2013 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 More sharing options...
DJSimsUK Posted June 2, 2013 Author Report Share Posted June 2, 2013 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 More sharing options...
Haggis Posted June 3, 2013 Report Share Posted June 3, 2013 Not to worry we all do stuff like that at some point Glad its all fixed though Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now