![]() |
IF - the line of my life ;)
In a template do you know how to get an if that will do that:
if $totalchatters > 0 if i type that in it just says i have dodgy code in my template.... basically i need an if that activates when the value of $totalchatters is more than 0 Any Ideas? Regards, Nick. |
Code:
<if condition="$totalchatters>0"> |
hmm thats what i typed in first xD
|
It only works if the variable is in scope for the template.
|
which it is lol
|
Have you tried using:
<if condition="$totalchatters != 0"> If so and it doesn't work either, try posting the information here for the coding and let's see what we can do about it :). |
no,no, i it works it's just i swear i typed that one in......
maybe i out a space in it.. |
$totalchatters sounds familiar, working on a flashchat mod by any chance ;)
|
how did you guess ;)
It just adds a box at the top if there are any people in the chatroom :D |
All times are GMT. The time now is 01:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|