CKY
CKY
[#2768 ](https://github.com/crowbartools/Firebot/issues/2768) closing as duplicate
and maybe a $topCurrency[currencyName, ignoredUsers]
can we extend this to rewards as well
is the file ending in a new line ?
> * Variable `$readFile[path\to\file.txt, last]` don't work. > Nothing is output when reading the last line of a text file. > * Variable `$readFile[path\to\file.txt, random]`. > Only outputs the lines...
firebot appends a new line on all file writes firebot when firebot tries to read in the last line or a random line the appended NewLine returns a blank entry....
tested while live and its working. !connected seems to be undefined so ```js if(!connected){ return; } ``` never gets called resulting in this error? even when live.
> I have been looking for a way to do a giveaway where I could give out a different code at each stream over the course of a month. >...
#3100 is the root cause of this issue summerNote 0.8.16 fixs both issues
https://github.com/crowbartools/Firebot/compare/v5...CKY-:Firebot:v5-api-lift need better output examples