View Single Post
Old 02-06-2022, 09:10 PM   #336
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,151
Karma: 77213683
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
On the topic of that single-column rule:

Code:
program:

	if readstatus()=='currentlyreading' then
		read = $$#lastread;
		updated = $$#fanficupdated;

		if fanfic_unreadchaps()==#1 && $$#percentread==#99 then '#00aaff' 
		elif fanfic_unreadchaps()==#1 && days_between (read, updated) <#0 then '#00d400'
		elif fanfic_unreadchaps()>=#1 && days_between (read, updated) <#0 then '#ffff7f' 
		fi
	
	else colours_daysbetween($#lastread, '#00aaff', '#69cfff', '#9bdeff')
	
	fi
If the colours_daybetween on line 12 is outside the inner fi (line 10), it doesn't colour currentlyreadings that don't match the other rules. But if I put it inside the fi it only colours currentlyreadings. Do I need to duplicate that line?

Last edited by ownedbycats; 02-06-2022 at 09:21 PM.
ownedbycats is offline   Reply With Quote