i know about this
($attendcolor%2 == 0)
but i want it to be
row 1 and 2 white
row 3 and 4 black
row 5 and 6 white etc.
%3 doesnt work nor %4
change color every 2 rows *SOLVED*
Moderator: General Moderators
change color every 2 rows *SOLVED*
Last edited by Da_Elf on Sat Dec 31, 2016 1:00 pm, edited 1 time in total.
Re: change color every 2 rows
sorry. solved it myself with this
if (($attendcolor - 1) % 4 < 2)
if (($attendcolor - 1) % 4 < 2)