Module:Ep/Switcher

local p = {} -- function to take a given value of "ep" and return the episode's name and CxEE code function p.epSwitcher(frame, reference) -- Get ep value entered from template local ep   if reference and frame.args["ep"] then ep = frame.args["ep"] elseif reference and not isnotempty(frame.args["ep"]) then return " Undefined Episode ", "" elseif reference then ep = "0x00" elseif not isnotempty(frame.args[1]) then return "", "" else ep = frame.args[1] end -- the "part" variable is only used here for Trial of the Take episodes local part if reference then part = frame.args["part"] or nil end if not isnotempty(part) then part = "" end -- Get episode name and CxEE code -- SPECIAL EPISODES --- if ep == "16a" or ep == "016a" or ep == "Episode 16a" or ep == "Episode 016a" or ep == "Sx01" or ep == "Special 1" or ep == "Special 01" or ep == "How to Score a Massive Hit" then epName, CxEE = "How to Score a Massive Hit", "Sx01" elseif ep == "26a" or ep == "026a" or ep == "Episode 26a" or ep == "Episode 026a" or ep == "Sx02" or ep == "Special 2" or ep == "Special 02" or ep == "Critical Trolls for Extra Life" then epName, CxEE = "Critical Trolls for Extra Life", "Sx02" elseif ep == "28a" or ep == "028a" or ep == "Episode 28a" or ep == "Episode 028a" or ep == "Sx03" or ep == "Special 3" or ep == "Special 03" or ep == "D&Diesel" or ep == "D&#38;Diesel" then epName, CxEE = "D&Diesel", "Sx03" elseif ep == "31a" or ep == "031a" or ep == "Episode 31a" or ep == "Episode 031a" or ep == "Sx04" or ep == "Special 4" or ep == "Special 04" or ep == "November 2015 Critmas" then epName, CxEE = "November 2015 Critmas", "Sx04" elseif ep == "35a" or ep == "035a" or ep == "Episode 35a" or ep == "Episode 035a" or ep == "Sx05" or ep == "Special 5" or ep == "Special 05" or ep == "December 2015 Critmas" then epName, CxEE = "December 2015 Critmas", "Sx05" elseif ep == "36a" or ep == "036a" or ep == "Episode 36a" or ep == "Episode 036a" or ep == "Sx06" or ep == "Special 6" or ep == "Special 06" or ep == "The Story of Vox Machina" then epName, CxEE = "The Story of Vox Machina", "Sx06" elseif ep == "43a" or ep == "043a" or ep == "Episode 43a" or ep == "Episode 043a" or ep == "Sx07" or ep == "Special 7" or ep == "Special 07" or ep == "Wizard World Gaming Portland Panel" then epName, CxEE = "Wizard World Gaming Portland Panel", "Sx07" elseif ep == "43b" or ep == "043b" or ep == "Episode 43b" or ep == "Episode 043b" or ep == "Sx08" or ep == "Special 8" or ep == "Special 08" or ep == "Critical Role Q&A and Battle Royale!" or ep == "Critical Role Q%26A and Battle Royale!" or ep == "Critical Role Q%26A and Battle Royale!" or ep == "Critical Role Q&A and Battle Royale!" or ep == "Critical Role Q&#38;A and Battle Royale!" then epName, CxEE = "Critical Role Q&A and Battle Royale!|Critical Role Q&A and Battle Royale!", "Sx08" elseif ep == "49a" or ep == "049a" or ep == "Episode 49a" or ep == "Episode 049a" or ep == "Sx09" or ep == "Special 9" or ep == "Special 09" or ep == "To the Poop! Goblins: A Critical Role Pathfinder One-Shot" or ep == "To the Poop! Goblins: A Critical Role Pathfinder One-Shot" or ep == "To the Poop! Goblins: A %27%27Critical Role%27%27 %27%27Pathfinder%27%27 One-Shot" or ep == "To the Poop! Goblins%3A A %27%27Critical Role%27%27 %27%27Pathfinder%27%27 One-Shot" then epName, CxEE = "To the Poop! Goblins: A Critical Role Pathfinder One-Shot|To the Poop! Goblins: A Critical Role Pathfinder One-Shot", "Sx09" elseif ep == "54a" or ep == "054a" or ep == "Episode 54a" or ep == "Episode 054a" or ep == "Sx10" or ep == "Special 10" or ep == "Critical Role Q&A and Battle Royale: Take II" or ep == "Critical Role Q%26A and Battle Royale: Take II" or ep == "Critical Role Q%26A and Battle Royale: Take II" or ep == "Critical Role Q&A and Battle Royale: Take II" or ep == "Critical Role Q&#38;A and Battle Royale: Take II" then epName, CxEE = "Critical Role Q&A and Battle Royale: Take II|Critical Role Q&A and Battle Royale: Take II", "Sx10" elseif ep == "58a" or ep == "058a" or ep == "Episode 58a" or ep == "Episode 058a" or ep == "Sx11" or ep == "Special 11" or ep == "Deadlands One-Shot for MDA Charity!" or ep == "Deadlands One-Shot for MDA Charity!" then epName, CxEE = "Deadlands One-Shot for MDA Charity!|Deadlands One-Shot for MDA Charity!", "Sx11" elseif ep == "58b" or ep == "058b" or ep == "Episode 58b" or ep == "Episode 058b" or ep == "Sx12" or ep == "Special 12" or ep == "Liam O'Brien's Lovecraftian Horror One-Shot and Cast Q&A" or ep == "Liam O'Brien's Lovecraftian Horror One-Shot and Cast Q%26A" or ep == "Liam O&#39;Brien&#39;s Lovecraftian Horror One-Shot and Cast Q&#38;A" or ep == "Critical Role EXTRA – Liam's Quest!" or ep == "Critical Role EXTRA – Liam's Quest!" or ep == "Critical Role EXTRA – Liam&#39;s Quest!" or ep == "Critical Role EXTRA – Liam&#39;s Quest!" or ep == "Critical Role EXTRA – Liam's Quest!" then epName, CxEE = "Critical Role EXTRA – Liam's Quest!", "Sx12" elseif ep == "60a" or ep == "060a" or ep == "Episode 60a" or ep == "Episode 060a" or ep == "Sx13" or ep == "Special 13" or ep == "Critical Role's 'The Dating Game' Panel – SDCC 2016" or ep == "Critical Role%27s 'The Dating Game' Panel – SDCC 2016" or ep == "Critical Role&apos;s 'The Dating Game' Panel – SDCC 2016" or ep == "Critical Role's 'The Dating Game' Panel – SDCC 2016" or ep == "%27%27Critical Role%27%27%27s %27The Dating Game%27 Panel – SDCC 2016" or ep == "Critical Role&#39;s &#39;The Dating Game&#39; Panel – SDCC 2016" then epName, CxEE = "Critical Role's 'The Dating Game' Panel – SDCC 2016|Critical Role's 'The Dating Game' Panel – SDCC 2016", "Sx13" elseif ep == "60b" or ep == "060b" or ep == "Episode 60b" or ep == "Episode 060b" or ep == "Sx14" or ep == "Special 14" or ep == "Critical Role Answers Your Questions at SDCC!" or ep == "Critical Role Answers Your Questions at SDCC!" or ep == "Critical Role Answers Your Questions at SDCC!" then epName, CxEE = "Critical Role Answers Your Questions at SDCC!|Critical Role Answers Your Questions at SDCC!", "Sx14" elseif ep == "65a" or ep == "065a" or ep == "Episode 65a" or ep == "Episode 065a" or ep == "Sx15" or ep == "Special 15" or ep == "Critical Role Extra - The Return of Liam!" or ep == "Critical Role Extra – The Return of Liam!" or ep == "Critical Role Extra – The Return of Liam!" then epName, CxEE = "Critical Role Extra – The Return of Liam!", "Sx15" elseif ep == "94b" or ep == "094b" or ep == "Episode 94b" or ep == "Episode 094b" or ep == "Sx16" or ep == "Special 16" or ep == "Liam's Quest 2" or ep == "Liam's Quest: Full Circle" then epName, CxEE = "Liam's Quest: Full Circle", "Sx16" elseif ep == "94c" or ep == "094c" or ep == "Episode 94c" or ep == "Episode 094c" or ep == "Sx17" or ep == "Special 17" or ep == "Fireside Q&A with Matthew Mercer" or ep == "Fireside Q%26A with Matthew Mercer" or ep == "Fireside Q#38;A with Matthew Mercer" then epName, CxEE = "Fireside Q&A with Matthew Mercer", "Sx17" elseif ep == "95a" or ep == "095a" or ep == "Episode 95a" or ep == "Episode 095a" or ep == "Sx18" or ep == "Special 18" or ep == "Pants Optional Critmas" or ep == "Talks Machina – Pants Optional Critmas" or ep == "Talks Machina – Pants Optional Critmas" or ep == "May 2017 Critmas" then epName, CxEE = "Talks Machina – Pants Optional Critmas|Talks Machina – Pants Optional Critmas", "Sx18" elseif ep == "98b" or ep == "098b" or ep == "Episode 98b" or ep == "Episode 098b" or ep == "Sx19" or ep == "Special 19" or ep == "Level 17 Battle Royale!" or ep == "Critical Role – Level 17 Battle Royale!" or ep == "Critical Role – Level 17 Battle Royale!" then epName, CxEE = "Critical Role – Level 17 Battle Royale!|Critical Role – Level 17 Battle Royale!", "Sx19" elseif ep == "Sx20" or ep == "Special 20" then epName, CxEE = "Special 20", "Sx20" -- TALKS MACHINA EPISODES elseif ep == "75a" or ep == "075a" or ep == "Episode 75a" or ep == "Episode 075a" or ep == "TMx01" or ep == "Talks Machina Episode 1" or ep == "Talks Machina Episode 1" or ep == "Talks Machina 1" or ep == "Talks Machina 1" or ep == "Talks Machina #1" or ep == "Talks Machina #1" then epName, CxEE = "Talks Machina Episode 1|Talks Machina #1: 'Where the Cards Fall'", "TMx01" elseif ep == "76a" or ep == "076a" or ep == "Episode 76a" or ep == "Episode 076a" or ep == "TMx02" or ep == "Talks Machina Episode 2" or ep == "Talks Machina Episode 2" or ep == "Talks Machina 2" or ep == "Talks Machina 2" or ep == "Talks Machina #2" or ep == "Talks Machina #2" then epName, CxEE = "Talks Machina Episode 2|Talks Machina #2: 'Brawl in the Arches'", "TMx02" elseif ep == "76b" or ep == "076b" or ep == "Episode 76b" or ep == "Episode 076b" or ep == "TMx03" or ep == "Talks Machina Episode 3" or ep == "Talks Machina Episode 3" or ep == "Talks Machina 3" or ep == "Talks Machina 3" or ep == "Talks Machina #3" or ep == "Talks Machina #3" then epName, CxEE = "Talks Machina Episode 3|Talks Machina #3", "TMx03" elseif ep == "77a" or ep == "077a" or ep == "Episode 77a" or ep == "Episode 077a" or ep == "TMx04" or ep == "Talks Machina Episode 4" or ep == "Talks Machina Episode 4" or ep == "Talks Machina 4" or ep == "Talks Machina 4" or ep == "Talks Machina #4" or ep == "Talks Machina #4" then epName, CxEE = "Talks Machina Episode 4|Talks Machina #4: 'Clash at Daxio'", "TMx04" elseif ep == "78a" or ep == "078a" or ep == "Episode 78a" or ep == "Episode 078a" or ep == "TMx05" or ep == "Talks Machina Episode 5" or ep == "Talks Machina Episode 5" or ep == "Talks Machina 5" or ep == "Talks Machina 5" or ep == "Talks Machina #5" or ep == "Talks Machina #5" then epName, CxEE = "Talks Machina Episode 5|Talks Machina #5: 'The Siege of Emon'", "TMx05" elseif ep == "79a" or ep == "079a" or ep == "Episode 79a" or ep == "Episode 079a" or ep == "TMx06" or ep == "Talks Machina Episode 6" or ep == "Talks Machina Episode 6" or ep == "Talks Machina 6" or ep == "Talks Machina 6" or ep == "Talks Machina #6" or ep == "Talks Machina #6" or ep == "Talks Machina Critmas" or ep == "Talks Machina Critmas" then epName, CxEE = "Talks Machina Episode 6|Talks Machina #6: December 2016 Critmas", "TMx06" elseif ep == "79b" or ep == "079b" or ep == "Episode 79b" or ep == "Episode 079b" or ep == "TMx07" or ep == "Talks Machina Episode 7" or ep == "Talks Machina Episode 7" or ep == "Talks Machina 7" or ep == "Talks Machina 7" or ep == "Talks Machina #7" or ep == "Talks Machina #7" then epName, CxEE = "Talks Machina Episode 7|Talks Machina #7: 'Thordak'", "TMx07" elseif ep == "80a" or ep == "080a" or ep == "Episode 80a" or ep == "Episode 080a" or ep == "TMx08" or ep == "Talks Machina Episode 8" or ep == "Talks Machina Episode 8" or ep == "Talks Machina 8" or ep == "Talks Machina 8" or ep == "Talks Machina #8" or ep == "Talks Machina #8" then epName, CxEE = "Talks Machina Episode 8|Talks Machina #8: 'Raishan'", "TMx08" elseif ep == "81a" or ep == "081a" or ep == "Episode 81a" or ep == "Episode 081a" or ep == "TMx09" or ep == "Talks Machina Episode 9" or ep == "Talks Machina Episode 9" or ep == "Talks Machina 9" or ep == "Talks Machina 9" or ep == "Talks Machina #9" or ep == "Talks Machina #9" then epName, CxEE = "Talks Machina Episode 9|Talks Machina #9: 'What Lies Beneath the Surface'", "TMx09" elseif ep == "82a" or ep == "082a" or ep == "Episode 82a" or ep == "Episode 082a" or ep == "TMx10" or ep == "Talks Machina Episode 10" or ep == "Talks Machina Episode 10" or ep == "Talks Machina 10" or ep == "Talks Machina 10" or ep == "Talks Machina #10" or ep == "Talks Machina #10" then epName, CxEE = "Talks Machina Episode 10|Talks Machina #10: 'Deadly Echoes'", "TMx10" elseif ep == "83a" or ep == "083a" or ep == "Episode 83a" or ep == "Episode 083a" or ep == "TMx11" or ep == "Talks Machina Episode 11" or ep == "Talks Machina Episode 11" or ep == "Talks Machina 11" or ep == "Talks Machina 11" or ep == "Talks Machina #11" or ep == "Talks Machina #11" then epName, CxEE = "Talks Machina Episode 11|Talks Machina #11: 'The Deceiver's Stand'", "TMx11" elseif ep == "84a" or ep == "084a" or ep == "Episode 84a" or ep == "Episode 084a" or ep == "TMx12" or ep == "Talks Machina Episode 12" or ep == "Talks Machina Episode 12" or ep == "Talks Machina 12" or ep == "Talks Machina 12" or ep == "Talks Machina #12" or ep == "Talks Machina #12" then epName, CxEE = "Talks Machina Episode 12|Talks Machina #12: 'Loose Ends'", "TMx12" elseif ep == "86a" or ep == "086a" or ep == "Episode 86a" or ep == "Episode 086a" or ep == "TMx13" or ep == "Talks Machina Episode 13" or ep == "Talks Machina Episode 13" or ep == "Talks Machina 13" or ep == "Talks Machina 13" or ep == "Talks Machina #13" or ep == "Talks Machina #13" then epName, CxEE = "Talks Machina Episode 13|Talks Machina #13: 'A Bard's Lament' and 'Daring Days'", "TMx13" elseif ep == "87a" or ep == "087a" or ep == "Episode 87a" or ep == "Episode 087a" or ep == "TMx14" or ep == "Talks Machina Episode 14" or ep == "Talks Machina Episode 14" or ep == "Talks Machina 14" or ep == "Talks Machina 14" or ep == "Talks Machina #14" or ep == "Talks Machina #14" then epName, CxEE = "Talks Machina Episode 14|Talks Machina #14: 'Onward to Vesrah'", "TMx14" elseif ep == "88a" or ep == "088a" or ep == "Episode 88a" or ep == "Episode 088a" or ep == "TMx15" or ep == "Talks Machina Episode 15" or ep == "Talks Machina Episode 15" or ep == "Talks Machina 15" or ep == "Talks Machina 15" or ep == "Talks Machina #15" or ep == "Talks Machina #15" then epName, CxEE = "Talks Machina Episode 15|Talks Machina #15: 'Tangled Depths'", "TMx15" elseif ep == "89a" or ep == "089a" or ep == "Episode 89a" or ep == "Episode 089a" or ep == "TMx16" or ep == "Talks Machina Episode 16" or ep == "Talks Machina Episode 16" or ep == "Talks Machina 16" or ep == "Talks Machina 16" or ep == "Talks Machina #16" or ep == "Talks Machina #16" then epName, CxEE = "Talks Machina Episode 16|Talks Machina #16: 'Curious Tides'", "TMx16" elseif ep == "90a" or ep == "090a" or ep == "Episode 90a" or ep == "Episode 090a" or ep == "TMx17" or ep == "Talks Machina Episode 17" or ep == "Talks Machina Episode 17" or ep == "Talks Machina 17" or ep == "Talks Machina 17" or ep == "Talks Machina #17" or ep == "Talks Machina #17" then epName, CxEE = "Talks Machina Episode 17|Talks Machina #17: 'Voice of the Tempest'", "TMx17" elseif ep == "91a" or ep == "091a" or ep == "Episode 91a" or ep == "Episode 091a" or ep == "TMx18" or ep == "Talks Machina Episode 18" or ep == "Talks Machina Episode 18" or ep == "Talks Machina 18" or ep == "Talks Machina 18" or ep == "Talks Machina #18" or ep == "Talks Machina #18" then epName, CxEE = "Talks Machina Episode 18|Talks Machina #18: 'Vox Machina Go to Hell'", "TMx18" elseif ep == "92a" or ep == "092a" or ep == "Episode 92a" or ep == "Episode 092a" or ep == "TMx19" or ep == "Talks Machina Episode 19" or ep == "Talks Machina Episode 19" or ep == "Talks Machina 19" or ep == "Talks Machina 19" or ep == "Talks Machina #19" or ep == "Talks Machina #19" or ep == "Talks Machina Live at WonderCon" or ep == "Talks Machina Live at WonderCon" or ep == "Talks Machina Live at WonderCon 2017" or ep == "Talks Machina Live at WonderCon 2017" or ep == "Talks Machina Answers Your Questions Live at WonderCon" or ep == "Talks Machina Answers Your Questions Live at WonderCon" then epName, CxEE = "Talks Machina Answers Your Questions Live at WonderCon|Talks Machina Answers Your Questions Live at WonderCon", "TMx19" elseif ep == "93a" or ep == "093a" or ep == "Episode 93a" or ep == "Episode 093a" or ep == "TMx20" or ep == "Talks Machina Episode 20" or ep == "Talks Machina Episode 20" or ep == "Talks Machina 20" or ep == "Talks Machina 20" or ep == "Talks Machina #20" or ep == "Talks Machina #20" then epName, CxEE = "Talks Machina Episode 20|Talks Machina #20: 'Bats out of Hell'", "TMx20" elseif ep == "94a" or ep == "094a" or ep == "Episode 94a" or ep == "Episode 094a" or ep == "TMx21" or ep == "Talks Machina Episode 21" or ep == "Talks Machina Episode 21" or ep == "Talks Machina 21" or ep == "Talks Machina 21" or ep == "Talks Machina #21" or ep == "Talks Machina #21" then epName, CxEE = "Talks Machina Episode 21|Talks Machina #21: 'Jugs and Rods'", "TMx21" elseif ep == "94d" or ep == "094d" or ep == "Episode 94d" or ep == "Episode 094d" or ep == "TMx22" or ep == "Talks Machina Episode 22" or ep == "Talks Machina Episode 22" or ep == "Talks Machina 22" or ep == "Talks Machina 22" or ep == "Talks Machina #22" or ep == "Talks Machina #22" then epName, CxEE = "Talks Machina Episode 22|Talks Machina #22: 'Liam's Quest'", "TMx22" elseif ep == "96a" or ep == "096a" or ep == "Episode 96a" or ep == "Episode 096a" or ep == "TMx23" or ep == "Talks Machina Episode 23" or ep == "Talks Machina Episode 23" or ep == "Talks Machina 23" or ep == "Talks Machina 23" or ep == "Talks Machina #23" or ep == "Talks Machina #23" then epName, CxEE = "Talks Machina Episode 23|Talks Machina #23: 'One Year Later...' and 'Family Matters'", "TMx23" elseif ep == "97a" or ep == "097a" or ep == "Episode 97a" or ep == "Episode 097a" or ep == "TMx24" or ep == "Talks Machina Episode 24" or ep == "Talks Machina Episode 24" or ep == "Talks Machina 24" or ep == "Talks Machina 24" or ep == "Talks Machina #24" or ep == "Talks Machina #24" then epName, CxEE = "Talks Machina Episode 24|Talks Machina #24: 'Taryon, My Wayward Son'", "TMx24" elseif ep == "98a" or ep == "098a" or ep == "Episode 98a" or ep == "Episode 098a" or ep == "TMx25" or ep == "Talks Machina Episode 25" or ep == "Talks Machina Episode 25" or ep == "Talks Machina 25" or ep == "Talks Machina 25" or ep == "Talks Machina #25" or ep == "Talks Machina #25" then epName, CxEE = "Talks Machina Episode 25|Talks Machina #25: 'The Mines of the Many'", "TMx25" elseif ep == "98c" or ep == "098c" or ep == "Episode 98c" or ep == "Episode 098c" or ep == "TMx26" or ep == "Talks Machina Episode 26" or ep == "Talks Machina Episode 26" or ep == "Talks Machina 26" or ep == "Talks Machina 26" or ep == "Talks Machina #26" or ep == "Talks Machina #26" then epName, CxEE = "Talks Machina Episode 26|Talks Machina #26: 'Level 17 Battle Royale'", "TMx26" elseif ep == "99a" or ep == "099a" or ep == "Episode 99a" or ep == "Episode 099a" or ep == "TMx27" or ep == "Talks Machina Episode 27" or ep == "Talks Machina Episode 27" or ep == "Talks Machina 27" or ep == "Talks Machina 27" or ep == "Talks Machina #27" or ep == "Talks Machina #27" then epName, CxEE = "Talks Machina Episode 27|Talks Machina #27: 'Masquerade'", "TMx27" elseif ep == "100a" or ep == "Episode 100a" or ep == "TMx28" or ep == "Talks Machina Episode 28" or ep == "Talks Machina Episode 28" or ep == "Talks Machina 28" or ep == "Talks Machina 28" or ep == "Talks Machina #28" or ep == "Talks Machina #28" then epName, CxEE = "Talks Machina Episode 28|Talks Machina #28: 'Unfinished Business'", "TMx28" elseif ep == "101a" or ep == "Episode 101a" or ep == "TMx29" or ep == "Talks Machina Episode 29" or ep == "Talks Machina Episode 29" or ep == "Talks Machina 29" or ep == "Talks Machina 29" or ep == "Talks Machina #29" or ep == "Talks Machina #29" then epName, CxEE = "Talks Machina Episode 29|Talks Machina #29: 'Thar Amphala'", "TMx29" elseif ep == "102a" or ep == "Episode 102a" or ep == "TMx30" or ep == "Talks Machina Episode 30" or ep == "Talks Machina Episode 30" or ep == "Talks Machina 30" or ep == "Talks Machina 30" or ep == "Talks Machina #30" or ep == "Talks Machina #30" then epName, CxEE = "Talks Machina Episode 30|Talks Machina #30: 'Race to the Tower'", "TMx30" elseif ep == "104a" or ep == "Episode 104a" or ep == "TMx31" or ep == "Talks Machina Episode 31" or ep == "Talks Machina Episode 31" or ep == "Talks Machina 31" or ep == "Talks Machina 31" or ep == "Talks Machina #31" or ep == "Talks Machina #31" then epName, CxEE = "Talks Machina Episode 31|Talks Machina #31: 'The Fate-Touched' and 'Elysium'", "TMx31" elseif ep == "105a" or ep == "Episode 105a" or ep == "TMx32" or ep == "Talks Machina Episode 32" or ep == "Talks Machina Episode 32" or ep == "Talks Machina 32" or ep == "Talks Machina 32" or ep == "Talks Machina #32" or ep == "Talks Machina #32" then epName, CxEE = "Talks Machina Episode 32|Talks Machina #32: 'The Fear of Isolation'", "TMx32" elseif ep == "TMx33" or ep == "Talks Machina Episode 33" or ep == "Talks Machina Episode 33" or ep == "Talks Machina 33" or ep == "Talks Machina 33" or ep == "Talks Machina #33" or ep == "Talks Machina #33" then epName, CxEE = "Talks Machina Episode 33|Talks Machina #33", "TMx33" elseif ep == "TMx34" or ep == "Talks Machina Episode 34" or ep == "Talks Machina Episode 34" or ep == "Talks Machina 34" or ep == "Talks Machina 34" or ep == "Talks Machina #34" or ep == "Talks Machina #34" then epName, CxEE = "Talks Machina Episode 34|Talks Machina #34", "TMx34" elseif ep == "TMx35" or ep == "Talks Machina Episode 35" or ep == "Talks Machina Episode 35" or ep == "Talks Machina 35" or ep == "Talks Machina 35" or ep == "Talks Machina #35" or ep == "Talks Machina #35" then epName, CxEE = "Talks Machina Episode 35|Talks Machina #35", "TMx35" elseif ep == "TMx36" or ep == "Talks Machina Episode 36" or ep == "Talks Machina Episode 36" or ep == "Talks Machina 36" or ep == "Talks Machina 36" or ep == "Talks Machina #36" or ep == "Talks Machina #36" then epName, CxEE = "Talks Machina Episode 36|Talks Machina #36", "TMx36" elseif ep == "TMx37" or ep == "Talks Machina Episode 37" or ep == "Talks Machina Episode 37" or ep == "Talks Machina 37" or ep == "Talks Machina 37" or ep == "Talks Machina #37" or ep == "Talks Machina #37" then epName, CxEE = "Talks Machina Episode 37|Talks Machina #37", "TMx37" elseif ep == "TMx38" or ep == "Talks Machina Episode 38" or ep == "Talks Machina Episode 38" or ep == "Talks Machina 38" or ep == "Talks Machina 38" or ep == "Talks Machina #38" or ep == "Talks Machina #38" then epName, CxEE = "Talks Machina Episode 38|Talks Machina #38", "TMx38" elseif ep == "TMx39" or ep == "Talks Machina Episode 39" or ep == "Talks Machina Episode 39" or ep == "Talks Machina 39" or ep == "Talks Machina 39" or ep == "Talks Machina #39" or ep == "Talks Machina #39" then epName, CxEE = "Talks Machina Episode 39|Talks Machina #39", "TMx39" elseif ep == "TMx40" or ep == "Talks Machina Episode 40" or ep == "Talks Machina Episode 40" or ep == "Talks Machina 40" or ep == "Talks Machina 40" or ep == "Talks Machina #40" or ep == "Talks Machina #40" then epName, CxEE = "Talks Machina Episode 40|Talks Machina #40", "TMx40" -- CRITICAL ROLE EPISODES elseif ep == "1" or ep == "01" or ep == "001" or ep == "Episode 1" or ep == "Episode 01" or ep == "Episode 001" or ep == "1x01" or ep == "Arrival at Kraghammer" then epName, CxEE = "Arrival at Kraghammer", "1x01" elseif ep == "2" or ep == "02" or ep == "002" or ep == "Episode 2" or ep == "Episode 02" or ep == "Episode 002" or ep == "1x02" or ep == "Into the Greyspine Mines" then epName, CxEE = "Into the Greyspine Mines", "1x02" elseif ep == "3" or ep == "03" or ep == "003" or ep == "Episode 3" or ep == "Episode 03" or ep == "Episode 003" or ep == "1x03" or ep == "Strange Bedfellows" then epName, CxEE = "Strange Bedfellows", "1x03" elseif ep == "4" or ep == "04" or ep == "004" or ep == "Episode 4" or ep == "Episode 04" or ep == "Episode 004" or ep == "1x04" or ep == "Attack on the Duergar Warcamp" then epName, CxEE = "Attack on the Duergar Warcamp", "1x04" elseif ep == "5" or ep == "05" or ep == "005" or ep == "Episode 5" or ep == "Episode 05" or ep == "Episode 005" or ep == "1x05" or ep == "The Trick about Falling" then epName, CxEE = "The Trick about Falling", "1x05" elseif ep == "6" or ep == "06" or ep == "006" or ep == "Episode 6" or ep == "Episode 06" or ep == "Episode 006" or ep == "1x06" or ep == "Breaching the Emberhold" then epName, CxEE = "Breaching the Emberhold", "1x06" elseif ep == "7" or ep == "07" or ep == "007" or ep == "Episode 7" or ep == "Episode 07" or ep == "Episode 007" or ep == "1x07" or ep == "The Throne Room" then epName, CxEE = "The Throne Room", "1x07" elseif ep == "8" or ep == "08" or ep == "008" or ep == "Episode 8" or ep == "Episode 08" or ep == "Episode 008" or ep == "1x08" or ep == "Glass and Bone" then epName, CxEE = "Glass and Bone", "1x08" elseif ep == "9" or ep == "09" or ep == "009" or ep == "Episode 9" or ep == "Episode 09" or ep == "Episode 009" or ep == "1x09" or ep == "Yug'Voril Uncovered" or ep == "Yug&#39;Voril Uncovere" then epName, CxEE = "Yug'Voril Uncovered", "1x09" elseif ep == "10" or ep == "010" or ep == "Episode 10" or ep == "Episode 010" or ep == "1x10" or ep == "K'Varn Revealed" or ep == "K&#39;Varn Revealed" then epName, CxEE = "K'Varn Revealed", "1x10" elseif ep == "11" or ep == "011" or ep == "Episode 11" or ep == "Episode 011" or ep == "1x11" or ep == "The Temple Showdown" then epName, CxEE = "The Temple Showdown", "1x11" elseif ep == "12" or ep == "012" or ep == "Episode 12" or ep == "Episode 012" or ep == "1x12" or ep == "Dungeons & Dragons Campaign Tips" or ep == "Dungeons &#38; Dragons Campaign Tips" or ep == "Dungeons & Dragons Campaign Tips" or ep == "Dungeons &#38; Dragons Campaign Tips" then epName, CxEE = "Dungeons & Dragons Campaign Tips", "1x12" elseif ep == "13" or ep == "013" or ep == "Episode 13" or ep == "Episode 013" or ep == "1x13" or ep == "Escape from the Underdark" then epName, CxEE = "Escape from the Underdark", "1x13" elseif ep == "14" or ep == "014" or ep == "Episode 14" or ep == "Episode 014" or ep == "1x14" or ep == "Shopping and Shipping" then epName, CxEE = "Shopping and Shipping", "1x14" elseif ep == "15" or ep == "015" or ep == "Episode 15" or ep == "Episode 015" or ep == "1x15" or ep == "Skyward" then epName, CxEE = "Skyward", "1x15" elseif ep == "16" or ep == "016" or ep == "Episode 16" or ep == "Episode 016" or ep == "1x16" or ep == "Enter Vasselheim" then epName, CxEE = "Enter Vasselheim", "1x16" elseif ep == "17" or ep == "017" or ep == "Episode 17" or ep == "Episode 017" or ep == "2x01" or ep == "Hubris" then epName, CxEE = "Hubris", "2x01" elseif ep == "18" or ep == "018" or ep == "Episode 18" or ep == "Episode 018" or ep == "2x02" or ep == "Trial of the Take: Part 1" or (ep == "Trial of the Take" and part == "1") then epName, CxEE = "Trial of the Take: Part 1", "2x02" elseif ep == "19" or ep == "019" or ep == "Episode 19" or ep == "Episode 019" or ep == "2x03" or ep == "Trial of the Take: Part 2" or (ep == "Trial of the Take" and part == "2") then epName, CxEE = "Trial of the Take: Part 2", "2x03" elseif ep == "20" or ep == "020" or ep == "Episode 20" or ep == "Episode 020" or ep == "2x04" or ep == "Trial of the Take: Part 3" or (ep == "Trial of the Take" and part == "3") then epName, CxEE = "Trial of the Take: Part 3", "2x04" elseif ep == "21" or ep == "021" or ep == "Episode 21" or ep == "Episode 021" or ep == "2x05" or ep == "Trial of the Take: Part 4" or (ep == "Trial of the Take" and part == "4") then epName, CxEE = "Trial of the Take: Part 4", "2x05" elseif ep == "22" or ep == "022" or ep == "Episode 22" or ep == "Episode 022" or ep == "2x06" or ep == "Aramente to Pyrah" or ep == "Aramenté to Pyrah" or ep == "Arament&eacute; to Pyrah" then epName, CxEE = "Aramenté to Pyrah", "2x06" elseif ep == "23" or ep == "023" or ep == "Episode 23" or ep == "Episode 023" or ep == "2x07" or ep == "The Rematch" then epName, CxEE = "The Rematch", "2x07" elseif ep == "24" or ep == "024" or ep == "Episode 24" or ep == "Episode 024" or ep == "3x01" or ep == "The Feast" then epName, CxEE = "The Feast", "3x01" elseif ep == "25" or ep == "025" or ep == "Episode 25" or ep == "Episode 025" or ep == "3x02" or ep == "Crimson Diplomacy" then epName, CxEE = "Crimson Diplomacy", "3x02" elseif ep == "26" or ep == "026" or ep == "Episode 26" or ep == "Episode 026" or ep == "3x03" or ep == "Consequences and Cows" then epName, CxEE = "Consequences and Cows", "3x03" elseif ep == "27" or ep == "027" or ep == "Episode 27" or ep == "Episode 027" or ep == "3x04" or ep == "The Path to Whitestone" then epName, CxEE = "The Path to Whitestone", "3x04" elseif ep == "28" or ep == "028" or ep == "Episode 28" or ep == "Episode 028" or ep == "3x05" or ep == "The Sun Tree" or ep == "The Sun Tree (episode)" then epName, CxEE = "The Sun Tree (episode)|The Sun Tree", "3x05" elseif ep == "29" or ep == "029" or ep == "Episode 29" or ep == "Episode 029" or ep == "3x06" or ep == "Whispers" then epName, CxEE = "Whispers", "3x06" elseif ep == "30" or ep == "030" or ep == "Episode 30" or ep == "Episode 030" or ep == "3x07" or ep == "Stoke the Flames" then epName, CxEE = "Stoke the Flames", "3x07" elseif ep == "31" or ep == "031" or ep == "Episode 31" or ep == "Episode 031" or ep == "3x08" or ep == "Gunpowder Plot" then epName, CxEE = "Gunpowder Plot", "3x08" elseif ep == "32" or ep == "032" or ep == "Episode 32" or ep == "Episode 032" or ep == "3x09" or ep == "Against the Tide of Bone" then epName, CxEE = "Against the Tide of Bone", "3x09" elseif ep == "33" or ep == "033" or ep == "Episode 33" or ep == "Episode 033" or ep == "3x10" or ep == "Reunions" then epName, CxEE = "Reunions", "3x10" elseif ep == "34" or ep == "034" or ep == "Episode 34" or ep == "Episode 034" or ep == "3x11" or ep == "Race to the Ziggurat" then epName, CxEE = "Race to the Ziggurat", "3x11" elseif ep == "35" or ep == "035" or ep == "Episode 35" or ep == "Episode 035" or ep == "3x12" or ep == "Denouement" then epName, CxEE = "Denouement", "3x12" elseif ep == "36" or ep == "036" or ep == "Episode 36" or ep == "Episode 036" or ep == "3x13" or ep == "Winter's Crest in Whitestone" or ep == "Winter&#39;s Crest in Whitestone" then epName, CxEE = "Winter's Crest in Whitestone", "3x13" elseif ep == "37" or ep == "037" or ep == "Episode 37" or ep == "Episode 037" or ep == "3x14" or ep == "A Musician's Nostalgia" or ep == "A Musician&#39;s Nostalgia" then epName, CxEE = "A Musician's Nostalgia", "3x14" elseif ep == "38" or ep == "038" or ep == "Episode 38" or ep == "Episode 038" or ep == "3x15" or ep == "Echoes of the Past" then epName, CxEE = "Echoes of the Past", "3x15" elseif ep == "39" or ep == "039" or ep == "Episode 39" or ep == "Episode 039" or ep == "4x01" or ep == "Omens" then epName, CxEE = "Omens", "4x01" elseif ep == "40" or ep == "040" or ep == "Episode 40" or ep == "Episode 040" or ep == "4x02" or ep == "Desperate Measures" then epName, CxEE = "Desperate Measures", "4x02" elseif ep == "41" or ep == "041" or ep == "Episode 41" or ep == "Episode 041" or ep == "4x03" or ep == "In Ruins" then epName, CxEE = "In Ruins", "4x03" elseif ep == "42" or ep == "042" or ep == "Episode 42" or ep == "Episode 042" or ep == "4x04" or ep == "Dangerous Dealings" then epName, CxEE = "Dangerous Dealings", "4x04" elseif ep == "43" or ep == "043" or ep == "Episode 43" or ep == "Episode 043" or ep == "4x05" or ep == "Return to Vasselheim" then epName, CxEE = "Return to Vasselheim", "4x05" elseif ep == "44" or ep == "044" or ep == "Episode 44" or ep == "Episode 044" or ep == "4x06" or ep == "The Sunken Tomb" then epName, CxEE = "The Sunken Tomb", "4x06" elseif ep == "45" or ep == "045" or ep == "Episode 45" or ep == "Episode 045" or ep == "4x07" or ep == "Those Who Walk Away" then epName, CxEE = "Those Who Walk Away", "4x07" elseif ep == "46" or ep == "046" or ep == "Episode 46" or ep == "Episode 046" or ep == "4x08" or ep == "Cindergrove Revisited" then epName, CxEE = "Cindergrove Revisited", "4x08" elseif ep == "47" or ep == "047" or ep == "Episode 47" or ep == "Episode 047" or ep == "4x09" or ep == "The Family Business" then epName, CxEE = "The Family Business", "4x09" elseif ep == "48" or ep == "048" or ep == "Episode 48" or ep == "Episode 048" or ep == "4x10" or ep == "Into the Frostweald" then epName, CxEE = "Into the Frostweald", "4x10" elseif ep == "49" or ep == "049" or ep == "Episode 49" or ep == "Episode 049" or ep == "4x11" or ep == "A Name Is Earned" then epName, CxEE = "A Name Is Earned", "4x11" elseif ep == "50" or ep == "050" or ep == "Episode 50" or ep == "Episode 050" or ep == "4x12" or ep == "Best Laid Plans..." then epName, CxEE = "Best Laid Plans...", "4x12" elseif ep == "51" or ep == "051" or ep == "Episode 51" or ep == "Episode 051" or ep == "4x13" or ep == "Test of Pride" then epName, CxEE = "Test of Pride", "4x13" elseif ep == "52" or ep == "052" or ep == "Episode 52" or ep == "Episode 052" or ep == "4x14" or ep == "The Kill Box" then epName, CxEE = "The Kill Box", "4x14" elseif ep == "53" or ep == "053" or ep == "Episode 53" or ep == "Episode 053" or ep == "4x15" or ep == "At Dawn, We Plan!" then epName, CxEE = "At Dawn, We Plan!", "4x15" elseif ep == "54" or ep == "054" or ep == "Episode 54" or ep == "Episode 054" or ep == "4x16" or ep == "In the Belly of the Beast" then epName, CxEE = "In the Belly of the Beast", "4x16" elseif ep == "55" or ep == "055" or ep == "Episode 55" or ep == "Episode 055" or ep == "4x17" or ep == "Umbrasyl" or ep == "Umbrasyl (episode)" then epName, CxEE = "Umbrasyl (episode)|Umbrasyl", "4x17" elseif ep == "56" or ep == "056" or ep == "Episode 56" or ep == "Episode 056" or ep == "4x18" or ep == "Hope" then epName, CxEE = "Hope", "4x18" elseif ep == "57" or ep == "057" or ep == "Episode 57" or ep == "Episode 057" or ep == "5x01" or ep == "Duskmeadow" then epName, CxEE = "Duskmeadow", "5x01" elseif ep == "58" or ep == "058" or ep == "Episode 58" or ep == "Episode 058" or ep == "5x02" or ep == "A Cycle of Vengeance" then epName, CxEE = "A Cycle of Vengeance", "5x02" elseif ep == "59" or ep == "059" or ep == "Episode 59" or ep == "Episode 059" or ep == "5x03" or ep == "Into the Feywild" then epName, CxEE = "Into the Feywild", "5x03" elseif ep == "60" or ep == "060" or ep == "Episode 60" or ep == "Episode 060" or ep == "5x04" or ep == "Heredity and Hats" then epName, CxEE = "Heredity and Hats", "5x04" elseif ep == "61" or ep == "061" or ep == "Episode 61" or ep == "Episode 061" or ep == "5x05" or ep == "Denizens of the Moonbrush" then epName, CxEE = "Denizens of the Moonbrush", "5x05" elseif ep == "62" or ep == "062" or ep == "Episode 62" or ep == "Episode 062" or ep == "5x06" or ep == "Uninviting Waters" then epName, CxEE = "Uninviting Waters", "5x06" elseif ep == "63" or ep == "063" or ep == "Episode 63" or ep == "Episode 063" or ep == "5x07" or ep == "The Echo Tree" then epName, CxEE = "The Echo Tree", "5x07" elseif ep == "64" or ep == "064" or ep == "Episode 64" or ep == "Episode 064" or ep == "5x08" or ep == "The Frigid Doom" then epName, CxEE = "The Frigid Doom", "5x08" elseif ep == "65" or ep == "065" or ep == "Episode 65" or ep == "Episode 065" or ep == "5x09" or ep == "The Streets of Ank'Harel" or ep == "The Streets of Ank&#39;Harel" then epName, CxEE = "The Streets of Ank'Harel", "5x09" elseif ep == "66" or ep == "066" or ep == "Episode 66" or ep == "Episode 066" or ep == "5x10" or ep == "A Traveler's Gamble" or ep == "A Traveler&#39;s Gamble" then epName, CxEE = "A Traveler's Gamble", "5x10" elseif ep == "67" or ep == "067" or ep == "Episode 67" or ep == "Episode 067" or ep == "5x11" or ep == "The Chase to Glintshore" then epName, CxEE = "The Chase to Glintshore", "5x11" elseif ep == "68" or ep == "068" or ep == "Episode 68" or ep == "Episode 068" or ep == "5x12" or ep == "Cloak and Dagger" then epName, CxEE = "Cloak and Dagger", "5x12" elseif ep == "69" or ep == "069" or ep == "Episode 69" or ep == "Episode 069" or ep == "5x13" or ep == "Passed Through Fire" then epName, CxEE = "Passed Through Fire", "5x13" elseif ep == "70" or ep == "070" or ep == "Episode 70" or ep == "Episode 070" or ep == "6x01" or ep == "Trust" then epName, CxEE = "Trust", "6x01" elseif ep == "71" or ep == "071" or ep == "Episode 71" or ep == "Episode 071" or ep == "6x02" or ep == "Vorugal" or ep == "Vorugal (episode)" then epName, CxEE = "Vorugal (episode)|Vorugal", "6x02" elseif ep == "72" or ep == "072" or ep == "Episode 72" or ep == "Episode 072" or ep == "6x03" or ep == "The Elephant in the Room" then epName, CxEE = "The Elephant in the Room", "6x03" elseif ep == "73" or ep == "073" or ep == "Episode 73" or ep == "Episode 073" or ep == "6x04" or ep == "The Coming Storm" then epName, CxEE = "The Coming Storm", "6x04" elseif ep == "74" or ep == "074" or ep == "Episode 74" or ep == "Episode 074" or ep == "6x05" or ep == "Path of Brass" then epName, CxEE = "Path of Brass", "6x05" elseif ep == "75" or ep == "075" or ep == "Episode 75" or ep == "Episode 075" or ep == "6x06" or ep == "Where the Cards Fall" then epName, CxEE = "Where the Cards Fall", "6x06" elseif ep == "76" or ep == "076" or ep == "Episode 76" or ep == "Episode 076" or ep == "6x07" or ep == "Brawl in the Arches" then epName, CxEE = "Brawl in the Arches", "6x07" elseif ep == "77" or ep == "077" or ep == "Episode 77" or ep == "Episode 077" or ep == "6x08" or ep == "Clash at Daxio" then epName, CxEE = "Clash at Daxio", "6x08" elseif ep == "78" or ep == "078" or ep == "Episode 78" or ep == "Episode 078" or ep == "6x09" or ep == "The Siege of Emon" then epName, CxEE = "The Siege of Emon", "6x09" elseif ep == "79" or ep == "079" or ep == "Episode 79" or ep == "Episode 079" or ep == "6x10" or ep == "Thordak" or ep == "Thordak (episode)" then epName, CxEE = "Thordak (episode)|Thordak", "6x10" elseif ep == "80" or ep == "080" or ep == "Episode 80" or ep == "Episode 080" or ep == "6x11" or ep == "Raishan" or ep == "Raishan (episode)" then epName, CxEE = "Raishan (episode)|Raishan", "6x11" elseif ep == "81" or ep == "081" or ep == "Episode 81" or ep == "Episode 081" or ep == "6x12" or ep == "What Lies Beneath the Surface" then epName, CxEE = "What Lies Beneath the Surface", "6x12" elseif ep == "82" or ep == "082" or ep == "Episode 82" or ep == "Episode 082" or ep == "6x13" or ep == "Deadly Echoes" then epName, CxEE = "Deadly Echoes", "6x13" elseif ep == "83" or ep == "083" or ep == "Episode 83" or ep == "Episode 083" or ep == "6x14" or ep == "The Deceiver's Stand" or ep == "The Deceiver&#39;s Stand" then epName, CxEE = "The Deceiver's Stand", "6x14" elseif ep == "84" or ep == "084" or ep == "Episode 84" or ep == "Episode 084" or ep == "6x15" or ep == "Loose Ends" then epName, CxEE = "Loose Ends", "6x15" elseif ep == "85" or ep == "085" or ep == "Episode 85" or ep == "Episode 085" or ep == "7x01" or ep == "A Bard's Lament" or ep == "A Bard&#39;s Lament" then epName, CxEE = "A Bard's Lament", "7x01" elseif ep == "86" or ep == "086" or ep == "Episode 86" or ep == "Episode 086" or ep == "7x02" or ep == "Daring Days" then epName, CxEE = "Daring Days", "7x02" elseif ep == "87" or ep == "087" or ep == "Episode 87" or ep == "Episode 087" or ep == "7x03" or ep == "Onward to Vesrah" then epName, CxEE = "Onward to Vesrah", "7x03" elseif ep == "88" or ep == "088" or ep == "Episode 88" or ep == "Episode 088" or ep == "7x04" or ep == "Tangled Depths" then epName, CxEE = "Tangled Depths", "7x04" elseif ep == "89" or ep == "089" or ep == "Episode 89" or ep == "Episode 089" or ep == "7x05" or ep == "Curious Tides" then epName, CxEE = "Curious Tides", "7x05" elseif ep == "90" or ep == "090" or ep == "Episode 90" or ep == "Episode 090" or ep == "7x06" or ep == "Voice of the Tempest" then epName, CxEE = "Voice of the Tempest", "7x06" elseif ep == "91" or ep == "091" or ep == "Episode 91" or ep == "Episode 091" or ep == "7x07" or ep == "Vox Machina Go to Hell" then epName, CxEE = "Vox Machina Go to Hell", "7x07" elseif ep == "92" or ep == "092" or ep == "Episode 92" or ep == "Episode 092" or ep == "7x08" or ep == "Deals in the Dark" then epName, CxEE = "Deals in the Dark", "7x08" elseif ep == "93" or ep == "093" or ep == "Episode 93" or ep == "Episode 093" or ep == "7x09" or ep == "Bats out of Hell" then epName, CxEE = "Bats out of Hell", "7x09" elseif ep == "94" or ep == "094" or ep == "Episode 94" or ep == "Episode 094" or ep == "7x10" or ep == "Jugs and Rods" then epName, CxEE = "Jugs and Rods", "7x10" elseif ep == "95" or ep == "095" or ep == "Episode 95" or ep == "Episode 095" or ep == "7x11" or ep == "One Year Later..." then epName, CxEE = "One Year Later...", "7x11" elseif ep == "96" or ep == "096" or ep == "Episode 96" or ep == "Episode 096" or ep == "7x12" or ep == "Family Matters" then epName, CxEE = "Family Matters", "7x12" elseif ep == "97" or ep == "097" or ep == "Episode 97" or ep == "Episode 097" or ep == "7x13" or ep == "Taryon, My Wayward Son" then epName, CxEE = "Taryon, My Wayward Son", "7x13" elseif ep == "98" or ep == "098" or ep == "Episode 98" or ep == "Episode 098" or ep == "7x14" or ep == "The Mines of the Many" then epName, CxEE = "The Mines of the Many", "7x14" elseif ep == "99" or ep == "099" or ep == "Episode 99" or ep == "Episode 099" or ep == "7x15" or ep == "Masquerade" then epName, CxEE = "Masquerade", "7x15" elseif ep == "100" or ep == "Episode 100" or ep == "8x01" or ep == "Unfinished Business" then epName, CxEE = "Unfinished Business", "8x01" elseif ep == "101" or ep == "Episode 101" or ep == "8x02" or ep == "Thar Amphala" then epName, CxEE = "Thar Amphala", "8x02" elseif ep == "102" or ep == "Episode 102" or ep == "8x03" or ep == "Race to the Tower" then epName, CxEE = "Race to the Tower", "8x03" elseif ep == "103" or ep == "Episode 103" or ep == "8x04" or ep == "The Fate-Touched" then epName, CxEE = "The Fate-Touched", "8x04" elseif ep == "104" or ep == "Episode 104" or ep == "8x05" or ep == "Elysium" then epName, CxEE = "Elysium", "8x05" elseif ep == "105" or ep == "Episode 105" or ep == "8x06" or ep == "The Fear of Isolation" then epName, CxEE = "The Fear of Isolation", "8x06" elseif ep == "106" or ep == "Episode 106" or ep == "8x07" or ep == "Episode 106" then epName, CxEE = "Episode 106", "8x07" elseif ep == "107" or ep == "Episode 107" or ep == "8x08" or ep == "Episode 107" then epName, CxEE = "Episode 107", "8x08" elseif ep == "108" or ep == "Episode 108" or ep == "8x09" or ep == "Episode 108" then epName, CxEE = "Episode 108", "8x09" elseif ep == "109" or ep == "Episode 109" or ep == "8x10" or ep == "Episode 109" then epName, CxEE = "Episode 109", "8x10" elseif ep == "110" or ep == "Episode 110" or ep == "8x11" or ep == "Episode 110" then epName, CxEE = "Episode 110", "8x11" else return ep, "" end return epName, CxEE end -- function to determine that a variable has a value function isnotempty(s) return s ~= nil and s~= '' end return p