Module:Release

local p = {} D = {} T = {} N = {} A = {} function ReleaseInsert(Date, Type, Name, Artist) table.insert(D, Date) table.insert(T, Type) table.insert(N, Name) table.insert(A, Artist) end

--These should go in chronological order. Please note that if an artist name includes a single quote, it needs to be written as \' so the quote is not interpreted as the end of the name.

ReleaseInsert('2020-11-17', '2nd Single', 'Daenkei Merry-Go-Round', 'HOT DOG CAT') ReleaseInsert('2020-11-17', '22nd Single', 'SticK Out', 'KOTOKO') ReleaseInsert('2020-11-18', '1st Single', 'Prayer(S)|Prayer[S]', 'RONDO') ReleaseInsert('2020-11-18', '2nd Single', 'Motto Takaku', 'Suzuki Aina') ReleaseInsert('2020-11-18', '2nd Single', 'disclose', 'H-el-ical') ReleaseInsert('2020-11-18', '3rd Major Single', 'DEAD DROP / Just One More Time', 'ADDICTION') ReleaseInsert('2020-11-18', '4th Single', 'Dream with You / Poppin\' Up! / DIVE！', 'Nijigasaki High School Idol Club') ReleaseInsert('2020-11-18', '17th Single', 'Kimi wo Sukueru Nara Boku wa Nan ni demo Naru', 'Kurosaki Maon') ReleaseInsert('2020-11-18', '30th Single', 'Sakebe (angela)|Sakebe', 'angela') ReleaseInsert('2020-11-18', '1st Best Album', '20 BEATS 20 TALES', 'Tokyo Performance Doll (2013)|Tokyo Performance Doll') ReleaseInsert('2020-11-24', '1st Album', 'buGG PANiC', 'buGG') ReleaseInsert('2020-11-25', '2nd Single', 'Carpe Diem', 'Liyuu') ReleaseInsert('2020-11-25', '2nd Single', 'Desire (PELICAN FANCLUB)|Desire', 'PELICAN FANCLUB') ReleaseInsert('2020-11-25', '3rd Single', 'Toki ni wa Mukashi no Hanashi wo', 'Arai Hitomi') ReleaseInsert('2020-11-25', '4th Single', 'Service Area', 'Yoshizawa Kayoko') ReleaseInsert('2020-11-25', '6th Single', 'ALPHA', 'STEREO DIVE FOUNDATION') ReleaseInsert('2020-11-25', '7th Single', 'We Can☆Furefure!', 'Hello, Happy World!') ReleaseInsert('2020-11-25', '11th Single', 'Orange / pray', 'Akai Kouen') ReleaseInsert('2020-11-25', '15th Single', 'Torch of Liberty', 'KANA-BOON') ReleaseInsert('2020-11-25', '20th Single', 'nice to NEET you!', 'AOP') ReleaseInsert('2020-11-25', '21st Single', 'CITRUS', 'Da-iCE') ReleaseInsert('2020-11-25', '3rd Album', 'World Journey', 'Rie a.k.a. Suzaku') ReleaseInsert('2020-11-25', '4th Album', 'Best of Instrumental', 'Rie a.k.a. Suzaku') ReleaseInsert('2020-11-25', '4th Album', 'TRINITY', 'TEARS OF TRAGEDY') ReleaseInsert('2020-11-25', '4th Mini Album', 'What\'s "standard" !?', 'Wa-Suta') ReleaseInsert('2020-11-30', '9th Single', 'Loveit', 'RABBIT HUTCH')

ReleaseInsert('2020-12-01', '2nd Single', 'Aimai ME', 'Sakuya Konohana') ReleaseInsert('2020-12-02', '1st Single', '4U', 'MERM4ID') ReleaseInsert('2020-12-02', '3rd Single', 'Yuusetsu', 'THE SIXTH LIE') ReleaseInsert('2020-12-02', '3rd Single', 'Futari Dake no Hajimete wo Motto', '26-Ji no Masquerade') ReleaseInsert('2020-12-02', '7th Single', 'Different', 'BAND-MAID') ReleaseInsert('2020-12-08', '1st Album', 'Furimuite Kyunshite.', 'Kimi ni, Mune Kyun. (Idol Group)|Kimi ni, Mune Kyun.') ReleaseInsert('2020-12-08', '15th Video Release', 'The Road to Graduation 2019 ~Story~', 'Sakura Gakuin') ReleaseInsert('2020-12-09', '1st Single', 'Don\'t Blink', 'B.O.L.T') ReleaseInsert('2020-12-09', '7th Single', 'Sayonara Namida / Hoshi no Kakera', 'spira・spica') ReleaseInsert('2020-12-09', '31st Single', 'Dokuhaku↔Yakudou', 'Sakamoto Maaya') ReleaseInsert('2020-12-09', '2nd Album', '20×20', 'JUNNA') ReleaseInsert('2020-12-09', '2nd Album', 'Shichiten Nanaki', 'Nanawo Akari') ReleaseInsert('2020-12-15', '1st Single', 'FLOWER / Ao no Kimi / Mihappyou Kyoku', 'My Dear Darlin\'') ReleaseInsert('2020-12-16', '1st Single', 'Wagahai yo Neko de Are', 'Lyrical Lily') ReleaseInsert('2020-12-16', '14th Single', 'silent', 'SEKAI NO OWARI') ReleaseInsert('2020-12-16', '1st EP', '5 KILL STARS', 'PIGGS') ReleaseInsert('2020-12-16', '8th Album', 'Fab! -Music speaks.-', 'Hey! Say! JUMP') ReleaseInsert('2020-12-23', '5th Single', 'Evergreen', 'sajou no hana') ReleaseInsert('2020-12-25', '15th Single', 'Higher and Higher', 'Kozuki Serena') ReleaseInsert('2020-12-23', '26th Single', 'Aitai, Aitai', 'Fudanjuku') ReleaseInsert('2020-12-23', '1st Best Album', '10 BABYMETAL YEARS', 'BABYMETAL') ReleaseInsert('2020-12-23', '2nd Best Album', 'Chouzetsu Shoujo☆COMPLETE 2010～2020', 'SUPER☆GiRLS')

ReleaseInsert('2020-01-03', 'Album', 'lying', '=Love') ReleaseInsert('2020-01-04', 'Single', 'worm', 'Sexy Zone') ReleaseInsert('2020-01-08', '3rd Single', 'copper', '=Love') ReleaseInsert('2020-01-07', 'Single', 'unable', 'Nogizaka46') ReleaseInsert('2020-01-11', '1st Single', 'lacking', 'Ballistik Boyz') ReleaseInsert('2020-01-12', 'Single', 'horse', 'Nogizaka46') ReleaseInsert('2020-01-16', 'Album', 'chop', 'Ballistik Boyz') ReleaseInsert('2020-01-15', '3rd Single', 'disturbed', 'One N\' Only') ReleaseInsert('2020-01-20', '10th Album', 'squirrel', 'The Rampage') ReleaseInsert('2020-01-20', 'Single', 'naive', 'One N\' Only') ReleaseInsert('2020-01-20', 'Single', 'Lying', 'The Fake') ReleaseInsert('2020-01-20', 'Album', 'Dummy', 'Data') ReleaseInsert('2020-01-23', 'Single', 'trace', 'Ryuji Imaichi') ReleaseInsert('2020-01-23', 'Single', 'more trace', 'Ryuji Imaichi') ReleaseInsert('2020-01-24', 'Single', 'wise', 'The Rampage') ReleaseInsert('2020-01-27', 'Single', 'roasted', 'Takeuchi Mariya') ReleaseInsert('2020-01-28', 'Single', 'cooperative', 'Ryuji Imaichi') ReleaseInsert('2020-01-31', '2nd Single', 'drunk', 'Hinatazaka46') ReleaseInsert('2020-02-01', 'Album', 'shy', 'Takeuchi Mariya') ReleaseInsert('2020-02-05', 'Single', 'snatch', 'Hinatazaka46') ReleaseInsert('2020-02-09', 'Single', 'shock', 'Johnny\'s West') ReleaseInsert('2020-02-13', 'Single', 'sprout', 'Sexy Zone') ReleaseInsert('2020-02-17', 'Album', 'endurable', '=Love') ReleaseInsert('2020-02-21', 'Single', 'nasty', 'Nogizaka46') ReleaseInsert('2020-02-25', 'Single', 'volcano', 'Ballistik Boyz') ReleaseInsert('2020-03-01', 'Single', 'concern', 'One N\' Only') ReleaseInsert('2020-03-05', 'Album', 'old', 'The Rampage') ReleaseInsert('2020-03-09', 'Single', 'ruthless', 'Ryuji Imaichi') ReleaseInsert('2020-03-13', 'Single', 'stem', 'Takeuchi Mariya') ReleaseInsert('2020-03-17', 'Single', 'work', 'Hinatazaka46') ReleaseInsert('2020-03-21', 'Album', 'tenuous', 'Johnny\'s West') ReleaseInsert('2020-03-25', 'Single', 'page', 'Sexy Zone') ReleaseInsert('2020-03-29', 'Single', 'faded', '=Love') ReleaseInsert('2020-04-02', 'Single', 'magnificent', 'Nogizaka46') ReleaseInsert('2020-04-06', 'Album', 'floor', 'Ballistik Boyz') ReleaseInsert('2020-04-10', 'Single', 'flippant', 'One N\' Only') ReleaseInsert('2020-04-14', 'Single', 'shoes', 'The Rampage') ReleaseInsert('2020-04-20', 'Single', 'nifty', 'Ryuji Imaichi') ReleaseInsert('2020-04-22', 'Album', 'future', 'Takeuchi Mariya') ReleaseInsert('2020-04-26', 'Single', 'swing', 'Hinatazaka46') ReleaseInsert('2020-04-30', 'Single', 'scarf', 'Johnny\'s West') ReleaseInsert('2020-05-04', 'Single', 'cynical', 'Sexy Zone') ReleaseInsert('2020-05-08', '1st Album', 'unbiased', '=Love') ReleaseInsert('2020-05-12', 'Single', 'icicle', 'Nogizaka46') ReleaseInsert('2020-05-16', 'Single', 'empty', 'Ballistik Boyz') ReleaseInsert('2020-05-20', 'Single', 'general', 'One N\' Only') ReleaseInsert('2020-05-24', 'Album', 'tempt', 'The Rampage') ReleaseInsert('2020-05-28', 'Single', 'trick', 'Ryuji Imaichi') ReleaseInsert('2020-06-01', 'Single', 'ants', 'Takeuchi Mariya') ReleaseInsert('2020-06-05', 'Single', 'yell', 'Hinatazaka46') ReleaseInsert('2020-06-09', 'Album', 'point', 'Johnny\'s West') ReleaseInsert('2020-06-13', 'Single', 'attack', 'Sexy Zone') ReleaseInsert('2020-06-17', 'Single', 'insurance', '=Love') ReleaseInsert('2020-06-21', 'Single', 'accurate', 'Nogizaka46') ReleaseInsert('2020-06-25', 'Album', 'smiling', 'Ballistik Boyz') ReleaseInsert('2020-06-29', 'Single', 'ordinary', 'One N\' Only') ReleaseInsert('2020-07-03', 'Single', 'zip', 'The Rampage') ReleaseInsert('2020-07-07', 'Single', 'question', 'Ryuji Imaichi') ReleaseInsert('2020-07-11', 'Album', 'material', 'Takeuchi Mariya') ReleaseInsert('2020-07-15', 'Single', 'bone', 'Hinatazaka46') ReleaseInsert('2020-07-20', 'Single', 'modern', 'Johnny\'s West') ReleaseInsert('2020-07-23', 'Single', 'suggest', 'Sexy Zone') ReleaseInsert('2020-07-27', 'Album', 'calm', '=Love') ReleaseInsert('2020-07-31', 'Single', 'turn', 'Nogizaka46') ReleaseInsert('2020-08-04', 'Single', 'wound', 'Ballistik Boyz') ReleaseInsert('2020-08-08', 'Single', 'inquisitive', 'One N\' Only') ReleaseInsert('2020-08-12', '2nd Album', 'auspicious', 'The Rampage') ReleaseInsert('2020-08-16', 'Single', 'whimsical', 'Ryuji Imaichi') ReleaseInsert('2020-08-20', 'Single', 'fang', 'Takeuchi Mariya') ReleaseInsert('2020-08-24', 'Single', 'powerful', 'Hinatazaka46') ReleaseInsert('2020-08-28', 'Album', 'border', 'Johnny\'s West') ReleaseInsert('2020-09-01', 'Single', 'furry', 'Sexy Zone') ReleaseInsert('2020-09-05', 'Single', 'appreciate', '=Love') ReleaseInsert('2020-09-09', 'Single', 'devilish', 'Nogizaka46') ReleaseInsert('2020-09-13', 'Album', 'thumb', 'Ballistik Boyz') ReleaseInsert('2020-09-17', 'Single', 'straight', 'One N\' Only') ReleaseInsert('2020-09-21', 'Single', 'many', 'The Rampage') ReleaseInsert('2020-09-25', 'Single', 'aquatic', 'Ryuji Imaichi') ReleaseInsert('2020-09-29', 'Album', 'receive', 'Takeuchi Mariya') ReleaseInsert('2020-10-03', 'Single', 'remarkable', 'Hinatazaka46') ReleaseInsert('2020-10-07', 'Single', 'snake', 'Johnny\'s West') ReleaseInsert('2020-10-11', 'Single', 'merciful', 'Sexy Zone') ReleaseInsert('2020-10-15', 'Album', 'willing', '=Love') ReleaseInsert('2020-10-20', 'Single', 'care', 'Nogizaka46') ReleaseInsert('2020-10-23', 'Single', 'crazy', 'Ballistik Boyz') ReleaseInsert('2020-10-27', 'Single', 'coil', 'One N\' Only') ReleaseInsert('2020-10-31', 'Album', 'boat', 'The Rampage') ReleaseInsert('2020-11-04', 'Single', 'historical', 'Ryuji Imaichi') ReleaseInsert('2020-11-08', 'Single', 'punch', 'Takeuchi Mariya') ReleaseInsert('2020-11-12', 'Single', 'quick', 'Hinatazaka46') ReleaseInsert('2020-11-16', 'Album', 'dare', 'Johnny\'s West') ReleaseInsert('2020-11-20', 'Single', 'steep', 'Sexy Zone') ReleaseInsert('2020-11-24', 'Single', 'uptight', '=Love') ReleaseInsert('2020-11-28', 'Single', 'jobless', 'Nogizaka46') ReleaseInsert('2020-12-02', 'Album', 'zinc', 'Ballistik Boyz') ReleaseInsert('2020-12-06', 'Single', 'smell', 'One N\' Only') ReleaseInsert('2020-12-10', 'Single', 'public', 'The Rampage') ReleaseInsert('2020-12-14', 'Single', 'wilderness', 'Ryuji Imaichi') ReleaseInsert('2020-12-20', 'Album', 'challenge', 'Takeuchi Mariya') ReleaseInsert('2020-12-22', 'Single', 'day', 'Hinatazaka46') ReleaseInsert('2020-12-26', 'Single', 'canvas', 'Johnny\'s West') ReleaseInsert('2020-12-30', 'Single', 'examine', 'Sexy Zone') ReleaseInsert('2020-02-04', 'Album', 'alleged', 'Johnny\'s West') ReleaseInsert('2020-02-08', 'Single', 'fill', 'Sexy Zone') ReleaseInsert('2020-02-12', 'Single', 'neat', '=Love') ReleaseInsert('2020-02-16', 'Single', 'rub', 'Nogizaka46') ReleaseInsert('2020-02-20', 'Album', 'juvenile', 'Ballistik Boyz') ReleaseInsert('2020-02-24', 'Single', 'jazzy', 'One N\' Only') ReleaseInsert('2020-02-28', 'Single', 'dear', 'The Rampage') ReleaseInsert('2020-03-03', 'Single', 'unite', 'Ryuji Imaichi') ReleaseInsert('2020-03-07', 'Album', 'luxuriant', 'Takeuchi Mariya') ReleaseInsert('2020-03-11', 'Single', 'white', 'Hinatazaka46') ReleaseInsert('2020-03-15', 'Single', 'overjoyed', 'Johnny\'s West') ReleaseInsert('2020-03-20', 'Single', 'quill', 'Sexy Zone') ReleaseInsert('2020-03-23', 'Album', 'tease', '=Love') ReleaseInsert('2020-03-27', 'Single', 'hideous', 'Nogizaka46') ReleaseInsert('2020-03-31', 'Single', 'repeat', 'Ballistik Boyz') ReleaseInsert('2020-04-04', 'Single', 'sheep', 'One N\' Only') ReleaseInsert('2020-04-08', 'Album', 'end', 'The Rampage') ReleaseInsert('2020-04-12', 'Single', 'class', 'Ryuji Imaichi') ReleaseInsert('2020-04-16', 'Single', 'haircut', 'Takeuchi Mariya') ReleaseInsert('2020-04-20', 'Single', 'dislike', 'Hinatazaka46') ReleaseInsert('2020-04-24', 'Album', 'store', 'Johnny\'s West') ReleaseInsert('2020-04-28', 'Single', 'gamy', 'Sexy Zone') ReleaseInsert('2020-05-02', 'Single', 'observation', '=Love') ReleaseInsert('2020-05-06', 'Single', 'cluttered', 'Nogizaka46') ReleaseInsert('2020-05-10', 'Album', 'rain', 'Ballistik Boyz') ReleaseInsert('2020-05-14', 'Single', 'letters', 'One N\' Only') ReleaseInsert('2020-05-20', 'Single', 'vacation', 'The Rampage') ReleaseInsert('2020-05-22', 'Single', 'month', 'Ryuji Imaichi') ReleaseInsert('2020-05-26', 'Album', 'condition', 'Takeuchi Mariya') ReleaseInsert('2020-05-30', 'Single', 'shiver', 'Hinatazaka46') ReleaseInsert('2020-06-03', 'Single', 'church', 'Johnny\'s West') ReleaseInsert('2020-06-07', 'Single', 'file', 'Sexy Zone') ReleaseInsert('2020-06-11', 'Album', 'bewildered', '=Love') ReleaseInsert('2020-06-15', 'Single', 'accessible', 'Nogizaka46') ReleaseInsert('2020-06-20', 'Single', 'seemly', 'Ballistik Boyz') ReleaseInsert('2020-06-23', 'Single', 'cumbersome', 'One N\' Only') ReleaseInsert('2020-06-27', 'Album', 'sack', 'The Rampage') ReleaseInsert('2020-07-01', 'Single', 'ladybug', 'Ryuji Imaichi') ReleaseInsert('2020-07-05', 'Single', 'abiding', 'Takeuchi Mariya') ReleaseInsert('2020-07-09', 'Single', 'painstaking', 'Hinatazaka46') ReleaseInsert('2020-07-13', 'Album', 'chicken', 'Johnny\'s West') ReleaseInsert('2020-07-17', 'Single', 'political', 'Sexy Zone') ReleaseInsert('2020-07-21', 'Single', 'snail', '=Love') ReleaseInsert('2020-07-25', 'Single', 'avoid', 'Nogizaka46') ReleaseInsert('2020-07-29', 'Album', 'offend', 'Ballistik Boyz') ReleaseInsert('2020-08-02', 'Single', 'magical', 'One N\' Only') ReleaseInsert('2020-08-06', 'Single', 'friction', 'The Rampage') ReleaseInsert('2020-08-10', 'Single', 'produce', 'Ryuji Imaichi') ReleaseInsert('2020-08-14', 'Album', 'broad', 'Takeuchi Mariya') ReleaseInsert('2020-08-20', 'Single', 'quixotic', 'Hinatazaka46') ReleaseInsert('2020-08-22', 'Single', 'curve', 'Johnny\'s West') ReleaseInsert('2020-08-26', 'Single', 'pigs', 'Sexy Zone') ReleaseInsert('2020-08-30', 'Album', 'coast', '=Love') ReleaseInsert('2020-09-03', 'Single', 'teeny-tiny', 'Nogizaka46') ReleaseInsert('2020-09-07', 'Single', 'surprise', 'Ballistik Boyz') ReleaseInsert('2020-09-11', 'Single', 'ill', 'One N\' Only') ReleaseInsert('2020-09-15', 'Album', 'part', 'The Rampage') ReleaseInsert('2020-09-20', 'Single', 'subtract', 'Ryuji Imaichi') ReleaseInsert('2020-09-23', 'Single', 'muddle', 'Takeuchi Mariya') ReleaseInsert('2020-09-27', 'Single', 'innate', 'Hinatazaka46') ReleaseInsert('2020-10-01', 'Album', 'song', 'Johnny\'s West') ReleaseInsert('2020-10-05', 'Single', 'dull', 'Sexy Zone') ReleaseInsert('2020-10-21', 'Single', 'low', 'One N\' Only') ReleaseInsert('2020-10-25', 'Single', 'bouncy', 'The Rampage') ReleaseInsert('2020-10-29', 'Single', 'clear', 'Ryuji Imaichi') ReleaseInsert('2020-10-09', 'Single', 'uninterested', '=Love') ReleaseInsert('2020-10-13', 'Single', 'bump', 'Nogizaka46') ReleaseInsert('2020-10-17', 'Album', 'license', 'Ballistik Boyz') ReleaseInsert('2020-11-02', 'Album', 'attractive', 'Takeuchi Mariya') ReleaseInsert('2020-11-06', 'Single', 'melodic', 'Hinatazaka46') ReleaseInsert('2020-11-10', 'Single', 'torpid', 'Johnny\'s West') ReleaseInsert('2020-11-14', 'Single', 'vulgar', 'Sexy Zone') ReleaseInsert('2020-11-20', 'Album', 'whirl', '=Love') ReleaseInsert('2020-11-22', 'Single', 'mysterious', 'Nogizaka46') ReleaseInsert('2020-11-26', 'Single', 'scared', 'Ballistik Boyz') ReleaseInsert('2020-11-30', 'Single', 'delay', 'One N\' Only') ReleaseInsert('2020-12-04', 'Album', 'wry', 'The Rampage') ReleaseInsert('2020-12-08', 'Single', 'unknown', 'Ryuji Imaichi') ReleaseInsert('2020-12-12', 'Single', 'sail', 'Takeuchi Mariya') ReleaseInsert('2020-12-16', 'Single', 'egg', 'Hinatazaka46') ReleaseInsert('2020-12-20', 'Album', 'quiver', 'Johnny\'s West') ReleaseInsert('2020-12-24', 'Single', 'instruct', 'Sexy Zone') ReleaseInsert('2020-12-28', 'Single', 'therapeutic', '=Love') ReleaseInsert('2021-01-01', 'Single', 'rich', 'Nogizaka46')

function Ordinal(anumber) if anumber % 10 == 1 then return anumber .. "st" elseif anumber % 10 == 2 then if anumber%100==12 then return anumber .. "th" else return anumber .. "nd" end elseif anumber % 10 == 3 then if anumber%100==13 then return anumber .. "th" else return anumber .. "rd" end else return anumber .. "th" end end

function WhereDateXStarts(yyyymmdd) i = 0 repeat i=i+1 until D[i] >= yyyymmdd or i == table.getn(D) if D[i] < yyyymmdd then i = 1 end return i end

function WhereDateXEnds(yyyymmdd) i = 0 repeat i=i+1 until D[i] > yyyymmdd or i == table.getn(D) if D[i] > yyyymmdd then i = i-1 end return i end function p.upcoming(frame) num_days = tonumber(frame.args.days or 7) num_min = tonumber(frame.args.min or 2) num_max = tonumber(frame.args.max or 999999) starting = frame.args.starting or os.date("%Y-%m-%d",os.time+32400) ending = os.date("%Y-%m-%d", os.time{year=string.sub(starting,1,4), month=string.sub(starting,6,7), day=string.sub(starting,9,10)}+86400*(num_days-1)) --output = "num_days: " .. num_days .. "num_min: " .. num_min .. "starting: " .. starting .. "ending: " ..ending --if 1>0 then return output end STARTBEGINS = WhereDateXStarts(starting) ENDENDS = WhereDateXEnds(ending) if (STARTBEGINS+num_max-1)0 then return output end LISTEND = table.getn(D)

--output = "starting: " .. starting .. " ending: " .. ending .. " STARTBEGINS: " .. STARTBEGINS .. " ENDENDS: " .. ENDENDS .. " LISTEND: " .. LISTEND lastday = 0 output = "" --First read group i = STARTBEGINS while i<= ENDENDS do       thisday = string.sub( D[i], 6, 10 ) if thisday ~= lastday then --It's a new day, something should be written. output = output .. ";" .. os.date("%B %e", os.time{year=2001, month=string.sub(D[i],6,7), day=string.sub(D[i],9,10)}) if thisday==starting then output = output .. ", Release Day!" else output = output .. "" end output = output .. "\n" end output = output .. ": '''" .. T[i] .. "''' " .. N[i] .. " by " .. A[i] .. "\n" lastday = thisday i=i+1 end return output -- .. " " .. os.clock end

function p.between(frame) startdate=frame.args[1] enddate=frame.args[2] typesearch = frame.args.typesearch if startdate > enddate then --You trying to screw things up? Well, we'll just flip 'em. temp = startdate startdate = enddate enddate = temp end output = "" STARTBEGINS = WhereDateXStarts(startdate) ENDENDS = WhereDateXEnds(enddate) --output = "ENDENDS: " .. ENDENDS --if 1>0 then return output end LISTEND = table.getn(D)

--output = "starting: " .. starting .. " ending: " .. ending .. " STARTBEGINS: " .. STARTBEGINS .. " ENDENDS: " .. ENDENDS .. " LISTEND: " .. LISTEND output = "" --First read group i = STARTBEGINS while i<= ENDENDS do       if string.find(string.lower(T[i]), string.lower(typesearch)) then output = output .. ":" .. D[i] .. " '''" .. T[i] .. "''' " .. N[i] .. " by " .. A[i] .. "\n" end i=i+1 end return output end function p.random math.randomseed( os.time ) return "" .. N[math.random(" end return p --