Skip to Content Skip to Menu

CB if statement usage help

13 years 3 weeks ago #180951 by busterocaps
Replied by busterocaps on topic Re: CB if statement usage help
This
Code:
[cb:if user="#displayed" cb_rank="Recruit"] <img src="images/recruit.png" alt="Recruit" /> [/cb:if] [cb:if user="#displayed" cb_rank="Private"] <img src="images/pvt.png" alt="Private" /> [/cb:if] [cb:if user="#displayed" cb_rank="Corporal"] <img src="images/Cprl.png" alt="Corporal" /> [/cb:if] [cb:if user="#displayed" cb_rank="Sergeant"] <img src="images/Sgt.png" alt="Sergeant" /> [/cb:if] [cb:if user="#displayed" cb_rank="Master Sergeant"]<img src="images/Master Sgt.png" alt="Master Sergeant" /> [/cb:if] [cb:if user="#displayed" cb_rank="Lieutenant"] <img src="images/LT.png" alt="Lieutenant" /> [/cb:if] [cb:if user="#displayed" cb_rank="Captain"] <img src="images/captain.png" alt="Captain" /> [/cb:if] [cb:if user="#displayed" cb_rank="Council"] <img src="images/council.png" alt="Council" /> [/cb:if]
doesn't work either. I was kind of hoping that the problem was that the user wasn't known, but I guess not.:(

Please Log in or Create an account to join the conversation.

13 years 1 week ago - 13 years 1 week ago #182222 by pepperstreet
Replied by pepperstreet on topic Re: CB if statement usage help
Also had some issues in CB 1.7 quick tests .

Did you try CB 1.7.1 ? It includes several patches and fixes some substitution errors.
Last edit: 13 years 1 week ago by pepperstreet.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum