-
Posts
6005 -
Joined
-
Last visited
-
Days Won
23
Content Type
Profiles
News
Forums
Blogs
Gallery
Events
Everything posted by CoderDrag0n8
-
Coder's Intro Post Response:
function respondToIntroPost(booksList, lurker, antiBooksList, readingSpeed){ if (notExist(readingSpeed)){ var readingSpeed = 0; } var response = ""; if (lurker){ response = "Do you know me? "; } response += "Do you like Dragons? "; if (booksList.indexOf("Mistborn Era 2: The Alloy of Law") > -1){ response += "Do you like Wayne? What twinborn combos (compounding and non) are your favorites? "; } if (booksList.indexOf("Stormlight: Oathbringer") > -1){ response += "What Radiant Order's Ideals "; if (booksList.indexOf("Stormlight: Rhythm of War") > -1){ response += "[i]resonates[/i] (bud ump ch)"; } else { response += "resonates"; } response += " the most with you? What Order's Surges do you like the most? "; } if (antiBooksList.length == 0 || readingSpeed >= antibooks.length){ response += "Are you open to book recomendations? How do you feel about Ebooks/Webnovels?"; } }
I don't actually use a javascript script to format my posts, but this is my thought process written down.
