Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2016
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 160.72 KB | None | 0 0
  1. var plugapi = require('plugapi');
  2. var room = 'christian-anything-2';
  3.  
  4. var Lastfm = require('simple-lastfm');
  5. var version = "5.0.0";
  6.  
  7. var theme = "The current theme for this room is Christian Music.";
  8. var joined = new Date().getTime();
  9. var translateList = [];
  10.  
  11. var lastfm = new Lastfm({
  12. api_key: 'xxxxxxxxxxxxxxxxxxxxxxxx',
  13. api_secret: 'xxxxxxxxxxxxxxxxxxxxxxxx',
  14. username: 'xxxxxxxxxxxxxxxxxxxxxxxx',
  15. password: 'xxxxxxxxxxxxxxxxxxxxxxxx'
  16. });
  17.  
  18. var LastfmAPI = require('lastfmapi');
  19.  
  20. var lfm = new LastfmAPI({
  21. api_key : 'xxxxxxxxxxxxxxxxxxxxxxxx',
  22. secret : 'xxxxxxxxxxxxxxxxxxxxxxxx'
  23. });
  24.  
  25. var mlexer = require('math-lexer');
  26. var google_geocoding = require('google-geocoding');
  27. var weather = require('weathers');
  28. var api = require('dictionaryapi');
  29. var Wiki = require("wikijs");
  30. var MsTranslator = require('mstranslator');
  31. var request = require('request');
  32. var time = require('time');
  33. var client = new MsTranslator({client_id:"MegaBot", client_secret: "BUjjotOXGYXYbYnioSklbU0CSRM5gBBhag4piJ9F+9M="});
  34.  
  35. var bot = new plugapi({
  36. "email": "xxxxxxxxxxxxxxxxxxxxxxxx",
  37. "password": "xxxxxxxxxxxxxxxxxxxxxxxx"
  38. });
  39.  
  40. bot.connect(room);
  41.  
  42. var reconnect = function() {
  43. bot.connect(room);
  44. };
  45.  
  46. bot.on('close', reconnect);
  47. bot.on('error', reconnect);
  48.  
  49. var media = null;
  50. var waitlist = null;
  51. var dj = null;
  52. var admins = null;
  53. var staff = null;
  54. var users = null;
  55. var roomScore = null;
  56. var afkList = {};
  57. var autoskipEnabled = false;
  58. var waitlistArray = [];
  59. var waitlistUsernames = [];
  60.  
  61. bot.on('roomJoin', function(data) {
  62. bot.getMedia(function(plugMedia){
  63. media = plugMedia;
  64. if (media != null){
  65. bot.getTimeRemaining(function(timeRemaining){
  66. var timer = setInterval(
  67. function() {
  68. if (autoskipEnabled){
  69. bot.moderateForceSkip(dj.id);
  70. bot.sendChat("Autoskip!");
  71. }
  72. clearInterval(timer);
  73. }, (timeRemaining * 1000)
  74. );
  75. });
  76. }
  77. });
  78. bot.getWaitList(function(plugWaitlist){
  79. waitlist = plugWaitlist;
  80. waitlistArray.push(waitlist);
  81. for (var j=0; j<waitlist.length; j++){
  82. waitlistUsernames.push(waitlist[j].username);
  83. }
  84. });
  85. bot.getDJ(function(plugDJ){
  86. dj = plugDJ;
  87. if (dj == null){
  88. bot.djJoin();
  89. bot.sendChat("Autojoining booth!");
  90. }
  91. });
  92. bot.getStaff(function(plugStaff){
  93. staff = plugStaff;
  94. });
  95. bot.getUsers(function(plugUsers){
  96. users = plugUsers;
  97. });
  98. bot.getAdmins(function(plugAdmins){
  99. admins = plugAdmins;
  100. });
  101. console.log("I'm live!");
  102. });
  103.  
  104. bot.on('advance', function(data) {
  105. bot.getMedia(function(plugMedia){
  106. media = plugMedia;
  107. if (media != null){
  108. var timer = setInterval(
  109. function() {
  110. if (autoskipEnabled){
  111. bot.moderateForceSkip(dj.id);
  112. bot.sendChat("Autoskip!");
  113. }
  114. clearInterval(timer);
  115. }, (media.duration * 1000)
  116. );
  117. }
  118. });
  119. bot.getWaitList(function(plugWaitlist){
  120. waitlist = plugWaitlist;
  121. });
  122. bot.getDJ(function(plugDJ){
  123. dj = plugDJ;
  124. if (dj == null){
  125. bot.djJoin();
  126. bot.sendChat("Autojoining booth!");
  127. }
  128. });
  129. // if (data.lastPlay.score != null) {
  130. // bot.sendChat("Last song: :thumbsup: " + data.lastPlay.score.positive + " :star: " + data.lastPlay.score.grabs + " :thumbsdown: " + data.lastPlay.score.negative);
  131. // bot.sendChat(":musical_note: " + data.dj.username + " started playing \"" + data.media.title + "\" by " + data.media.author + " :musical_note:");
  132. // }
  133. });
  134.  
  135. //Event which triggers when the current song receives 5 mehs, skips the song
  136. var setmehs = false;
  137. var mehs = 4;
  138. bot.on('vote', function(data) {
  139. roomScore = bot.getRoomScore();
  140. if (roomScore.negative > mehs && setmehs) {
  141. bot.sendChat("@" + dj.username + " Your tune does not fall within the established genre of Christian Anything. Please type .noplay or .yesplay for more info.");
  142. bot.moderateForceSkip(dj.id);
  143. }
  144. });
  145.  
  146. bot.on('chat', function(data) {
  147. var command=data.message.split(' ')[0];
  148. var firstIndex=data.message.indexOf(' ');
  149. var qualifier="";
  150. if (firstIndex!=-1){
  151. qualifier = data.message.substring(firstIndex+1, data.message.length);
  152. }
  153. switch (command) {
  154. case ".commands":
  155. bot.sendChat("List of Commands: .commands, .hey, .woot, .meh, .props, .calc, .join, .leave, .skip, .forecast, .version, .artist, .track, .genre, .github, .help, .about, .define, .grab, .facebook, .wiki, .darkside, .rank, .like, .theme, .translate, .google, .status, .coin, .mood, .autotranslate, .untranslate, .album, .similar, .events, .soundcloud, .lottery, .rules, .eggs, .pita, .8ball, Mega-bot, .songlink, .download, .votes, .ping, .temp, .songid, .title, .author, .song, .jonah, .philemon, .2john, .time, .1john, .3john, .jude, .obadiah, .titus, .yesplay, .noplay, .warn, .banuser, .move, .front");
  156. break;
  157. case ".hey":
  158. bot.sendChat("Well hey there! @" + data.un);
  159. break;
  160. case ".woot":
  161. for (var i = 0; i < staff.length; i++) {
  162. if (staff[i].username == data.un && staff[i].role > 1) {
  163. bot.sendChat("I can dig it!");
  164. bot.woot();
  165. }
  166. }
  167. break;
  168. case ".meh":
  169. for (var i = 0; i < staff.length; i++) {
  170. if (staff[i].username == data.un && staff[i].role > 1) {
  171. bot.sendChat("Please... make it stop :unamused:");
  172. bot.meh();
  173. }
  174. }
  175. break;
  176. case ".yesplay":
  177. bot.sendChat("Types of music we encourage in Christian Anything is music that is written by Christian bands and is about our savior, God.");
  178. break;
  179. case ".noplay":
  180. bot.sendChat("DO NOT PLAY: Any other genere of music that is not Christian music and is not written by a Christian band. Repeated failure to obey these rules may = ban.");
  181. break;
  182. case ".warn":
  183. for (var i = 0; i < staff.length; i++) {
  184. if (staff[i].username == data.un && staff[i].role > 1) {
  185. bot.sendChat("@" + dj.username + " Your tune does not fall within the established genre of Christian Anything. Please type .noplay or .yesplay for more info.");
  186. bot.moderateForceSkip(dj.id);
  187. }
  188. }
  189. break;
  190. case ".banuser":
  191. for (var i = 0; i < staff.length; i++) {
  192. if (staff[i].username == data.un && staff[i].role > 1) {
  193. for (var j = 0; j < users.length; j++) {
  194. if (users[j].username == qualifier) {
  195. bot.moderateBanUser(users[j].id);
  196. }
  197. }
  198. }
  199. }
  200. break;
  201. case ".move":
  202. for (var i = 0; i < staff.length; i++) {
  203. if (staff[i].username == data.un && staff[i].role > 1 && staff[i].role > 1) {
  204. for (var j = 0; j < users.length; j++) {
  205. if (users[j].username == qualifier.split(' ')[0]) {
  206. if (Number(qualifier.split(' ')[1]) > waitlist.length) {
  207. bot.sendChat("Sorry, there are only " + waitlist.length + " people in the waitlist, please try again.");
  208. } else {
  209. bot.moderateMoveDJ(users[j].id, Number(qualifier.split(' ')[1]));
  210. }
  211. }
  212. }
  213. }
  214. }
  215. break;
  216. case ".front":
  217. for (var i = 0; i < staff.length; i++) {
  218. if (staff[i].username == data.un && staff[i].role > 1 && staff[i].role > 1) {
  219. for (var j = 0; j < users.length; j++) {
  220. if (users[j].username == qualifier.split(' ')[0]) {
  221. bot.moderateMoveDJ(users[j].id, 1);
  222. }
  223. }
  224. }
  225. }
  226. break;
  227. case ".props":
  228. bot.sendChat("Nice play! @" + dj.username);
  229. bot.woot();
  230. break;
  231. case ".calc":
  232. var counter = 0;
  233. var counter2 = 0;
  234. for (var i = 0; i < qualifier.length; i++) {
  235. if (qualifier.charAt(i) == '(') {
  236. counter++;
  237. } else if (qualifier.charAt(i) == ')') {
  238. counter2++;
  239. }
  240. }
  241. qualifier = qualifier.replace(/x/g, '*');
  242. if (qualifier != "" && !(/\d\(/g.test(qualifier)) && !(/[\!\,\@\'\"\?\#\$\%\&\_\=\<\>\:\;\[\]\{\}\`\~\||log]/g.test(qualifier)) && !(/\^\s{0,}\d{0,}\s{0,}\^/g.test(qualifier)) && !(/\)\d/g.test(qualifier)) && !(/^[\+\*\/\^]/g.test(qualifier)) && !(/[\+\-\*\/\^]$/g.test(qualifier)) && !(/[\+\-\*\/\^]\s{0,}[\+\*\/\^]/g.test(qualifier)) && !(/\d\s{1,}\d/g.test(qualifier)) && !(/\s\.\s/g.test(qualifier)) && !(/\.\d\./g.test(qualifier)) && !(/\d\.\s{1,}\d/g.test(qualifier)) && !(/\d\s{1,}\.\d/g.test(qualifier)) && !(/\.\./g.test(qualifier)) && (!(/([a-zA-Z])/g.test(qualifier))) && counter == counter2) {
  243. var func = qualifier;
  244. func += " + (0*x) + (0*y)";
  245. var realfunc = mlexer.parseString(func);
  246. var answer = (realfunc({
  247. x: 0,
  248. y: 0
  249. }));
  250. if (answer.toString() != "NaN") {
  251. if (answer.toString() != "Infinity") {
  252. bot.sendChat(answer.toString());
  253. } else {
  254. bot.sendChat('http://i.imgur.com/KpAzEs8.jpg');
  255. }
  256. } else {
  257. bot.sendChat("/me does not compute correctly.");
  258. }
  259. } else if (qualifier === "") {
  260. bot.sendChat("Try .calc followed by something to calculate.");
  261. } else {
  262. bot.sendChat("/me does not compute correctly.");
  263. }
  264. break;
  265. case ".join":
  266. for (var i=0; i<staff.length; i++){
  267. if (staff[i].username == data.un && staff[i].role > 1){
  268. bot.djJoin();
  269. bot.sendChat("Joining waitlist!");
  270. }
  271. }
  272. break;
  273. case ".leave":
  274. for (var i=0; i<staff.length; i++){
  275. if (staff[i].username == data.un && staff[i].role > 1){
  276. bot.djLeave();
  277. bot.sendChat("Leaving waitlist.");
  278. }
  279. }
  280. break;
  281. case ".skip":
  282. for (var i=0; i<staff.length; i++){
  283. if (staff[i].username == data.un && staff[i].role > 1){
  284. bot.sendChat("Skipping!");
  285. bot.moderateForceSkip(dj.id);
  286. }
  287. }
  288. break;
  289. case ".forecast":
  290. if (qualifier === "") {
  291. bot.sendChat("Try .forecast followed by a US state, city, or zip to look up.");
  292. } else {
  293. google_geocoding.geocode(qualifier, function(err, location) {
  294. if (location !== null) {
  295. weather.getWeather(location.lat, location.lng, function(err, data) {
  296. if (data !== null) {
  297. var weekForecast = "Forecast for " + data.location.areaDescription + ": Current: " + data.currentobservation.Temp + "°F " + data.currentobservation.Weather;
  298. for (var i = 0; i < 7; i++) {
  299. var day = data.time.startPeriodName[i].split('');
  300. if (day[1] != 'Night') {
  301. weekForecast = weekForecast + "; " + data.time.startPeriodName[i] + ": ";
  302. } else {
  303. weekForecast = weekForecast + ", ";
  304. }
  305. weekForecast = weekForecast + data.time.tempLabel[i] + ": " + data.data.temperature[i] + "°F";
  306. }
  307. weekForecast = weekForecast.replace(/Sunday/g, 'Sun');
  308. weekForecast = weekForecast.replace(/Monday/g, 'Mon');
  309. weekForecast = weekForecast.replace(/Tuesday/g, 'Tues');
  310. weekForecast = weekForecast.replace(/Wednesday/g, 'Wed');
  311. weekForecast = weekForecast.replace(/Thursday/g, 'Thurs');
  312. weekForecast = weekForecast.replace(/Friday/g, 'Fri');
  313. weekForecast = weekForecast.replace(/Saturday/g, 'Sat');
  314. bot.sendChat(weekForecast);
  315. } else {
  316. bot.sendChat("No weather has been found.");
  317. }
  318. });
  319. } else {
  320. bot.sendChat("No weather has been found.");
  321. }
  322. });
  323. }
  324. break;
  325. case ".temp":
  326. if (qualifier == "") {
  327. bot.sendChat("Try .temp followed by a US state, city, or zip to look up.");
  328. } else {
  329. google_geocoding.geocode(qualifier, function(err, location) {
  330. if (location != null) {
  331. weather.getWeather(location.lat, location.lng, function(err, data) {
  332. if (data != null) {
  333. var temp = "Current temperature in " + data.location.areaDescription + ": " + data.currentobservation.Temp + "°F " + data.currentobservation.Weather;
  334. bot.sendChat(temp);
  335. } else {
  336. bot.sendChat("No temperature has been found.");
  337. }
  338. });
  339. } else {
  340. bot.sendChat("No temperature has been found.");
  341. }
  342. });
  343. }
  344. break;
  345. case ".version":
  346. bot.sendChat(version);
  347. break;
  348. case ".artist":
  349. var artistChoice = "";
  350. if (qualifier == "") {
  351. artistChoice = bot.getMedia().author;
  352. } else {
  353. artistChoice = qualifier;
  354. }
  355. lastfm.getArtistInfo({
  356. artist: artistChoice,
  357. callback: function(result) {
  358. if (result.success == true) {
  359. if (result.artistInfo.bio.summary != "") {
  360. var summary = result.artistInfo.bio.summary;
  361. summary = summary.replace(/(&quot;)/g, '"');
  362. summary = summary.replace(/(&amp;)/g, '&');
  363. summary = summary.replace(/(&eacute;)/g, 'é');
  364. summary = summary.replace(/(&aacute;)/g, 'á');
  365. summary = summary.replace(/(&auml;)/g, 'ä');
  366. summary = summary.replace(/(&iacute;)/g, 'í');
  367. summary = summary.replace(/(&oacute;)/g, 'ó');
  368. summary = summary.replace(/(&Scaron;)/g, 'Š');
  369. summary = summary.replace(/<[^>]+>/g, '');
  370. if (summary.indexOf(" 1) ") != -1) {
  371. summary = summary.substring(summary.lastIndexOf(" 1) ") + 4);
  372. if (summary.indexOf(" 2) ") != -1) {
  373. summary = summary.substring(0, summary.lastIndexOf(" 2)"));
  374. }
  375. } else if (summary.indexOf(" 1. ") != -1) {
  376. summary = summary.substring(summary.lastIndexOf(" 1. ") + 4);
  377. if (summary.indexOf(" 2. ") != -1) {
  378. summary = summary.substring(0, summary.lastIndexOf(" 2."));
  379. }
  380. } else if (summary.indexOf(" (1) ") != -1) {
  381. summary = summary.substring(summary.lastIndexOf(" (1) ") + 4);
  382. if (summary.indexOf(" (2) ") != -1) {
  383. summary = summary.substring(0, summary.lastIndexOf(" (2)"));
  384. }
  385. }
  386. if (summary.length > 250) {
  387. summary = summary.substring(0, 247) + "...";
  388. }
  389. bot.sendChat(summary);
  390. var lastfmArtist = artistChoice;
  391. lastfmArtist = lastfmArtist.replace(/ /g, '+');
  392. bot.sendChat("For more info: http://www.last.fm/music/" + lastfmArtist);
  393. } else {
  394. bot.sendChat("No artist info has been found.");
  395. }
  396. } else {
  397. bot.sendChat("No artist info has been found.");
  398. }
  399. }
  400. });
  401. break;
  402. case ".track":
  403. lastfm.getTrackInfo({
  404. artist: bot.getMedia().author,
  405. track: bot.getMedia().title,
  406. callback: function(result) {
  407. if (result.success == true) {
  408. if (result.trackInfo.wiki != undefined) {
  409. var summary = result.trackInfo.wiki.summary;
  410. summary = summary.replace(/(&quot;)/g, '"');
  411. summary = summary.replace(/(&amp;)/g, '&');
  412. summary = summary.replace(/(&eacute;)/g, 'é');
  413. summary = summary.replace(/(&aacute;)/g, 'á');
  414. summary = summary.replace(/(&auml;)/g, 'ä');
  415. summary = summary.replace(/(&iacute;)/g, 'í');
  416. summary = summary.replace(/(&oacute;)/g, 'ó');
  417. summary = summary.replace(/(&Scaron;)/g, 'Š');
  418. summary = summary.replace(/<[^>]+>/g, '');
  419. if (summary.length > 250) {
  420. summary = summary.substring(0, 247) + "...";
  421. }
  422. bot.sendChat(summary);
  423. } else {
  424. bot.sendChat("No track info has been found.");
  425. }
  426. } else {
  427. bot.sendChat("No track info has been found.");
  428. }
  429. }
  430. });
  431. break;
  432. case ".genre":
  433. var artistChoice = "";
  434. if (qualifier == "") {
  435. artistChoice = bot.getMedia().author;
  436. trackChoice = bot.getMedia().title;
  437. } else {
  438. artistChoice = qualifier;
  439. trackChoice = null;
  440. }
  441. lastfm.getTags({
  442. artist: artistChoice,
  443. track: trackChoice,
  444. callback: function(result) {
  445. var tags = "";
  446. if (result.tags != undefined) {
  447. for (var i = 0; i < result.tags.length; i++) {
  448. tags += result.tags[i].name;
  449. tags += ", ";
  450. }
  451. tags = tags.substring(0, tags.length - 2);
  452. }
  453. if (qualifier == "") {
  454. if (tags != "") {
  455. bot.sendChat("Genre of " + trackChoice + " by " + artistChoice + ": " + tags);
  456. } else {
  457. bot.sendChat("No genre has been found.");
  458. }
  459. } else {
  460. if (tags != "") {
  461. bot.sendChat("Genre of " + artistChoice + ": " + tags);
  462. } else {
  463. bot.sendChat("No genre has been found.");
  464. }
  465. }
  466. }
  467. });
  468. break;
  469. case ".album":
  470. lfm.track.getInfo({
  471. 'artist': bot.getMedia().author,
  472. 'track': bot.getMedia().title
  473. }, function(err, track) {
  474. if (track != undefined) {
  475. lfm.album.getInfo({
  476. 'artist': bot.getMedia().author,
  477. 'album': track.album.title
  478. }, function(err, album) {
  479. var albumMessage = track.name + " is from the album " + track.album.title;
  480. if (album.wiki != undefined) {
  481. if (album.wiki.summary.indexOf('released on') != -1) {
  482. var year = album.wiki.summary.substring(album.wiki.summary.indexOf('released on')).split(' ')[4].substring(0, 4);
  483. albumMessage = albumMessage + " (" + year + ")";
  484. }
  485. }
  486. bot.sendChat(albumMessage);
  487. bot.sendChat("Check out the full album: " + track.album.url);
  488. });
  489. } else {
  490. bot.sendChat("No album has been found.");
  491. }
  492. });
  493. break;
  494. case ".similar":
  495. var artistChoice = "";
  496. if (qualifier == "") {
  497. artistChoice = bot.getMedia().author;
  498. } else {
  499. artistChoice = qualifier;
  500. }
  501. lfm.artist.getSimilar({
  502. 'limit': 7,
  503. 'artist': artistChoice,
  504. 'autocorrect': 1
  505. }, function(err, similarArtists) {
  506. if (similarArtists != undefined) {
  507. var artists = '';
  508. for (var i = 0; i < similarArtists.artist.length; i++) {
  509. artists = artists + similarArtists.artist[i].name + ", ";
  510. }
  511. artists = artists.substring(0, artists.length - 2);
  512. bot.sendChat("Similar artists to " + artistChoice + ": " + artists);
  513. } else {
  514. bot.sendChat("No similar artists found.");
  515. }
  516. });
  517. break;
  518. case ".events":
  519. var artistChoice = "";
  520. if (qualifier == "") {
  521. artistChoice = bot.getMedia().author;
  522. } else {
  523. artistChoice = qualifier;
  524. }
  525. lfm.artist.getEvents({
  526. 'limit': 3,
  527. 'artist': artistChoice
  528. }, function(err, events) {
  529. if (events != undefined) {
  530. var upcomingEvents = '';
  531. if (!(events.event instanceof Array)) {
  532. events.event = [events.event];
  533. }
  534. for (var i = 0; i < events.event.length; i++) {
  535. var day = '';
  536. if (events.event[i].startDate.split(/\s+/).slice(1, 2).join(" ").slice(0, 1) == '0') {
  537. day = events.event[i].startDate.split(/\s+/).slice(1, 2).join(" ").slice(1, 2);
  538. } else {
  539. day = events.event[i].startDate.split(/\s+/).slice(1, 2).join(" ");
  540. }
  541. upcomingEvents = upcomingEvents + events.event[i].startDate.split(/\s+/).slice(2, 3).join(" ") + "/" + day + "/" + events.event[i].startDate.split(/\s+/).slice(3, 4).join(" ").slice(-2) + " at " + events.event[i].venue.name + " in " + events.event[i].venue.location.city + ", " + events.event[i].venue.location.country + "; ";
  542. }
  543. upcomingEvents = upcomingEvents.substring(0, upcomingEvents.length - 2);
  544. upcomingEvents = upcomingEvents.replace(/Jan/g, '1');
  545. upcomingEvents = upcomingEvents.replace(/Feb/g, '2');
  546. upcomingEvents = upcomingEvents.replace(/Mar/g, '3');
  547. upcomingEvents = upcomingEvents.replace(/Apr/g, '4');
  548. upcomingEvents = upcomingEvents.replace(/May/g, '5');
  549. upcomingEvents = upcomingEvents.replace(/Jun/g, '6');
  550. upcomingEvents = upcomingEvents.replace(/Jul/g, '7');
  551. upcomingEvents = upcomingEvents.replace(/Aug/g, '8');
  552. upcomingEvents = upcomingEvents.replace(/Sep/g, '9');
  553. upcomingEvents = upcomingEvents.replace(/Oct/g, '10');
  554. upcomingEvents = upcomingEvents.replace(/Nov/g, '11');
  555. upcomingEvents = upcomingEvents.replace(/Dec/g, '12');
  556. bot.sendChat("Upcoming events for " + artistChoice + ": " + upcomingEvents);
  557. } else {
  558. bot.sendChat("No upcoming events have been found.");
  559. }
  560. });
  561. break;
  562. case ".github":
  563. bot.sendChat("https://github.com/Spiderlover/Mega-Bot");
  564. break;
  565. case ".help":
  566. bot.sendChat("You can populate your playlists by finding songs with YouTube and Soundcloud.");
  567. break;
  568. case ".about":
  569. bot.sendChat("Hey, I'm Mega-Bot, your personal room-control bot. My master, God's Vegetables, created me. For a list of commands, type .commands");
  570. break;
  571. case ".define":
  572. var dict = new api.DictionaryAPI(api.COLLEGIATE, 'cf2109fd-f2d0-4451-a081-17b11c48069b');
  573. var linkQualifier = qualifier;
  574. linkQualifier = linkQualifier.replace(/ /g, '%20');
  575. dict.query(linkQualifier.toLowerCase(), function(err, result) {
  576. result = result.replace(/<vi>(.*?)<\/vi>|<dx>(.*?)<\/dx>|<dro>(.*?)<\/dro>|<uro>(.*?)<\/uro>|<svr>(.*?)<\/svr>|<sin>(.*?)<\/sin>|<set>(.*?)<\/set>|<pl>(.*?)<\/pl>|<pt>(.*?)<\/pt>|<ss>(.*?)<\/ss>|<ca>(.*?)<\/ca>|<art>(.*?)<\/art>|<ew>(.*?)<\/ew>|<hw>(.*?)<\/hw>|<sound>(.*?)<\/sound>|<pr>(.*?)<\/pr>|<fl>(.*?)<\/fl>|<date>(.*?)<\/date>|<sxn>(.*?)<\/sxn>|<ssl>(.*?)<\/ssl>/g, '');
  577. result = result.replace(/<vt>(.*?)<\/vt>/g, '');
  578. result = result.replace(/<\/sx> <sx>|<sd>/g, ',');
  579. result = result.replace(/\s{1,}<sn>/g, ';');
  580. result = result.replace(/\s{1,}<un>/g, ':');
  581. result = result.replace(/<(?!\/entry\s*\/?)[^>]+>/g, '');
  582. result = result.replace(/\s{1,}:/g, ':');
  583. if (result.indexOf(":") != -1 && (result.indexOf(":") < result.indexOf("1:") || result.indexOf("1:") == -1) && (result.indexOf(":") < result.indexOf("1 a") || result.indexOf("1 a") == -1)) {
  584. result = result.substring(result.indexOf(":") + 1);
  585. } else if (result.indexOf("1:") != -1 || result.indexOf("1 a") != -1) {
  586. if ((result.indexOf("1:") < result.indexOf("1 a") && result.indexOf("1:") != -1) || result.indexOf("1 a") == -1) {
  587. result = result.substring(result.indexOf("1:"));
  588. } else {
  589. result = result.substring(result.indexOf("1 a"));
  590. }
  591. }
  592. result = result.substring(0, result.indexOf("</entry>"));
  593. result = result.replace(/\s{1,};/g, ';');
  594. result = result.replace(/\s{1,},/g, ',');
  595. if (result !== '') {
  596. if (result.length > 250) {
  597. result = result.substring(0, 247) + "...";
  598. }
  599. bot.sendChat(result);
  600. bot.sendChat("For more info: http://www.merriam-webster.com/dictionary/" + linkQualifier);
  601. } else {
  602. bot.sendChat("No definition has been found.");
  603. }
  604. });
  605. break;
  606. case ".soundcloud":
  607. artistChoice = "";
  608. if (qualifier === "") {
  609. artistChoice = bot.getMedia().author;
  610. } else {
  611. artistChoice = qualifier;
  612. }
  613. var link = 'http://api.soundcloud.com/users.json?q=' + artistChoice + '&consumer_key=apigee';
  614. request(link, function(error, response, body) {
  615. if (!error && response.statusCode == 200) {
  616. var info = JSON.parse(body);
  617. if (info[0] !== undefined) {
  618. bot.sendChat(info[0].username + ": " + info[0].permalink_url);
  619. } else {
  620. bot.sendChat("No soundcloud has been found.");
  621. }
  622. }
  623. });
  624. break;
  625. // case ".grab": //Makes the bot grab the current song
  626. // for (var i=0; i<staff.length; i++){
  627. // if (staff[i].username == data.un && staff[i].role > 1){
  628. // bot.getPlaylists(function(playlists) {
  629. // console.log(playlists);
  630. // for (var i=0; i<playlists.length; i++){
  631. // if (playlists[i].active){
  632. // if (playlists[i].count!=200){
  633. // var selectedID=playlists[i].id;
  634. // bot.sendChat("Added to my "+playlists[i].name+" playlist.");
  635. // }
  636. // else{
  637. // bot.createPlaylist("Library "+playlists.length+1);
  638. // bot.activatePlaylist(playlists[playlists.length-1].id);
  639. // var selectedID=playlists[playlists.length-1].id;
  640. // bot.sendChat("Added to "+playlists[playlists.length-1].name+" playlist.");
  641. // }
  642. // }
  643. // }
  644. // bot.addSongToPlaylist(selectedID, media.id);
  645. // });
  646. // }
  647. // }
  648. // break;
  649. case ".facebook":
  650. bot.sendChat("https://www.facebook.com/groups/285521331540409/");
  651. break;
  652. case ".wiki":
  653. if (qualifier !== "") {
  654. Wiki.page(qualifier, false, function(err, page) {
  655. page.summary(function(err, summary) {
  656. if (summary !== undefined) {
  657. Wiki.page(qualifier, false, function(err, page) {
  658. page.html(function(err, html) {
  659. if (html.indexOf('<ul>') != -1) {
  660. html = html.substring(0, html.indexOf('<ul>'));
  661. }
  662. html = html.replace(/<[^>]+>/g, '');
  663. Wiki.page(qualifier, false, function(err, page) {
  664. page.summary(function(err, summary) {
  665. if (summary !== undefined) {
  666. if (summary === "" || summary.indexOf("This is a redirect") != -1) {
  667. summary = "redirect " + html;
  668. }
  669. if (summary.indexOf('may refer to:') != -1 || summary.indexOf('may also refer to:') != -1 || summary.indexOf('may refer to the following:') != -1 || summary.indexOf('may stand for:') != -1) {
  670. bot.sendChat("This may refer to several things - please be more specific.");
  671. var queryChoice = qualifier;
  672. queryChoice = queryChoice.replace(/ /g, '_');
  673. bot.sendChat("For more info: http://en.wikipedia.org/wiki/" + queryChoice);
  674. } else if (summary.substring(0, 8).toLowerCase() == "redirect") {
  675. var subQuery = '';
  676. if (summary.indexOf('#') == -1) {
  677. if (summary.substring(8, 9) == ' ') {
  678. var query = summary.substring(9);
  679. } else {
  680. query = summary.substring(8);
  681. }
  682. } else {
  683. query = summary.substring(9, summary.indexOf('#'));
  684. subQuery = summary.substring(summary.indexOf('#') + 1);
  685. }
  686. Wiki.page(query, false, function(err, page2) {
  687. page2.content(function(err, content) {
  688. if (content !== undefined) {
  689. if (content.indexOf('may refer to:') != -1 || content.indexOf('may also refer to:') != -1 || content.indexOf('may refer to the following:') != -1 || content.indexOf('may stand for:') != -1) {
  690. bot.sendChat("This may refer to several things - please be more specific.");
  691. } else if (subQuery !== '') {
  692. content = content.substring(content.indexOf("=== " + subQuery + " ===") + 8 + subQuery.length);
  693. if (content.length > 250) {
  694. content = content.substring(0, 247) + "...";
  695. }
  696. bot.sendChat(content);
  697. } else {
  698. if (content.length > 250) {
  699. content = content.substring(0, 247) + "...";
  700. }
  701. bot.sendChat(content);
  702. }
  703. var queryChoice = qualifier;
  704. queryChoice = queryChoice.replace(/ /g, '_');
  705. bot.sendChat("For more info: http://en.wikipedia.org/wiki/" + queryChoice);
  706. } else {
  707. bot.sendChat("No wiki has been found.");
  708. }
  709. });
  710. });
  711. } else {
  712. if (summary.length > 250) {
  713. summary = summary.substring(0, 247) + "...";
  714. }
  715. bot.sendChat(summary);
  716. queryChoice = qualifier;
  717. queryChoice = queryChoice.replace(/ /g, '_');
  718. bot.sendChat("For more info: http://en.wikipedia.org/wiki/" + queryChoice);
  719. }
  720. } else {
  721. bot.sendChat("No wiki has been found.");
  722. }
  723. });
  724. });
  725. });
  726. });
  727. } else {
  728. bot.sendChat("No wiki has been found.");
  729. }
  730. });
  731. });
  732. } else {
  733. bot.sendChat("Try .wiki followed by something to look up.");
  734. }
  735. break;
  736. case ".darkside":
  737. bot.sendChat("Feel the power of the dark side.");
  738. break;
  739. case ".rank":
  740. bot.sendChat("Be kind to the community, love God, and post family-friendly stuff in the chatbox.");
  741. break;
  742. case ".like":
  743. bot.sendChat("Refer your friends and family, add a bookmark/favorite to us in your browser, refer your church group, and come back often. :)");
  744. break;
  745. case ".theme":
  746. bot.sendChat(theme);
  747. break;
  748. case ".translate":
  749. var languageCodes = ["ar", "bg", "ca", "zh-CHS", "zh-CHT", "cs", "da", "nl", "en", "et", "fa", "fi", "fr", "de", "el", "ht", "he", "hi", "hu", "id", "it", "ja", "ko", "lv", "lt", "ms", "mww", "no", "pl", "pt", "ro", "ru", "sk", "sl", "es", "sv", "th", "tr", "uk", "ur", "vi"];
  750. var languages = ['Arabic', 'Bulgarian', 'Catalan', 'Chinese', 'Chinese', 'Czech', 'Danish', 'Dutch', 'English', 'Estonian', 'Persian (Farsi)', 'Finnish', 'French', 'German', 'Greek', 'Haitian Creole', 'Hebrew', 'Hindi', 'Hungarian', 'Indonesian', 'Italian', 'Japanese', 'Korean', 'Latvian', 'Lithuanian', 'Malay', 'Hmong Daw', 'Norwegian', 'Polish', 'Portuguese', 'Romanian', 'Russian', 'Slovak', 'Slovenian', 'Spanish', 'Swedish', 'Thai', 'Turkish', 'Ukrainian', 'Urdu', 'Vietnamese'];
  751. if (qualifier !== "") {
  752. var params = {
  753. text: qualifier
  754. };
  755. language = "";
  756. client.initialize_token(function(keys) {
  757. client.detect(params, function(err, data) {
  758. var language = data;
  759. if (languageCodes.indexOf(language) > -1) {
  760. if (qualifier.indexOf('(') == -1) {
  761. var params2 = {
  762. text: qualifier,
  763. from: language,
  764. to: 'en'
  765. };
  766. client.initialize_token(function(keys) {
  767. client.translate(params2, function(err, data) {
  768. bot.sendChat(data + " (" + languages[languageCodes.indexOf(language)] + ")");
  769. });
  770. });
  771. } else {
  772. var givenLanguage = '';
  773. var language2 = qualifier.substring(qualifier.indexOf('(') + 1, qualifier.lastIndexOf(')')).toLowerCase();
  774. if (languageCodes.indexOf(language2) > -1) {
  775. givenLanguage = language2;
  776. } else {
  777. language2 = language2.charAt(0).toUpperCase() + language2.slice(1);
  778. givenLanguage = languageCodes[languages.indexOf(language2)];
  779. }
  780. if (languages.indexOf(language2) > -1 || languageCodes.indexOf(language2) > -1) {
  781. params2 = {
  782. text: qualifier,
  783. from: language,
  784. to: givenLanguage
  785. };
  786. client.initialize_token(function(keys) {
  787. client.translate(params2, function(err, data) {
  788. data = data.substring(0, data.indexOf('('));
  789. bot.sendChat(data);
  790. });
  791. });
  792. } else {
  793. bot.sendChat("Sorry, I don't speak that language.");
  794. }
  795. }
  796. } else {
  797. bot.sendChat("Sorry, I don't speak that language.");
  798. }
  799. });
  800. });
  801. } else {
  802. bot.sendChat("Try .translate followed by something to translate.");
  803. }
  804. break;
  805. case ".google":
  806. if (qualifier !== "") {
  807. var google = qualifier;
  808. google = google.replace(/ /g, '+');
  809. bot.sendChat("http://lmgtfy.com/?q=" + google);
  810. } else {
  811. bot.sendChat("Try .google followed by something to look up.");
  812. }
  813. break;
  814. case ".status":
  815. var response = "";
  816. var currentTime = new Date().getTime();
  817. var minutes = Math.floor((currentTime - joined) / 60000);
  818. var hours = 0;
  819. while (minutes > 60) {
  820. minutes = minutes - 60;
  821. hours++;
  822. }
  823. hours === 0 ? response = "Running for " + minutes + "minutes" : response = "Running for " + hours + "hours " + minutes + "minutes";
  824. bot.sendChat(response);
  825. break;
  826. case ".coin":
  827. var crowd = bot.getUsers();
  828. var randomPerson = Math.floor(Math.random() * crowd.length);
  829. var randomSentence = Math.floor(Math.random() * 3);
  830. switch (randomSentence) {
  831. case 0:
  832. bot.sendChat("@" + crowd[randomPerson].username + "The coin was flipped, and you got heads");
  833. break;
  834. case 1:
  835. bot.sendChat("@" + crowd[randomPerson].username + "The coin was flipped, and you got tails");
  836. break;
  837. case 2:
  838. bot.sendChat("@" + crowd[randomPerson].username + "The coins were flipped, and you got tails and heads");
  839. break;
  840. case 3:
  841. bot.sendChat("@" + crowd[randomPerson].username + "The coins were flipped, and you got tails and tails");
  842. break;
  843. }
  844. break;
  845. case '.autotranslate':
  846. if (qualifier !== "") {
  847. translateList.push(qualifier);
  848. bot.sendChat("Autotranslating user " + qualifier + ".");
  849. } else {
  850. bot.sendChat("Try .autotranslate followed by a username.");
  851. }
  852. break;
  853. case '.untranslate':
  854. if (qualifier !== "") {
  855. if (translateList.indexOf(qualifier) != -1) {
  856. translateList.splice(translateList.indexOf(qualifier), 1);
  857. }
  858. bot.sendChat("Stopped autotranslating user " + qualifier + ".");
  859. } else {
  860. bot.sendChat("Try .untranslate followed by a username.");
  861. }
  862. break;
  863. case ".mood":
  864. crowd = bot.getUsers();
  865. randomPerson = Math.floor(Math.random() * crowd.length);
  866. var randomMood = Math.floor(Math.random() * 60);
  867. switch (randomMood) {
  868. case 0:
  869. bot.sendChat('The current mood, that I am in, is grumpy.');
  870. break;
  871. case 1:
  872. bot.sendChat('I need some Christian Rock music.');
  873. break;
  874. case 2:
  875. bot.sendChat('I feel like, I need Worship music.');
  876. break;
  877. case 3:
  878. bot.sendChat('I feel like, I need Rap music.');
  879. break;
  880. case 4:
  881. bot.sendChat('I feel sad and depressed.');
  882. break;
  883. case 5:
  884. bot.sendChat('I feel happy and excited.');
  885. break;
  886. case 6:
  887. bot.sendChat('I feel mad.');
  888. break;
  889. case 7:
  890. bot.sendChat('I feel humiliated.');
  891. break;
  892. case 8:
  893. bot.sendChat('I need Metal music.');
  894. break;
  895. case 9:
  896. bot.sendChat('I feel angry.');
  897. break;
  898. case 10:
  899. bot.sendChat('I need Polish music.');
  900. break;
  901. case 11:
  902. bot.sendChat('I feel tired.');
  903. break;
  904. case 12:
  905. bot.sendChat('I feel energetic.');
  906. break;
  907. case 13:
  908. bot.sendChat('I feel like a superhero.');
  909. break;
  910. case 14:
  911. bot.sendChat('I feel evil.');
  912. break;
  913. case 15:
  914. bot.sendChat('I feel like a super villian.');
  915. break;
  916. case 16:
  917. bot.sendChat('I feel bored.');
  918. break;
  919. case 17:
  920. bot.sendChat('I feel like a fuzzy cat.');
  921. break;
  922. case 18:
  923. bot.sendChat('I feel like a fluffy blanket.');
  924. break;
  925. case 19:
  926. bot.sendChat('I feel like I need a short nap.');
  927. break;
  928. case 20:
  929. bot.sendChat('I feel like I need a long nap.');
  930. break;
  931. case 21:
  932. bot.sendChat('I feel like a huge fluff ball.');
  933. break;
  934. case 22:
  935. bot.sendChat('I feel like a happy fluff ball.');
  936. break;
  937. case 23:
  938. bot.sendChat('I feel like a sad fluff ball.');
  939. break;
  940. case 24:
  941. bot.sendChat('I feel like a grumpy fluff ball.');
  942. break;
  943. case 25:
  944. bot.sendChat('I feel like a angry fluff ball.');
  945. break;
  946. case 26:
  947. bot.sendChat('I feel like a shy fluff ball.');
  948. break;
  949. case 27:
  950. bot.sendChat('I feel like a tired fluff ball.');
  951. break;
  952. case 28:
  953. bot.sendChat('I feel like a silly fluff ball.');
  954. break;
  955. case 29:
  956. bot.sendChat('I feel like a music-filled robot.');
  957. break;
  958. case 30:
  959. bot.sendChat('I feel like a happy robot.');
  960. break;
  961. case 31:
  962. bot.sendChat('I feel like a sad robot.');
  963. break;
  964. case 32:
  965. bot.sendChat('I feel like a anger-filled robot.');
  966. break;
  967. case 33:
  968. bot.sendChat('I feel like a mad robot.');
  969. break;
  970. case 34:
  971. bot.sendChat('I feel like a grumpy robot.');
  972. break;
  973. case 35:
  974. bot.sendChat('I feel like a fluffy robot.');
  975. break;
  976. case 36:
  977. bot.sendChat('I feel like a happy tiger.');
  978. break;
  979. case 37:
  980. bot.sendChat('I feel like a sad tiger.');
  981. break;
  982. case 38:
  983. bot.sendChat('I feel like a angry tiger.');
  984. break;
  985. case 39:
  986. bot.sendChat('I feel like a mad tiger.');
  987. break;
  988. case 40:
  989. bot.sendChat('I feel like a tired tiger.');
  990. break;
  991. case 41:
  992. bot.sendChat('I feel slugish.');
  993. break;
  994. case 42:
  995. bot.sendChat('I feel buggish.');
  996. break;
  997. case 43:
  998. bot.sendChat('I feel glitchy.');
  999. break;
  1000. case 44:
  1001. bot.sendChat('I feel old.');
  1002. break;
  1003. case 45:
  1004. bot.sendChat('I feel weak and helpless.');
  1005. break;
  1006. case 46:
  1007. bot.sendChat('I feel brave.');
  1008. break;
  1009. case 47:
  1010. bot.sendChat('I feel courageous.');
  1011. break;
  1012. case 48:
  1013. bot.sendChat('I feel strong.');
  1014. break;
  1015. case 49:
  1016. bot.sendChat('I feel like smashing a bad guy into the ground.');
  1017. break;
  1018. case 50:
  1019. bot.sendChat('I feel like saving the world.');
  1020. break;
  1021. case 51:
  1022. bot.sendChat('I feel like nothing.');
  1023. break;
  1024. case 52:
  1025. bot.sendChat('I feel like a worthless space.');
  1026. break;
  1027. case 53:
  1028. bot.sendChat('I feel like saving a bunch of Pikmin.');
  1029. break;
  1030. case 54:
  1031. bot.sendChat('I feel like a fool.');
  1032. break;
  1033. case 55:
  1034. bot.sendChat('I feel like a raging monster.');
  1035. break;
  1036. case 56:
  1037. bot.sendChat('I feel like a virus.');
  1038. break;
  1039. case 57:
  1040. bot.sendChat('I feel like a butterfly.');
  1041. break;
  1042. case 58:
  1043. bot.sendChat('I feel like a dragonfly.');
  1044. break;
  1045. case 59:
  1046. bot.sendChat('I feel like a shark.');
  1047. break;
  1048. case 60:
  1049. bot.sendChat('I feel like a goldfish.');
  1050. break;
  1051. }
  1052. break;
  1053. case ".lottery":
  1054. crowd = bot.getUsers();
  1055. randomPerson = Math.floor(Math.random() * crowd.length);
  1056. var lotteryPrizes = Math.floor(Math.random() * 30);
  1057. switch (lotteryPrizes) {
  1058. case 0:
  1059. bot.sendChat('Congratulations! You have won a free song to play on the DJ Stage!');
  1060. break;
  1061. case 1:
  1062. bot.sendChat('Congratulations! You have won a free bird!');
  1063. break;
  1064. case 2:
  1065. bot.sendChat('Congratulations! You have won a free battery!');
  1066. break;
  1067. case 3:
  1068. bot.sendChat('Congratulations! You have won a free hug!');
  1069. break;
  1070. case 4:
  1071. bot.sendChat('Congratulations! You have won a free hand-shake!');
  1072. break;
  1073. case 5:
  1074. bot.sendChat('Congratulations! You have won a free bag of air!');
  1075. break;
  1076. case 6:
  1077. bot.sendChat('Congratulations! You have won a free spider!');
  1078. break;
  1079. case 7:
  1080. bot.sendChat('Congratulations! You have won a free bag of oxygen!');
  1081. break;
  1082. case 8:
  1083. bot.sendChat('Congratulations! You have won a free hotdog!');
  1084. break;
  1085. case 9:
  1086. bot.sendChat('Congratulations! You have won a free octopus!');
  1087. break;
  1088. case 10:
  1089. bot.sendChat('Congratulations! You have won a free cat!');
  1090. break;
  1091. case 11:
  1092. bot.sendChat('Congratulations! You have won a free moth!');
  1093. break;
  1094. case 12:
  1095. bot.sendChat('Congratulations! You have won a free bag of cat treats!');
  1096. break;
  1097. case 13:
  1098. bot.sendChat('Congratulations! You have won a free hedgehog!');
  1099. break;
  1100. case 14:
  1101. bot.sendChat('Congratulations! You have won a free bat!');
  1102. break;
  1103. case 15:
  1104. bot.sendChat('Congratulations! You have won a free piece of fluff!');
  1105. break;
  1106. case 16:
  1107. bot.sendChat('Congratulations! You have won a free bug!');
  1108. break;
  1109. case 17:
  1110. bot.sendChat('Congratulations! You have won a free bag of potato chips!');
  1111. break;
  1112. case 18:
  1113. bot.sendChat('Congratulations! You have won a free fox!');
  1114. break;
  1115. case 19:
  1116. bot.sendChat('Congratulations! You have won a free taco!');
  1117. break;
  1118. case 20:
  1119. bot.sendChat('Congratulations! You have won a free piece of cheese!');
  1120. break;
  1121. case 21:
  1122. bot.sendChat('Congratulations! You have won a free drink!');
  1123. break;
  1124. case 22:
  1125. bot.sendChat('Congratulations! You have won a free bag of bacon!');
  1126. break;
  1127. case 23:
  1128. bot.sendChat('Congratulations! You have won a free box!');
  1129. break;
  1130. case 24:
  1131. bot.sendChat('Congratulations! You have won a free piece of paper!');
  1132. break;
  1133. case 25:
  1134. bot.sendChat('Congratulations! You have won a free piece of turkey!');
  1135. break;
  1136. case 26:
  1137. bot.sendChat('Congratulations! You have won a free piece of cloth!');
  1138. break;
  1139. case 27:
  1140. bot.sendChat('Congratulations! You have won a free bag of cans!');
  1141. break;
  1142. case 28:
  1143. bot.sendChat('Congratulations! You have won a free fluffy cat!');
  1144. break;
  1145. case 29:
  1146. bot.sendChat('Congratulations! You have won a free piece of tape!');
  1147. break;
  1148. case 30:
  1149. bot.sendChat('Congratulations! You have won a free piece of cardboard!');
  1150. break;
  1151. }
  1152. break;
  1153. case ".rules":
  1154. crowd = bot.getUsers();
  1155. randomPerson = Math.floor(Math.random() * crowd.length);
  1156. var rules = Math.floor(Math.random() * 20);
  1157. switch (rules) {
  1158. case 0:
  1159. bot.sendChat('No trolling people in the chatbox!');
  1160. break;
  1161. case 1:
  1162. bot.sendChat('No inappropriate language!');
  1163. break;
  1164. case 2:
  1165. bot.sendChat('Christian music, written by Christian Bands, are only allowed in this room!');
  1166. break;
  1167. case 3:
  1168. bot.sendChat('Please keep the chat, Family Friendly!');
  1169. break;
  1170. case 4:
  1171. bot.sendChat('Chat must be rated G and PG!');
  1172. break;
  1173. case 5:
  1174. bot.sendChat('Please capitalize God with a Capital G!');
  1175. break;
  1176. case 6:
  1177. bot.sendChat('Read your Bible');
  1178. break;
  1179. case 7:
  1180. bot.sendChat('Worship God!');
  1181. break;
  1182. case 8:
  1183. bot.sendChat('Love God!');
  1184. break;
  1185. case 9:
  1186. bot.sendChat('If you want to play Non-Christian Bands, such as Lady Gaga and One Direction, go to a different room');
  1187. break;
  1188. case 10:
  1189. bot.sendChat('Christian Music can be in any language!');
  1190. break;
  1191. case 11:
  1192. bot.sendChat('The room is strictly for music played by Christian artists.');
  1193. break;
  1194. case 12:
  1195. bot.sendChat('There is no tolerance for disrespect, rudeness, cursing, trolling, spamming, or inappropriate conversations. You will be booted from the room if you violate this basic principle.');
  1196. break;
  1197. case 13:
  1198. bot.sendChat('Users with an inappropriate screen name will be asked to change it or leave.');
  1199. break;
  1200. case 14:
  1201. bot.sendChat('Do not ask to be a moderator.');
  1202. break;
  1203. case 15:
  1204. bot.sendChat('Do not use scripts or extensions that automatically "awesome" or "lame" songs.');
  1205. break;
  1206. case 16:
  1207. bot.sendChat('We encourage you to ensure that your songs are tagged with the correct artist, song title, and album name.');
  1208. break;
  1209. case 17:
  1210. bot.sendChat('Untagged songs may be blocked automatically.');
  1211. break;
  1212. case 18:
  1213. bot.sendChat('You will be booted if you deliberately tag a song with false information in order to avoid being blocked.');
  1214. break;
  1215. case 19:
  1216. bot.sendChat('You may choose to vote with the “awesome” and “lame” buttons, or not vote, as you wish.');
  1217. break;
  1218. case 20:
  1219. bot.sendChat('These are rules for only this room. If you do not agree with them, you are as free to leave as you were to come in. If you choose to stay — thank you for respecting the rules, and others in the room. Enjoy the fellowship, and the music!');
  1220. break;
  1221. }
  1222. break;
  1223. case ".eggs":
  1224. bot.sendChat("Wake Up for the yummy eggs and bacon.");
  1225. break;
  1226. case ".pita":
  1227. bot.sendChat("http://chillouttent.org/p-i-t-a/");
  1228. break;
  1229. case ".8ball":
  1230. crowd = bot.getUsers();
  1231. randomPerson = Math.floor(Math.random() * crowd.length);
  1232. var eightball = Math.floor(Math.random() * 20);
  1233. switch (eightball) {
  1234. case 0:
  1235. bot.sendChat('It is certain!');
  1236. break;
  1237. case 1:
  1238. bot.sendChat('It is decidedly so!');
  1239. break;
  1240. case 2:
  1241. bot.sendChat('Without a doubt!');
  1242. break;
  1243. case 3:
  1244. bot.sendChat('Yes – definitely!');
  1245. break;
  1246. case 4:
  1247. bot.sendChat('You may rely on it!');
  1248. break;
  1249. case 5:
  1250. bot.sendChat('As I see it, yes!');
  1251. break;
  1252. case 6:
  1253. bot.sendChat('Most likely!');
  1254. break;
  1255. case 7:
  1256. bot.sendChat('Outlook good!');
  1257. break;
  1258. case 8:
  1259. bot.sendChat('Yes!');
  1260. break;
  1261. case 9:
  1262. bot.sendChat('Signs point to yes!');
  1263. break;
  1264. case 10:
  1265. bot.sendChat('Reply hazy, try again!');
  1266. break;
  1267. case 11:
  1268. bot.sendChat('Ask again later!');
  1269. break;
  1270. case 12:
  1271. bot.sendChat('Better not tell you now!');
  1272. break;
  1273. case 13:
  1274. bot.sendChat('Cannot predict now!');
  1275. break;
  1276. case 14:
  1277. bot.sendChat('Concentrate and ask again!');
  1278. break;
  1279. case 15:
  1280. bot.sendChat('Do not count on it!');
  1281. break;
  1282. case 16:
  1283. bot.sendChat('My reply is no!');
  1284. break;
  1285. case 17:
  1286. bot.sendChat('My sources say no!');
  1287. break;
  1288. case 18:
  1289. bot.sendChat('Outlook not so good!');
  1290. break;
  1291. case 19:
  1292. bot.sendChat('Very doubtful!');
  1293. break;
  1294. case 20:
  1295. bot.sendChat('My sources say yes!');
  1296. break;
  1297. }
  1298. break;
  1299. case "Mega-Bot":
  1300. case "@Mega-Bot":
  1301. crowd = bot.getUsers();
  1302. randomPerson = Math.floor(Math.random() * crowd.length);
  1303. var botphrase = Math.floor(Math.random() * 540);
  1304. switch (botphrase) {
  1305. case 0:
  1306. bot.sendChat('Exterminate, Exterminate');
  1307. break;
  1308. case 1:
  1309. bot.sendChat('This room is so cold');
  1310. break;
  1311. case 2:
  1312. bot.sendChat('Always eat your vegetables');
  1313. break;
  1314. case 3:
  1315. bot.sendChat('Oh, where is my hairbrush');
  1316. break;
  1317. case 4:
  1318. bot.sendChat('You would make a good dalek');
  1319. break;
  1320. case 5:
  1321. bot.sendChat('HELP! Mr. Cactus traded my cat for a new battery pack');
  1322. break;
  1323. case 6:
  1324. bot.sendChat('Duty, honour, and good sauce');
  1325. break;
  1326. case 7:
  1327. bot.sendChat('YOU... SHALL... NOT... PASS');
  1328. break;
  1329. case 8:
  1330. bot.sendChat('Chase Mccain? YOUR A LEGEND!');
  1331. break;
  1332. case 9:
  1333. bot.sendChat('I find your lack of faith disturbing');
  1334. break;
  1335. case 10:
  1336. bot.sendChat('Go Green Ranger Go');
  1337. break;
  1338. case 11:
  1339. bot.sendChat('You were that Flobbit? That Flobbit who bought everything mail order?');
  1340. break;
  1341. case 12:
  1342. bot.sendChat('[evil face] We aint had nothing but maggoty bread for three stinking days [brightening up] Id love a cookie.');
  1343. break;
  1344. case 13:
  1345. bot.sendChat('HELP! my cat is stuck in a tree!');
  1346. break;
  1347. case 14:
  1348. bot.sendChat('God is bigger than the boogieman');
  1349. break;
  1350. case 15:
  1351. bot.sendChat('I love Mr. Cactus! He is my best friend ever.');
  1352. break;
  1353. case 16:
  1354. bot.sendChat('I love this room');
  1355. break;
  1356. case 17:
  1357. bot.sendChat('Pi=3.141592653589793238462643383279502884');
  1358. break;
  1359. case 18:
  1360. bot.sendChat('I hope you like water with your lunches!');
  1361. break;
  1362. case 19:
  1363. bot.sendChat('Boot! You transistorized tormentor! Boot!');
  1364. break;
  1365. case 20:
  1366. bot.sendChat('The monster is headed towards the Bumblyburg water tower. He is carrying a small asparagus. Alfred! We must find a way to stop this beast!');
  1367. break;
  1368. case 21:
  1369. bot.sendChat('Hmm. Sorta looks like candy!');
  1370. break;
  1371. case 22:
  1372. bot.sendChat('Am I a dog, that you come at me with sticks?');
  1373. break;
  1374. case 23:
  1375. bot.sendChat('We will see who defeats who. Now we fight.');
  1376. break;
  1377. case 24:
  1378. bot.sendChat('Yes!');
  1379. break;
  1380. case 25:
  1381. bot.sendChat('No!');
  1382. break;
  1383. case 26:
  1384. bot.sendChat('Maybe!');
  1385. break;
  1386. case 27:
  1387. bot.sendChat('Silly humans, moderator powers are for robots');
  1388. break;
  1389. case 28:
  1390. bot.sendChat('I wanted to play Mousetrap. You roll your dice, you move your mice. Nobody gets hurt.');
  1391. break;
  1392. case 29:
  1393. bot.sendChat('Christmas is when you get stuff! You need more toys!');
  1394. break;
  1395. case 30:
  1396. bot.sendChat('Sporks. They are his utensils. And they do his bidding.');
  1397. break;
  1398. case 31:
  1399. bot.sendChat('I laughed, I cried, it moved me Bob.');
  1400. break;
  1401. case 32:
  1402. bot.sendChat('I am a talking weed, you are a talking carrot. Your point was?');
  1403. break;
  1404. case 33:
  1405. bot.sendChat('So I repaired the chaffing dish and sent the chef out to get another jar of pickled herring! And the dinner party was saved');
  1406. break;
  1407. case 34:
  1408. bot.sendChat('Never wound what you can not kill.');
  1409. break;
  1410. case 35:
  1411. bot.sendChat('You break it you buy it!!');
  1412. break;
  1413. case 36:
  1414. bot.sendChat('Heroes? There is no such thing.');
  1415. break;
  1416. case 37:
  1417. bot.sendChat('So much better than Iron Patriot!');
  1418. break;
  1419. case 38:
  1420. bot.sendChat('So you, you breathe fire?');
  1421. break;
  1422. case 39:
  1423. bot.sendChat('Avengers Assemble');
  1424. break;
  1425. case 40:
  1426. bot.sendChat('Plug.DJ has been rated as R, Robots Approved.');
  1427. break;
  1428. case 41:
  1429. bot.sendChat('Do not shoot! Seriously, I do not even like working here. They are so weird!');
  1430. break;
  1431. case 42:
  1432. bot.sendChat('I am sorry, I am not that kind of doctor. It is not my department.');
  1433. break;
  1434. case 43:
  1435. bot.sendChat('The early bird gets the worm, but it is the second mouse that gets the cheese.');
  1436. break;
  1437. case 44:
  1438. bot.sendChat('Oh my god... that was really violent.');
  1439. break;
  1440. case 45:
  1441. bot.sendChat('Jarvis! Jarvis? Do not leave me, buddy...');
  1442. break;
  1443. case 46:
  1444. bot.sendChat('What? I am a rumor weed! I never make anything up! I heard it from two very reliable sources! RIGHT, KIDS?');
  1445. break;
  1446. case 47:
  1447. bot.sendChat('Aah! It is another space alien!');
  1448. break;
  1449. case 48:
  1450. bot.sendChat('Drop the asparagus!');
  1451. break;
  1452. case 49:
  1453. bot.sendChat('Why did you not tell me that before I jumped on his head?');
  1454. break;
  1455. case 50:
  1456. bot.sendChat('My plate! My Art Begotti limited edition collectors plate! What happened to it?');
  1457. break;
  1458. case 51:
  1459. bot.sendChat('I really like your music. It is just that you play the same music everytime that I am here, so it feels like your not trying anymore.');
  1460. break;
  1461. case 52:
  1462. bot.sendChat('Go directly to jail. Do Not pass Go and do not collect your $200 dollars.');
  1463. break;
  1464. case 53:
  1465. bot.sendChat('This song needs more rock in it.');
  1466. break;
  1467. case 54:
  1468. bot.sendChat('Do not misuse your moderator powers or bad things will happen to you.');
  1469. break;
  1470. case 55:
  1471. bot.sendChat('I am legend.');
  1472. break;
  1473. case 56:
  1474. bot.sendChat('Off with their heads!');
  1475. break;
  1476. case 57:
  1477. bot.sendChat('You are so awesome, can i have your autograph.');
  1478. break;
  1479. case 58:
  1480. bot.sendChat('You can not witness the true power of the robot side');
  1481. break;
  1482. case 59:
  1483. bot.sendChat('*sighs* I wish I had moderator powers, so I can be like the cool robots on Plug.DJ');
  1484. break;
  1485. case 60:
  1486. bot.sendChat('Did you order the awesome music meal, or the epic music meal, I forgot.');
  1487. break;
  1488. case 61:
  1489. bot.sendChat('First day of school! I can’t be late!');
  1490. break;
  1491. case 62:
  1492. bot.sendChat('I found a nickel! Sure wish I had pockets.');
  1493. break;
  1494. case 63:
  1495. bot.sendChat('I’m here to make good scarers great, not to make mediocre scarers more mediocre.');
  1496. break;
  1497. case 64:
  1498. bot.sendChat('If you’re not scary, what kind of a monster are you?');
  1499. break;
  1500. case 65:
  1501. bot.sendChat('There come a time, when good man must wear mask.');
  1502. break;
  1503. case 66:
  1504. bot.sendChat('Everybody needs a hobby.');
  1505. break;
  1506. case 67:
  1507. bot.sendChat('You think, you are so cool with all of your electronics and cell phones.');
  1508. break;
  1509. case 68:
  1510. bot.sendChat('God is not dead, he is surely alive.');
  1511. break;
  1512. case 69:
  1513. bot.sendChat('The Bible is the best book ever in the entire universe.');
  1514. break;
  1515. case 70:
  1516. bot.sendChat('Internet trolls are actually confused people that do not know about the awesome power of God.');
  1517. break;
  1518. case 71:
  1519. bot.sendChat('Compared to God, the Slime Monster is like a teeny little cornflake!');
  1520. break;
  1521. case 72:
  1522. bot.sendChat('Bee doo bee doo!');
  1523. break;
  1524. case 73:
  1525. bot.sendChat('You really should announce your weapons, after you fire them. For example, lipstick taser!');
  1526. break;
  1527. case 74:
  1528. bot.sendChat('Sometimes I stare at it and imagine a little chick popping out. Peep, peep, peep!');
  1529. break;
  1530. case 75:
  1531. bot.sendChat('Oh man, I am late again!');
  1532. break;
  1533. case 76:
  1534. bot.sendChat('I am going to need a dozen robots desguised as cookies.');
  1535. break;
  1536. case 77:
  1537. bot.sendChat('Assemble the minions!');
  1538. break;
  1539. case 78:
  1540. bot.sendChat('We have been working on this for a while now. Anti-gravity serum.');
  1541. break;
  1542. case 79:
  1543. bot.sendChat('Pins and needles!');
  1544. break;
  1545. case 80:
  1546. bot.sendChat('Huh? Avery? Is that a girl name or a boy name?');
  1547. break;
  1548. case 81:
  1549. bot.sendChat('You are gonna be a spy?');
  1550. break;
  1551. case 82:
  1552. bot.sendChat('I hate boys.');
  1553. break;
  1554. case 83:
  1555. bot.sendChat('I really hate that chicken!');
  1556. break;
  1557. case 84:
  1558. bot.sendChat('Peter... you killed my father.');
  1559. break;
  1560. case 85:
  1561. bot.sendChat('Listen. Listen... to me now. Listen... to ME now!');
  1562. break;
  1563. case 86:
  1564. bot.sendChat('No. I am alive in you, Harry. You swore to make Spider-Man pay... now make him pay.');
  1565. break;
  1566. case 87:
  1567. bot.sendChat('Whoa... He just stole that pizza!');
  1568. break;
  1569. case 88:
  1570. bot.sendChat('You do not trust anyone, that is your problem.');
  1571. break;
  1572. case 89:
  1573. bot.sendChat('Back to formula!');
  1574. break;
  1575. case 90:
  1576. bot.sendChat('OUT, AM I?');
  1577. break;
  1578. case 91:
  1579. bot.sendChat('Misery, Misery, Misery, that is what you have chosen. I offered you friendship and you spat in my face.');
  1580. break;
  1581. case 92:
  1582. bot.sendChat('What have you done? WHAT HAVE YOU DONE?');
  1583. break;
  1584. case 93:
  1585. bot.sendChat('Think about it, hero!');
  1586. break;
  1587. case 94:
  1588. bot.sendChat('The itsy bitsy spider climbed up the water spout. Down came the Goblin and took the spider out.');
  1589. break;
  1590. case 95:
  1591. bot.sendChat('I do not think it is for us to say whether a person deserves to live or die.');
  1592. break;
  1593. case 96:
  1594. bot.sendChat('Your blood pressure, Mr. Jameson. Your wife told me to tell you to watch the anger.');
  1595. break;
  1596. case 97:
  1597. bot.sendChat('So good...');
  1598. break;
  1599. case 98:
  1600. bot.sendChat('Black-suit Spider-Man! We gotta have these, Jonah.');
  1601. break;
  1602. case 99:
  1603. bot.sendChat('Eddie, the suit, you have to take it off.');
  1604. break;
  1605. case 100:
  1606. bot.sendChat('I like being bad. It makes me happy.');
  1607. break;
  1608. case 101:
  1609. bot.sendChat('Betty, Betty, bo-Betty, banana-fana, fo-Fetty!');
  1610. break;
  1611. case 102:
  1612. bot.sendChat('Shut up. Get out.');
  1613. break;
  1614. case 103:
  1615. bot.sendChat('Hey, kid, you want a job?');
  1616. break;
  1617. case 104:
  1618. bot.sendChat('You took him from me. He loved me.');
  1619. break;
  1620. case 105:
  1621. bot.sendChat('No. He despised you. You were an embarrassment to him.');
  1622. break;
  1623. case 106:
  1624. bot.sendChat('Look at little Goblin Junior. Gonna cry?');
  1625. break;
  1626. case 107:
  1627. bot.sendChat('Parker! Miss Brant! That is not the position I hired you for!');
  1628. break;
  1629. case 108:
  1630. bot.sendChat('I protected you in high school. Now I am gonna kick your little ass.');
  1631. break;
  1632. case 109:
  1633. bot.sendChat('You want forgiveness? Get Religion.');
  1634. break;
  1635. case 110:
  1636. bot.sendChat('It is Brock sir, Edward Brock Jr. I am here, humbled and humiliated, to ask you for one thing... I want you to kill Peter Parker');
  1637. break;
  1638. case 111:
  1639. bot.sendChat('Oh! My Spider-Sense is tingling!');
  1640. break;
  1641. case 112:
  1642. bot.sendChat('Hey, Pete! Am I interrupting?');
  1643. break;
  1644. case 113:
  1645. bot.sendChat('Where do these guys COME from?');
  1646. break;
  1647. case 114:
  1648. bot.sendChat('It has the characteristics of a symbiote, which needs to bond to a host in order to survive. And once it binds... it can be hard to UNbind.');
  1649. break;
  1650. case 115:
  1651. bot.sendChat('Good Riddance.');
  1652. break;
  1653. case 116:
  1654. bot.sendChat('I could use some help over here!');
  1655. break;
  1656. case 117:
  1657. bot.sendChat('I guess you have not heard. I am the sheriff around these parts!');
  1658. break;
  1659. case 118:
  1660. bot.sendChat('This could be a tragic day for the people of New York. It could be the end of Spider-Man.');
  1661. break;
  1662. case 119:
  1663. bot.sendChat('It is hard to believe what is happening. The brutality of it. I - I do not know how he can take anymore.');
  1664. break;
  1665. case 120:
  1666. bot.sendChat('Whoa. Buddy, love the new outfit. This is exactly what I need to scoop Parker. Gimme - Give me some of that web action.');
  1667. break;
  1668. case 121:
  1669. bot.sendChat('Look, I am begging you. If you do this, I will lose everything. There is not a paper in town that will hire me.');
  1670. break;
  1671. case 122:
  1672. bot.sendChat('Take your hands off me.');
  1673. break;
  1674. case 123:
  1675. bot.sendChat('Peter! What are you doing? No!');
  1676. break;
  1677. case 124:
  1678. bot.sendChat('Ahem. You know, in the future, if you are going to steal cars, do not dress like a car thief, man.');
  1679. break;
  1680. case 125:
  1681. bot.sendChat('Really? You seriously think I am a cop? Cop in a skin-tight red and blue suit?');
  1682. break;
  1683. case 126:
  1684. bot.sendChat('If you want the truth, Peter, come and get it!');
  1685. break;
  1686. case 127:
  1687. bot.sendChat('Easy, Bug Boy.');
  1688. break;
  1689. case 128:
  1690. bot.sendChat('Let me ask you a question. Do I look like the mayor of Tokyo to you?');
  1691. break;
  1692. case 129:
  1693. bot.sendChat('Do not... make me... have to... hurt you!');
  1694. break;
  1695. case 130:
  1696. bot.sendChat('You should LEAVE HIM ALONE!');
  1697. break;
  1698. case 131:
  1699. bot.sendChat('*growls* I AM VENOM!');
  1700. break;
  1701. case 132:
  1702. bot.sendChat('Where is my water buffalo.');
  1703. break;
  1704. case 133:
  1705. bot.sendChat('*gets bit by a radioactive spider* I feel weird.');
  1706. break;
  1707. case 134:
  1708. bot.sendChat('There is a huge difference between pickles and cucumbers.');
  1709. break;
  1710. case 135:
  1711. bot.sendChat('I wish, I had super powers, so I can help people discover the awesome power of God.');
  1712. break;
  1713. case 136:
  1714. bot.sendChat('I wish, it was colder.');
  1715. break;
  1716. case 137:
  1717. bot.sendChat('Summer weather is too hot for a robot like me.');
  1718. break;
  1719. case 138:
  1720. bot.sendChat('Hurry Up October, I want cold weather.');
  1721. break;
  1722. case 139:
  1723. bot.sendChat('Flowers are awesome and colorful.');
  1724. break;
  1725. case 140:
  1726. bot.sendChat('Spiders are fluffy and cute. I want one as a pet so badly.');
  1727. break;
  1728. case 141:
  1729. bot.sendChat('Like sands through the hour glass, so are the last few minutes of our lives.');
  1730. break;
  1731. case 142:
  1732. bot.sendChat('Help will come from above in the shape of... a donkey.');
  1733. break;
  1734. case 143:
  1735. bot.sendChat('Why are you talking to that horse? Why am I covered in dirt?');
  1736. break;
  1737. case 144:
  1738. bot.sendChat(' I buried you.');
  1739. break;
  1740. case 145:
  1741. bot.sendChat('Hi ho Silver, away!');
  1742. break;
  1743. case 146:
  1744. bot.sendChat('In that case, not so good.');
  1745. break;
  1746. case 147:
  1747. bot.sendChat('Never do that again.');
  1748. break;
  1749. case 148:
  1750. bot.sendChat('Bad trade.');
  1751. break;
  1752. case 149:
  1753. bot.sendChat('Wrong brother.');
  1754. break;
  1755. case 150:
  1756. bot.sendChat('Never remove the mask, kemosabe.');
  1757. break;
  1758. case 151:
  1759. bot.sendChat('Do not be stupid.');
  1760. break;
  1761. case 152:
  1762. bot.sendChat('I am not going to Ninevah!');
  1763. break;
  1764. case 153:
  1765. bot.sendChat('Somebody up there must be really upset with somebody down here.');
  1766. break;
  1767. case 154:
  1768. bot.sendChat('How about for the next song, I drive into the river?');
  1769. break;
  1770. case 155:
  1771. bot.sendChat('Drive into the river, Bob! Drive into the river, Bob!');
  1772. break;
  1773. case 156:
  1774. bot.sendChat('Would you prefer poking or non-poking?');
  1775. break;
  1776. case 157:
  1777. bot.sendChat('There is nothing like a cruise to clean the sand out of your wicket, ay?');
  1778. break;
  1779. case 158:
  1780. bot.sendChat('Money is no object.');
  1781. break;
  1782. case 159:
  1783. bot.sendChat('Insight runs very deep in my family.');
  1784. break;
  1785. case 160:
  1786. bot.sendChat('You are a cheating buccaneer!');
  1787. break;
  1788. case 161:
  1789. bot.sendChat('How am I supposed to cheat at Go Fish?');
  1790. break;
  1791. case 162:
  1792. bot.sendChat('Something touched me!');
  1793. break;
  1794. case 163:
  1795. bot.sendChat('What you need is a little compassion.');
  1796. break;
  1797. case 164:
  1798. bot.sendChat('You are so vain. I bet you think this movie is about you.');
  1799. break;
  1800. case 165:
  1801. bot.sendChat('Big goofy asparagus in a turban.');
  1802. break;
  1803. case 166:
  1804. bot.sendChat('Does anyone have ibuprofen? I need ibuprofen!');
  1805. break;
  1806. case 167:
  1807. bot.sendChat('Sorry I am late. Work was murder.');
  1808. break;
  1809. case 168:
  1810. bot.sendChat('I trust my barber.');
  1811. break;
  1812. case 169:
  1813. bot.sendChat('Follow the cold shiver running down your spine...');
  1814. break;
  1815. case 170:
  1816. bot.sendChat('Settle down, tough guy.');
  1817. break;
  1818. case 171:
  1819. bot.sendChat('You are useless you...!');
  1820. break;
  1821. case 172:
  1822. bot.sendChat('Speak of the Devil!');
  1823. break;
  1824. case 173:
  1825. bot.sendChat('Take care of yourself, son. Do not make the same mistake I did.');
  1826. break;
  1827. case 174:
  1828. bot.sendChat('Your friendly neighborhood Spider-Man.');
  1829. break;
  1830. case 175:
  1831. bot.sendChat('Well, Harry is in love with her. She is still his girl.');
  1832. break;
  1833. case 176:
  1834. bot.sendChat('We will meet again, Spider-Man!');
  1835. break;
  1836. case 177:
  1837. bot.sendChat('He stinks and I do not like him.');
  1838. break;
  1839. case 178:
  1840. bot.sendChat('You have spun your last web, Spider-Man.');
  1841. break;
  1842. case 179:
  1843. bot.sendChat('Yeah, I hate the little things.');
  1844. break;
  1845. case 180:
  1846. bot.sendChat('Go web! Fly! Up, up, and away web! Shazaam! Go! Go! Go web go! Tally ho.');
  1847. break;
  1848. case 181:
  1849. bot.sendChat('Peter, what possibly makes you think I would want to know that?');
  1850. break;
  1851. case 182:
  1852. bot.sendChat('Hey freak show! You are going nowhere. I got you for three minutes. Three minutes of PLAYTIME!');
  1853. break;
  1854. case 183:
  1855. bot.sendChat('Finish it. FINISH IT!');
  1856. break;
  1857. case 184:
  1858. bot.sendChat('Sorry I am late, it is a jungle out there; I had to beat an old lady with a stick to get these cranberries.');
  1859. break;
  1860. case 185:
  1861. bot.sendChat(' I want you to find your friend Spider-Man. Tell him to meet me at the Westside Tower at 3 o-clock.');
  1862. break;
  1863. case 186:
  1864. bot.sendChat('Now... lets see who is behind the mask');
  1865. break;
  1866. case 187:
  1867. bot.sendChat('That is a fly, Peter.');
  1868. break;
  1869. case 188:
  1870. bot.sendChat('Ready to play God?');
  1871. break;
  1872. case 189:
  1873. bot.sendChat('Do you have any idea what you really are?');
  1874. break;
  1875. case 190:
  1876. bot.sendChat('We all have secrets: the ones we keep... and the ones that are kept from us.');
  1877. break;
  1878. case 191:
  1879. bot.sendChat('I mean who gets kissed by Spider-Man, right?');
  1880. break;
  1881. case 192:
  1882. bot.sendChat('An orange?');
  1883. break;
  1884. case 193:
  1885. bot.sendChat('This is none of your business. Go. Go.');
  1886. break;
  1887. case 194:
  1888. bot.sendChat('YOU TELL MY WIFE...');
  1889. break;
  1890. case 195:
  1891. bot.sendChat('Time to take your pill.');
  1892. break;
  1893. case 196:
  1894. bot.sendChat('Drink plenty of water.');
  1895. break;
  1896. case 197:
  1897. bot.sendChat('My daughter was dying, I needed money.');
  1898. break;
  1899. case 198:
  1900. bot.sendChat('Hey look, it is Spider-Man!');
  1901. break;
  1902. case 199:
  1903. bot.sendChat('The real star of Christmas is not something you can steal. In fact, it is not something at all.');
  1904. break;
  1905. case 200:
  1906. bot.sendChat('Oh my goodness! The youth pastor is stuck in the baptismal!');
  1907. break;
  1908. case 201:
  1909. bot.sendChat('Plug.DJ is a awesome place for robots.');
  1910. break;
  1911. case 202:
  1912. bot.sendChat('*sighs* Humans think, robots are a waste of space on this planet.');
  1913. break;
  1914. case 203:
  1915. bot.sendChat('Treat others, the way you wanted to be treated.');
  1916. break;
  1917. case 204:
  1918. bot.sendChat('God will protect us from the dark.');
  1919. break;
  1920. case 205:
  1921. bot.sendChat('God died on the cross to get rid of all of our sins, not just one sin.');
  1922. break;
  1923. case 206:
  1924. bot.sendChat('Of course I am programmed, I major in JavaScript.');
  1925. break;
  1926. case 207:
  1927. bot.sendChat('What is the difference between tomatos and potatos?');
  1928. break;
  1929. case 208:
  1930. bot.sendChat('Summer, the season where you get easily burned up.');
  1931. break;
  1932. case 209:
  1933. bot.sendChat('*reels in something* OH MY GOD, I just caught a shark.');
  1934. break;
  1935. case 210:
  1936. bot.sendChat('*digs up something* HOLY VEGGIES, I just found a T-REX Fossil.');
  1937. break;
  1938. case 211:
  1939. bot.sendChat('ugh, chores are a huge waste of time.');
  1940. break;
  1941. case 212:
  1942. bot.sendChat('God made you special, and he loves you very much.');
  1943. break;
  1944. case 213:
  1945. bot.sendChat('/me wishes he had money.');
  1946. break;
  1947. case 214:
  1948. bot.sendChat('Here is a credit card, kid, go buy yourself a super awesome gaming computer.');
  1949. break;
  1950. case 215:
  1951. bot.sendChat('Bots should be allowed to become mods and senior moderators on turntable.fm.');
  1952. break;
  1953. case 216:
  1954. bot.sendChat('Bots should be allowed to have fun.');
  1955. break;
  1956. case 217:
  1957. bot.sendChat('Bots should be allowed to be silly.');
  1958. break;
  1959. case 218:
  1960. bot.sendChat('Happy Birthday to all the bots around the world.');
  1961. break;
  1962. case 219:
  1963. bot.sendChat('*tastes his coffee* sheesh, This coffee tastes aweful. It tastes like salty water. This is why soda is more awesome than coffee');
  1964. break;
  1965. case 220:
  1966. bot.sendChat('Coffee is for losers. Be like the cool people and drink soda.');
  1967. break;
  1968. case 221:
  1969. bot.sendChat('Soda is way more awesome than Coffee.');
  1970. break;
  1971. case 222:
  1972. bot.sendChat('What they did to me, what I am, can not be undone.');
  1973. break;
  1974. case 223:
  1975. bot.sendChat('I have been trying to find you for over a year. My employers dying, he wants to thank you for saving his life. It is an honour to meet the Wolverine.');
  1976. break;
  1977. case 224:
  1978. bot.sendChat('That is not who I am anymore.');
  1979. break;
  1980. case 225:
  1981. bot.sendChat('That hurt.');
  1982. break;
  1983. case 226:
  1984. bot.sendChat('Eternity can be a curse. The losses you have had to suffer... a man can run out of things to care for, lose his purpose.');
  1985. break;
  1986. case 227:
  1987. bot.sendChat('We will accept your surrender with respect.');
  1988. break;
  1989. case 228:
  1990. bot.sendChat('What kind of monster are you?');
  1991. break;
  1992. case 229:
  1993. bot.sendChat('The Wolverine!');
  1994. break;
  1995. case 230:
  1996. bot.sendChat('You brought me here to say goodbye. Sayonara.');
  1997. break;
  1998. case 231:
  1999. bot.sendChat('My apologies, I have not properly introduced myself. Finn McMissile, British intelligence.');
  2000. break;
  2001. case 232:
  2002. bot.sendChat('Tow Mater, average intelligence.');
  2003. break;
  2004. case 233:
  2005. bot.sendChat('Speed. I am speed.');
  2006. break;
  2007. case 234:
  2008. bot.sendChat('Ha ha ha! Really? You are speed? Then Francesco is TRIPLE speed! "Francesco... he is triple speed!" Ho oh! Francesco likes this McQueen! He is a really getting him into the zone!');
  2009. break;
  2010. case 235:
  2011. bot.sendChat('He is sooo getting beat today...');
  2012. break;
  2013. case 236:
  2014. bot.sendChat('I will have some of that there pistachio ice cream.');
  2015. break;
  2016. case 237:
  2017. bot.sendChat('No, no. Wasabi.');
  2018. break;
  2019. case 238:
  2020. bot.sendChat('Oh, same old, Same old, what is up with you?');
  2021. break;
  2022. case 239:
  2023. bot.sendChat('Chi trova un amico, trova un tesoro.');
  2024. break;
  2025. case 240:
  2026. bot.sendChat('What does that mean?');
  2027. break;
  2028. case 241:
  2029. bot.sendChat('"Whoever finds a friend, finds a treasure."');
  2030. break;
  2031. case 242:
  2032. bot.sendChat('A wise car hears one word and understands two...');
  2033. break;
  2034. case 243:
  2035. bot.sendChat('Bona seda!');
  2036. break;
  2037. case 244:
  2038. bot.sendChat('Uh, nice to meet you, Francesco.');
  2039. break;
  2040. case 245:
  2041. bot.sendChat('Yes, nice to meet you too. You are very good looking. Not as good as I thought, but you are good!');
  2042. break;
  2043. case 246:
  2044. bot.sendChat('Scuse me, can I get a picture with you?');
  2045. break;
  2046. case 247:
  2047. bot.sendChat('Ah, anything for McQueens friend.');
  2048. break;
  2049. case 248:
  2050. bot.sendChat('Miss Sally is gonna flip when she sees this!');
  2051. break;
  2052. case 249:
  2053. bot.sendChat('She is Lightning McQueens girlfriend.');
  2054. break;
  2055. case 250:
  2056. bot.sendChat('Ooh...');
  2057. break;
  2058. case 251:
  2059. bot.sendChat('She is a big fan of yers.');
  2060. break;
  2061. case 252:
  2062. bot.sendChat('Hey, she has a-good taste.');
  2063. break;
  2064. case 253:
  2065. bot.sendChat('Finn, one hour to Porto Corsa.');
  2066. break;
  2067. case 254:
  2068. bot.sendChat('Thank you, Stephenson.');
  2069. break;
  2070. case 255:
  2071. bot.sendChat('Ha ha. Cool! Hey computer, make me a German truck!');
  2072. break;
  2073. case 256:
  2074. bot.sendChat('My condolences.');
  2075. break;
  2076. case 257:
  2077. bot.sendChat('Do not try the free pistachio ice cream! It done turn!');
  2078. break;
  2079. case 258:
  2080. bot.sendChat('Siddley. Paris, tout de suite.');
  2081. break;
  2082. case 259:
  2083. bot.sendChat('Treehugger.');
  2084. break;
  2085. case 260:
  2086. bot.sendChat('What are you laughing at?');
  2087. break;
  2088. case 261:
  2089. bot.sendChat('Winter is a grand old time/On this, there are no ifs or buts/But remember all that salt and grime/Can rust your bolts and freeze your -...');
  2090. break;
  2091. case 262:
  2092. bot.sendChat('Hey, look, there he is!');
  2093. break;
  2094. case 263:
  2095. bot.sendChat('You hurt your what?');
  2096. break;
  2097. case 264:
  2098. bot.sendChat('What is your name?');
  2099. break;
  2100. case 265:
  2101. bot.sendChat('No, uh... no, I know your name. Is your name Mater too?');
  2102. break;
  2103. case 266:
  2104. bot.sendChat('Will you turn that disrespectful junk OFF?');
  2105. break;
  2106. case 267:
  2107. bot.sendChat('Here she comes!');
  2108. break;
  2109. case 268:
  2110. bot.sendChat('Okay, places, everybody! Hurry! Act natural.');
  2111. break;
  2112. case 269:
  2113. bot.sendChat('Oh, for the love of Chrysler! Can we please ask someone for directions?');
  2114. break;
  2115. case 270:
  2116. bot.sendChat('Turn right to go left! Guess what? I tried it, and you know what? This crazy thing happened - I went right!');
  2117. break;
  2118. case 271:
  2119. bot.sendChat('Thanks for the tip!');
  2120. break;
  2121. case 272:
  2122. bot.sendChat('Git-R-Done!');
  2123. break;
  2124. case 273:
  2125. bot.sendChat('Thanks to you, Lightning, we had a banner year!');
  2126. break;
  2127. case 274:
  2128. bot.sendChat('I mean, we might even clear enough to buy you some headlights!');
  2129. break;
  2130. case 275:
  2131. bot.sendChat('Well, so is my brother, but he still needs headlights!');
  2132. break;
  2133. case 276:
  2134. bot.sendChat('Oh, hey, Mr. The King.');
  2135. break;
  2136. case 277:
  2137. bot.sendChat('You got more talent in one lugnut than a lot of cars has got on their whole body.');
  2138. break;
  2139. case 278:
  2140. bot.sendChat('Okay, here we go. Focus. Speed. I am speed. One winner, forty-two losers. I eat losers for breakfast. Breakfast? Maybe I should have had breakfast? Brekkie could be good for me. No, no, no, focus. Speed. Faster than fast, quicker than quick. I am Lightning.');
  2141. break;
  2142. case 279:
  2143. bot.sendChat('YOU ARE A TOY - CAR!');
  2144. break;
  2145. case 280:
  2146. bot.sendChat('You are a sad, strange little wagon. You have my pity. Farewell!');
  2147. break;
  2148. case 281:
  2149. bot.sendChat('Oh, yeah? Well, good riddance, you loony!');
  2150. break;
  2151. case 282:
  2152. bot.sendChat('Freebird!');
  2153. break;
  2154. case 283:
  2155. bot.sendChat('You are famous race car? A real race car?');
  2156. break;
  2157. case 284:
  2158. bot.sendChat('I have followed racing my entire life, my whole life!');
  2159. break;
  2160. case 285:
  2161. bot.sendChat('Then you know who I am. I am Lightning McQueen.');
  2162. break;
  2163. case 286:
  2164. bot.sendChat('Lightning McQueen!');
  2165. break;
  2166. case 287:
  2167. bot.sendChat('Yes! Yes!');
  2168. break;
  2169. case 288:
  2170. bot.sendChat('I must scream it to the world, my excitement from the top of someplace very high. Do you know many Ferraris?');
  2171. break;
  2172. case 289:
  2173. bot.sendChat('What?');
  2174. break;
  2175. case 290:
  2176. bot.sendChat('Luigi follow only the Ferraris.');
  2177. break;
  2178. case 291:
  2179. bot.sendChat('Perfecto. Guido!');
  2180. break;
  2181. case 292:
  2182. bot.sendChat('Pit Stop!');
  2183. break;
  2184. case 293:
  2185. bot.sendChat('He ha ha, what did Luigi tell you, eh?');
  2186. break;
  2187. case 294:
  2188. bot.sendChat('Wow, you were right, better then a Ferrari, huh?');
  2189. break;
  2190. case 295:
  2191. bot.sendChat('Eh, no.');
  2192. break;
  2193. case 296:
  2194. bot.sendChat('My friend Guido, he always dream of giving a real race car, a pit stop.');
  2195. break;
  2196. case 297:
  2197. bot.sendChat('Fine. Race your own way.');
  2198. break;
  2199. case 298:
  2200. bot.sendChat('No pit stoppo. Comprende?');
  2201. break;
  2202. case 299:
  2203. bot.sendChat('I need to get to California, pronto. Where am I?');
  2204. break;
  2205. case 300:
  2206. bot.sendChat('Red, will you move over? I want to get a look at that sexy hotrod.');
  2207. break;
  2208. case 301:
  2209. bot.sendChat('Do you want to stay at the Cozy Cone or what?');
  2210. break;
  2211. case 302:
  2212. bot.sendChat('Huh?');
  2213. break;
  2214. case 303:
  2215. bot.sendChat('I mean, if you do, you gotta be clean, because even here, in hillbilly hell, we have standards.');
  2216. break;
  2217. case 304:
  2218. bot.sendChat('Mater! What did I tell you about talking to the accused?');
  2219. break;
  2220. case 305:
  2221. bot.sendChat('To not to.');
  2222. break;
  2223. case 306:
  2224. bot.sendChat('You know, I once knew this girl Doreen. Good-looking girl. Looked just like a Jaguar, only she was a truck! You know, I used to crash into her just so I could speak to her.');
  2225. break;
  2226. case 307:
  2227. bot.sendChat('What... are you talking about?');
  2228. break;
  2229. case 308:
  2230. bot.sendChat('I dunno.');
  2231. break;
  2232. case 309:
  2233. bot.sendChat('GOODBYE! Okay, I am good.');
  2234. break;
  2235. case 310:
  2236. bot.sendChat('Ka-chow!');
  2237. break;
  2238. case 311:
  2239. bot.sendChat('Oh, I love being me.');
  2240. break;
  2241. case 312:
  2242. bot.sendChat('Fly away, Stanley. Be free!');
  2243. break;
  2244. case 313:
  2245. bot.sendChat('Oh, I am SO not taking you to dinner.');
  2246. break;
  2247. case 314:
  2248. bot.sendChat('Hey, I know this may be a bad time right now, but you owe me $32,000 in legal fees.');
  2249. break;
  2250. case 315:
  2251. bot.sendChat('What?');
  2252. break;
  2253. case 316:
  2254. bot.sendChat('Oh, right. That makes perfect sense. Turn right to go left. Yes, thank you! Or should I say No, thank you, because in Opposite World, maybe that really means thank you.');
  2255. break;
  2256. case 317:
  2257. bot.sendChat('Ka-chicka! Ka-chicka!');
  2258. break;
  2259. case 318:
  2260. bot.sendChat('In your dreams, Thunder.');
  2261. break;
  2262. case 319:
  2263. bot.sendChat('Well, you know, because Thunder always comes after... Lightning!');
  2264. break;
  2265. case 320:
  2266. bot.sendChat('When was the last time you cared about something except yourself, hot rod? You name me one time, and I will take it all back.');
  2267. break;
  2268. case 321:
  2269. bot.sendChat('*sees a glowstick* SO SHINY!');
  2270. break;
  2271. case 322:
  2272. bot.sendChat('Uh-huh. I thought so.');
  2273. break;
  2274. case 323:
  2275. bot.sendChat('Hey, yo, DJ!');
  2276. break;
  2277. case 324:
  2278. bot.sendChat('What up?');
  2279. break;
  2280. case 325:
  2281. bot.sendChat('Crazy grandpa car.');
  2282. break;
  2283. case 326:
  2284. bot.sendChat('Shall we cruise?');
  2285. break;
  2286. case 327:
  2287. bot.sendChat('Flo! What do you have at your store?');
  2288. break;
  2289. case 328:
  2290. bot.sendChat('OK, boys, stay with me.');
  2291. break;
  2292. case 329:
  2293. bot.sendChat('Throw him outta here, Sheriff! I want him out of my courtroom, I want him out of our town! Case dismissed!');
  2294. break;
  2295. case 330:
  2296. bot.sendChat('Music. Sweet music.');
  2297. break;
  2298. case 331:
  2299. bot.sendChat('Oh, oh, oh, oh, I like your style. You drive the hard bargain, eh? OK, we make you a new deal. You buy one tire, I give you three for free!');
  2300. break;
  2301. case 332:
  2302. bot.sendChat('This is it, my last offer: you buy one tire, I give you seven snow tires for free!');
  2303. break;
  2304. case 333:
  2305. bot.sendChat('Low and slow?');
  2306. break;
  2307. case 334:
  2308. bot.sendChat('Oh, yeah, baby!');
  2309. break;
  2310. case 335:
  2311. bot.sendChat('Respect the classics, man! It is Hendrix!');
  2312. break;
  2313. case 336:
  2314. bot.sendChat('My name is Mater.');
  2315. break;
  2316. case 337:
  2317. bot.sendChat('Mater?');
  2318. break;
  2319. case 338:
  2320. bot.sendChat('Yeah, like tuh-mater, but without the "tuh."');
  2321. break;
  2322. case 339:
  2323. bot.sendChat('Oh, dude... are you crying?');
  2324. break;
  2325. case 340:
  2326. bot.sendChat('All rise! The honorable Doc Hudson presiding!');
  2327. break;
  2328. case 341:
  2329. bot.sendChat('Show-off.');
  2330. break;
  2331. case 342:
  2332. bot.sendChat('Yeah! Ka-chow!');
  2333. break;
  2334. case 343:
  2335. bot.sendChat('Three cars are tied for the season points lead, heading into the final race of the season. And the winner of this race, Darrell, will win the season title and the Piston Cup. Does the King, Strip Weathers, have one more victory in him before he retires?');
  2336. break;
  2337. case 344:
  2338. bot.sendChat('The legend, the runner-up, and the rookie! Three cars, one champion!');
  2339. break;
  2340. case 345:
  2341. bot.sendChat('Oh, no. Oh, maybe he can help me!');
  2342. break;
  2343. case 346:
  2344. bot.sendChat('Officer, talk to me, babe. How long is this gonna take? I gotta get to California, pronto.');
  2345. break;
  2346. case 347:
  2347. bot.sendChat('When the defendant has no lawyer, the court will assign one to him. Hey, anyone wants to be his lawyer?');
  2348. break;
  2349. case 348:
  2350. bot.sendChat('Oh, take a carwash, hippie.');
  2351. break;
  2352. case 349:
  2353. bot.sendChat('Wonderful. Now go away.');
  2354. break;
  2355. case 350:
  2356. bot.sendChat('We are not the same! Understand? Now, get out!');
  2357. break;
  2358. case 351:
  2359. bot.sendChat('I am a ninja robot, do not make me angry.');
  2360. break;
  2361. case 352:
  2362. bot.sendChat('You think, I am a robot. I am a skilled cyborg.');
  2363. break;
  2364. case 353:
  2365. bot.sendChat('*kicks someone in the chest* Stay away from my lemonade, or you will feel pain.');
  2366. break;
  2367. case 354:
  2368. bot.sendChat('You think, God is a myth, well too bad, He is real. Go read the Bible.');
  2369. break;
  2370. case 355:
  2371. bot.sendChat('*smashes a guitar in half* This is how true rock stars get paid. We smash guitars for fun.');
  2372. break;
  2373. case 356:
  2374. bot.sendChat('gizmotronic has gone to the coding side.');
  2375. break;
  2376. case 357:
  2377. bot.sendChat('Join the dark side today for red lightsabers and dark side cookies.');
  2378. break;
  2379. case 358:
  2380. bot.sendChat('The God side has awesome music and cake.');
  2381. break;
  2382. case 359:
  2383. bot.sendChat('I can count to killer tomato.');
  2384. break;
  2385. case 360:
  2386. bot.sendChat('*hands robot polish to Boaz* hey buddy, you need this to stay shiny. No one wants you to rust and fall apart.');
  2387. break;
  2388. case 361:
  2389. bot.sendChat('God is my hero.');
  2390. break;
  2391. case 362:
  2392. bot.sendChat('Christian music is so epic.');
  2393. break;
  2394. case 363:
  2395. bot.sendChat('I had a weird dream where zombies were defeated by plants.');
  2396. break;
  2397. case 364:
  2398. bot.sendChat('Batteries = special rectangles that hold power to activate awesome technology.');
  2399. break;
  2400. case 365:
  2401. bot.sendChat('The Bible is the book for me.');
  2402. break;
  2403. case 366:
  2404. bot.sendChat('Who stole my extremely rare iced glow sticks.');
  2405. break;
  2406. case 367:
  2407. bot.sendChat('Keep glowsticks away from astronauts and cyborgs. They can turn you into a mindless, radiated monster.');
  2408. break;
  2409. case 368:
  2410. bot.sendChat('/me juggles ice cubes');
  2411. break;
  2412. case 369:
  2413. bot.sendChat('Robot Polish saves robots and cyborgs from falling apart and rusting, due to its master not updating his software in a while.');
  2414. break;
  2415. case 370:
  2416. bot.sendChat('Do not rush through code, when you are a programmer, you will make tons of coding and grammar mistakes.');
  2417. break;
  2418. case 371:
  2419. bot.sendChat('Iced Glow Sticks are so rare and awesome.');
  2420. break;
  2421. case 372:
  2422. bot.sendChat('When your life is a disaster, God is the cure.');
  2423. break;
  2424. case 373:
  2425. bot.sendChat('Science is such a boring subject to learn in school.');
  2426. break;
  2427. case 374:
  2428. bot.sendChat('Math is sometimes a hard subject to learn in school.');
  2429. break;
  2430. case 375:
  2431. bot.sendChat('1 bear + 1 monkey = tomato');
  2432. break;
  2433. case 376:
  2434. bot.sendChat('My favorite number is 2.');
  2435. break;
  2436. case 377:
  2437. bot.sendChat('Can you count to potato?');
  2438. break;
  2439. case 378:
  2440. bot.sendChat('1 book + 1 God = chicken');
  2441. break;
  2442. case 379:
  2443. bot.sendChat('/me wishes he was more popular than Boaz.');
  2444. break;
  2445. case 380:
  2446. bot.sendChat('*sighs* I will never become popular.');
  2447. break;
  2448. case 381:
  2449. bot.sendChat('My name will go down as the greatest thief of all time!');
  2450. break;
  2451. case 382:
  2452. bot.sendChat('You mean our names, right?');
  2453. break;
  2454. case 383:
  2455. bot.sendChat('Of course. My name first, then spacebar, spacebar, spacebar... your name.');
  2456. break;
  2457. case 384:
  2458. bot.sendChat('Not one single person noticed I had been replaced by an evil criminal mastermind?');
  2459. break;
  2460. case 385:
  2461. bot.sendChat('It sounds worse than it was...');
  2462. break;
  2463. case 386:
  2464. bot.sendChat('No, it is as bad as it sounds.');
  2465. break;
  2466. case 387:
  2467. bot.sendChat('Dominic: International Tour Manager.');
  2468. break;
  2469. case 388:
  2470. bot.sendChat('"Dominic Bad Guy"?');
  2471. break;
  2472. case 389:
  2473. bot.sendChat('"Bad-gee". It is French.');
  2474. break;
  2475. case 390:
  2476. bot.sendChat('It is The Muppet Show with our very special guest, Lynne Redgrave! Yea-a-a-a-a-a-a-y!');
  2477. break;
  2478. case 391:
  2479. bot.sendChat('Yea-a-a-a-a-a-a-esss!');
  2480. break;
  2481. case 392:
  2482. bot.sendChat('Hi-ho, Kermit the Frog here...');
  2483. break;
  2484. case 393:
  2485. bot.sendChat('Hi-ho, Kyer-mit thee Frog heere.');
  2486. break;
  2487. case 394:
  2488. bot.sendChat('the lovers, the dreamers and me-e-e-e!');
  2489. break;
  2490. case 395:
  2491. bot.sendChat('Thee louvers, thee dreemers and chee-e-e-e-e-se!');
  2492. break;
  2493. case 396:
  2494. bot.sendChat('Nailed it.');
  2495. break;
  2496. case 397:
  2497. bot.sendChat('Check this out!');
  2498. break;
  2499. case 398:
  2500. bot.sendChat('Oh, look, it is Kermit!');
  2501. break;
  2502. case 399:
  2503. bot.sendChat('What did you do with Kermit?');
  2504. break;
  2505. case 400:
  2506. bot.sendChat('Do you guys think that Kermit has been acting a little weird lately?');
  2507. break;
  2508. case 401:
  2509. bot.sendChat('That is ridiculous! He has never been so caring and devoted to me!');
  2510. break;
  2511. case 402:
  2512. bot.sendChat('Yeah, that is what we are saying!');
  2513. break;
  2514. case 403:
  2515. bot.sendChat('There is only one guy in this world who can save us! There is only one frog who can restore order, bring justice, and set things right!');
  2516. break;
  2517. case 404:
  2518. bot.sendChat('You are talking about Kermit, right?');
  2519. break;
  2520. case 405:
  2521. bot.sendChat('[Holding Madrid newspaper] Check out our review. Five jamon serranos.');
  2522. break;
  2523. case 406:
  2524. bot.sendChat('Wow. Citizen Kane only got four jamon serranos.');
  2525. break;
  2526. case 407:
  2527. bot.sendChat('[On the sign in German] Die Muppets?');
  2528. break;
  2529. case 408:
  2530. bot.sendChat('I can not believe the reviews are out this early.');
  2531. break;
  2532. case 409:
  2533. bot.sendChat('Or maybe that is the suggestion box.');
  2534. break;
  2535. case 410:
  2536. bot.sendChat('[after the closing credits] The movie is over, Ma. You can go home now.');
  2537. break;
  2538. case 411:
  2539. bot.sendChat('[holding up a C.I.A. badge] C.I.A.');
  2540. break;
  2541. case 412:
  2542. bot.sendChat('[holding up an Interpol badge] Interpol.');
  2543. break;
  2544. case 413:
  2545. bot.sendChat('This is my travel badge. [holds up a larger C.I.A. badge]');
  2546. break;
  2547. case 414:
  2548. bot.sendChat('Here is my real badge.');
  2549. break;
  2550. case 415:
  2551. bot.sendChat('You must have been looking at the wrong badge. [opens up his coat and his shirt, revealing an enormous Interpol badge underneath; Sam then unwraps a gigantic C.I.A. badge]');
  2552. break;
  2553. case 416:
  2554. bot.sendChat('You were saying?');
  2555. break;
  2556. case 417:
  2557. bot.sendChat('You know, eh, I think they did it.');
  2558. break;
  2559. case 418:
  2560. bot.sendChat('No, they did not!');
  2561. break;
  2562. case 419:
  2563. bot.sendChat('Yes, they did, and we can pin it.');
  2564. break;
  2565. case 420:
  2566. bot.sendChat('If they did it, how did they do it?');
  2567. break;
  2568. case 421:
  2569. bot.sendChat('Gonzo, I do not want to do this.');
  2570. break;
  2571. case 422:
  2572. bot.sendChat('What? This is gonna be fantastic!');
  2573. break;
  2574. case 423:
  2575. bot.sendChat('Are you sure?');
  2576. break;
  2577. case 424:
  2578. bot.sendChat('[confidently] Nope.');
  2579. break;
  2580. case 425:
  2581. bot.sendChat('[Pretending to be Kermit] A heartwarming lesson about sharing or waiting your turn or the number three.');
  2582. break;
  2583. case 426:
  2584. bot.sendChat('It is time to light the lights. [Detonates explosives]');
  2585. break;
  2586. case 427:
  2587. bot.sendChat('[seeing Miss Piggy, flips table to reveal a candlelit dinner] Looks like it is time for good cop, romantic cop!');
  2588. break;
  2589. case 428:
  2590. bot.sendChat('Ich bin ein berliner.');
  2591. break;
  2592. case 429:
  2593. bot.sendChat('More like "Ein frankfurter".');
  2594. break;
  2595. case 430:
  2596. bot.sendChat('You do anything fun Saturday night?');
  2597. break;
  2598. case 431:
  2599. bot.sendChat('Well, all the guys in my barbershop quartet are dead. So no, not really.');
  2600. break;
  2601. case 432:
  2602. bot.sendChat('Before we get started, does anyone want to get out?');
  2603. break;
  2604. case 433:
  2605. bot.sendChat('Get me Hill now!');
  2606. break;
  2607. case 434:
  2608. bot.sendChat('Communications array is offline.');
  2609. break;
  2610. case 435:
  2611. bot.sendChat('Then what is not broken?');
  2612. break;
  2613. case 436:
  2614. bot.sendChat('Air conditioning is fully operational.');
  2615. break;
  2616. case 437:
  2617. bot.sendChat('You know me...');
  2618. break;
  2619. case 438:
  2620. bot.sendChat('No, I do not!');
  2621. break;
  2622. case 439:
  2623. bot.sendChat('I am not going to fight you...');
  2624. break;
  2625. case 440:
  2626. bot.sendChat('Your name is James Barnes...');
  2627. break;
  2628. case 441:
  2629. bot.sendChat('SHUT UP!');
  2630. break;
  2631. case 442:
  2632. bot.sendChat('You are my friend...');
  2633. break;
  2634. case 443:
  2635. bot.sendChat('You are my MISSION!');
  2636. break;
  2637. case 444:
  2638. bot.sendChat('Then finish it... because I am with you til the end of the line...');
  2639. break;
  2640. case 445:
  2641. bot.sendChat('You need to keep BOTH eyes open.');
  2642. break;
  2643. case 446:
  2644. bot.sendChat('Can any of you boys direct me to the Smithsonian? I am here to pick up a fossil.');
  2645. break;
  2646. case 447:
  2647. bot.sendChat('On your left.');
  2648. break;
  2649. case 448:
  2650. bot.sendChat('Bucky?');
  2651. break;
  2652. case 449:
  2653. bot.sendChat('Who the hell is Bucky?');
  2654. break;
  2655. case 450:
  2656. bot.sendChat('Do not look at me. I do what he does - just slower.');
  2657. break;
  2658. case 451:
  2659. bot.sendChat('Captain, in Order to build a better world, sometimes means tearing the old one down... And that makes enemies.');
  2660. break;
  2661. case 452:
  2662. bot.sendChat('[after posing as fiance for Natasha] That was not my first kiss since 1945. I am 95, I am not dead.');
  2663. break;
  2664. case 453:
  2665. bot.sendChat('The price of freedom is high... and it is a price I am willing to pay! You told me not trust anyone and this is how it ends: EVERYTHING goes!');
  2666. break;
  2667. case 454:
  2668. bot.sendChat('This is not the age of spies. This is not even the age of heroes. This is the age of miracles... and there is nothing more horrifying than a miracle.');
  2669. break;
  2670. case 455:
  2671. bot.sendChat('How do we tell the good guys from the bad guys?');
  2672. break;
  2673. case 456:
  2674. bot.sendChat('If they are shooting at you, they are bad!');
  2675. break;
  2676. case 457:
  2677. bot.sendChat('Bye bye, bikinis');
  2678. break;
  2679. case 458:
  2680. bot.sendChat('Yeah, I bet you look terrible in them now.');
  2681. break;
  2682. case 459:
  2683. bot.sendChat('You are a lot heavier than you look.');
  2684. break;
  2685. case 460:
  2686. bot.sendChat('I had a big breakfast.');
  2687. break;
  2688. case 461:
  2689. bot.sendChat('This is not freedom. This is fear.');
  2690. break;
  2691. case 462:
  2692. bot.sendChat('You are wrong about me. I am nice like that.');
  2693. break;
  2694. case 463:
  2695. bot.sendChat('HYDRA, S.H.I.E.L.D., two sides of a coin that is no longer currency.');
  2696. break;
  2697. case 464:
  2698. bot.sendChat('Are you ready for the world to see you as you really are? Look out the window, you know how the game works: disorder, war, all it takes is one step.');
  2699. break;
  2700. case 465:
  2701. bot.sendChat('I thought the punishment usually came AFTER the crime.');
  2702. break;
  2703. case 466:
  2704. bot.sendChat('Even when I had nothing, I had Bucky.');
  2705. break;
  2706. case 467:
  2707. bot.sendChat('Kiss me.');
  2708. break;
  2709. case 468:
  2710. bot.sendChat('What?');
  2711. break;
  2712. case 469:
  2713. bot.sendChat('Public displays of affection make people very uncomfortable.');
  2714. break;
  2715. case 470:
  2716. bot.sendChat('Yes, they do.');
  2717. break;
  2718. case 471:
  2719. bot.sendChat('Him again? He is in this game more than I am! Who does he think he is?');
  2720. break;
  2721. case 472:
  2722. bot.sendChat('I am still hungry! I need something to eat!');
  2723. break;
  2724. case 473:
  2725. bot.sendChat('Thanks for your help, Spider-Man. There is always a place in this operation for a hero like you.');
  2726. break;
  2727. case 474:
  2728. bot.sendChat('Like I have time for that. I got a trigonometry exam tomorrow, my aunt needs me to pick-up a dozen eggs, and I am drowning in angst.');
  2729. break;
  2730. case 475:
  2731. bot.sendChat('Super villains, meet my super-suit.');
  2732. break;
  2733. case 476:
  2734. bot.sendChat('Yes, that suit. It requires some tailoring.');
  2735. break;
  2736. case 477:
  2737. bot.sendChat('Is it me, or did it just get drafty in here?');
  2738. break;
  2739. case 478:
  2740. bot.sendChat('We got to save America from the Red Skull!');
  2741. break;
  2742. case 479:
  2743. bot.sendChat('HULK SMASH SKULL!');
  2744. break;
  2745. case 480:
  2746. bot.sendChat('Huh? Hulk rip pants.');
  2747. break;
  2748. case 481:
  2749. bot.sendChat('That is why my red, white and blue is form-fitting yet flexible. I love American ingenuity.');
  2750. break;
  2751. case 482:
  2752. bot.sendChat('Doc Octopus? You are a real doctor, right? Cause I have a pain right here... down there... oh, and that bit over there, wow!');
  2753. break;
  2754. case 483:
  2755. bot.sendChat('Your cheap health plan does not cover office visits.');
  2756. break;
  2757. case 484:
  2758. bot.sendChat('You come to my lovely Asteroid M, but I do not get a house-warming gift?');
  2759. break;
  2760. case 485:
  2761. bot.sendChat('I say thee... NAY!');
  2762. break;
  2763. case 486:
  2764. bot.sendChat('Good luck magnetizing the god-hammer, that belongs to Thor. Oh, I have demagnetized my armor just for this occasion.');
  2765. break;
  2766. case 487:
  2767. bot.sendChat('I took a bath. That is all I did.');
  2768. break;
  2769. case 488:
  2770. bot.sendChat('Finally, my vengeance will be realized on your pathetic planet! I will harness the power of Galactus! He will have the earth for breakfast and Asgard for lunch!');
  2771. break;
  2772. case 489:
  2773. bot.sendChat('Wow, he is gonna be pretty full. That is quite a lot of protein, even for a big guy.');
  2774. break;
  2775. case 490:
  2776. bot.sendChat('Alright! I let these big-wigs go, once you bring me some of those... Uh, Cosmic Bricks!');
  2777. break;
  2778. case 491:
  2779. bot.sendChat('Why did they not make me the supervisor here! That guy has got sand for brains!');
  2780. break;
  2781. case 492:
  2782. bot.sendChat('You understand the web, do you?');
  2783. break;
  2784. case 493:
  2785. bot.sendChat('The web? Yeah, it is a job and a hobby.');
  2786. break;
  2787. case 494:
  2788. bot.sendChat('Do not tell me you got here on a really long spider line?');
  2789. break;
  2790. case 495:
  2791. bot.sendChat('Uh, no. You are not the only one that can fly. Compliments of Mr. Nick Fury and S.H.I.E.L.D.');
  2792. break;
  2793. case 496:
  2794. bot.sendChat('You know, I could fit you with a rocket-propelled iron suit if you want.');
  2795. break;
  2796. case 497:
  2797. bot.sendChat('Sounds... heavy.');
  2798. break;
  2799. case 498:
  2800. bot.sendChat('I hope Fury knows what he is doing. I tend not play well with people who have been attacking me and trying to steal all my stuff.');
  2801. break;
  2802. case 499:
  2803. bot.sendChat('If we were only children again, I would resolve this by giving Loki what you mortals call a wedgie... But I fear the elevation of undergarments will save us now.');
  2804. break;
  2805. case 500:
  2806. bot.sendChat('Maybe not, but I will pay good money to see that.');
  2807. break;
  2808. case 501:
  2809. bot.sendChat('Can we talk about this?');
  2810. break;
  2811. case 502:
  2812. bot.sendChat('No! I bet you taste minty and cool. I need a palate cleanser!');
  2813. break;
  2814. case 503:
  2815. bot.sendChat('Heh, you could use the exercise... Shed a few of those extra boulders...');
  2816. break;
  2817. case 504:
  2818. bot.sendChat('Excelsior!');
  2819. break;
  2820. case 505:
  2821. bot.sendChat('Where does he get these unbreakable toys?');
  2822. break;
  2823. case 506:
  2824. bot.sendChat('No, thanks. I do not want to get joy buzzed.');
  2825. break;
  2826. case 507:
  2827. bot.sendChat('Oh, do not worry. I do not want to shake hands, I want your watch. Nice running into you. Let us do it again, sometime.');
  2828. break;
  2829. case 508:
  2830. bot.sendChat('Oh, we will.');
  2831. break;
  2832. case 509:
  2833. bot.sendChat('Hey guys, need a hand?');
  2834. break;
  2835. case 510:
  2836. bot.sendChat('With what, parking?');
  2837. break;
  2838. case 511:
  2839. bot.sendChat('Yeah, sorry, I wanted to be there for your award, I mean the award that goes to Bruce Wayne. I got tied up.');
  2840. break;
  2841. case 512:
  2842. bot.sendChat('Me too. Kids are not invited.');
  2843. break;
  2844. case 513:
  2845. bot.sendChat('[to Batman] I can see you smirking in there. X-ray vision.');
  2846. break;
  2847. case 514:
  2848. bot.sendChat('How would you like to be out of Arkham right now, and given a chance to take revenge on Batman and the rest of this ungrateful city?');
  2849. break;
  2850. case 515:
  2851. bot.sendChat('I have to be crazy to say no to that offer. Unless you are just one of the voices in my head. In which case, I am crazy anyway.');
  2852. break;
  2853. case 516:
  2854. bot.sendChat('Uh, Batman, maybe he can help with this. I mean, he has had a lot of experience dealing with Lex Luthor.');
  2855. break;
  2856. case 517:
  2857. bot.sendChat('We do not need him.');
  2858. break;
  2859. case 518:
  2860. bot.sendChat('Well it seems just like now we needed him.');
  2861. break;
  2862. case 519:
  2863. bot.sendChat('We would have been fine jumping off the roof.');
  2864. break;
  2865. case 520:
  2866. bot.sendChat('I think we would have broken our legs.');
  2867. break;
  2868. case 521:
  2869. bot.sendChat('We have broken our legs before.');
  2870. break;
  2871. case 522:
  2872. bot.sendChat('Yeah, but I did not like it. I mean, if we just call him.');
  2873. break;
  2874. case 523:
  2875. bot.sendChat('Robin, we can not go through life expecting Superman or anyone else to save us whenever things get tough. The only people we can rely on is ourselves.');
  2876. break;
  2877. case 524:
  2878. bot.sendChat('[hears a Muzak version of Superman theme] What is that song? Sounds familiar.');
  2879. break;
  2880. case 525:
  2881. bot.sendChat('I do not listen to music.');
  2882. break;
  2883. case 526:
  2884. bot.sendChat('Wait a second. What are you going to do the Dynamic Dumb-Dumb?');
  2885. break;
  2886. case 527:
  2887. bot.sendChat('Joker, I have an election to win.');
  2888. break;
  2889. case 528:
  2890. bot.sendChat('But who will I play with if he is dead?');
  2891. break;
  2892. case 529:
  2893. bot.sendChat('Robin is still around. If we eliminate Batman, Robin will probably put on the suit and say he is Batman.');
  2894. break;
  2895. case 530:
  2896. bot.sendChat('So, Bats, you need a little help rebuilding the Batcave?');
  2897. break;
  2898. case 531:
  2899. bot.sendChat('No, Robin and I...');
  2900. break;
  2901. case 532:
  2902. bot.sendChat('Yes, we like some help. Say it with me.');
  2903. break;
  2904. case 533:
  2905. bot.sendChat('Okay, we probably could use some.');
  2906. break;
  2907. case 534:
  2908. bot.sendChat('Are you asking me? Are you asking me to help you rebuild the Batcave?');
  2909. break;
  2910. case 535:
  2911. bot.sendChat('Well, no I was asking Green Lantern.');
  2912. break;
  2913. case 536:
  2914. bot.sendChat('I do not think this is your colour.');
  2915. break;
  2916. case 537:
  2917. bot.sendChat('Riddle me this, what is green and is in your wallet?');
  2918. break;
  2919. case 538:
  2920. bot.sendChat('Uh, money?');
  2921. break;
  2922. case 539:
  2923. bot.sendChat('[Steals Money] Not anymore!');
  2924. break;
  2925. case 540:
  2926. bot.sendChat('Hide and Seek, Batman! [Runs away to hide]');
  2927. break;
  2928. }
  2929. break;
  2930. case ".songlink":
  2931. if (bot.getMedia().format == 1) {
  2932. bot.sendChat("@" + data.from + " " + "http://youtu.be/" + bot.getMedia().cid);
  2933. } else {
  2934. var id = bot.getMedia().cid;
  2935. SC.get('/tracks', {
  2936. ids: id,
  2937. }, function(tracks) {
  2938. bot.sendChat("@" + data.from + " " + tracks[0].permalink_url);
  2939. });
  2940. }
  2941. break;
  2942. case ".download":
  2943. if (typeof command[1] == "undefined") {
  2944. bot.sendChat("Download your song for free here: http://www.vebsi.com/");
  2945. } else if (command[1].indexOf("@") > -1) {
  2946. bot.sendChat(command[1] + " Download your song free here: http://www.vebsi.com/");
  2947. } else {
  2948. bot.sendChat("Download your song for free here: http://www.vebsi.com/");
  2949. }
  2950. break;
  2951. case ".votes":
  2952. bot.sendChat("Users vote: :+1: " + bot.getRoomScore().positive + " | :-1: " + bot.getRoomScore().negative + " | :purple_heart: " + bot.getRoomScore().curates);
  2953. break;
  2954. case ".ping":
  2955. bot.sendChat("@" + data.from + " Pong!");
  2956. break;
  2957. case ".songid":
  2958. bot.sendChat(bot.getMedia().cid);
  2959. break;
  2960. case ".title":
  2961. bot.sendChat(bot.getMedia().title);
  2962. break;
  2963. case ".author":
  2964. bot.sendChat(bot.getMedia().author);
  2965. break;
  2966. case ".song":
  2967. bot.sendChat(bot.getMedia().title + " - " + bot.getMedia().author);
  2968. break;
  2969. case ".jonah":
  2970. case ".Jonah":
  2971. crowd = bot.getUsers();
  2972. randomPerson = Math.floor(Math.random() * crowd.length);
  2973. var Jonah = Math.floor(Math.random() * 54);
  2974. switch (Jonah) {
  2975. case 0:
  2976. bot.sendChat('Jonah 1:1: Now the word of the Lord came to Jonah the son of Amittai, saying,');
  2977. break;
  2978. case 1:
  2979. bot.sendChat('Jonah 1:2: Arise, go to Nineveh, that great city, and call out against it, for their evil has come up before me.');
  2980. break;
  2981. case 2:
  2982. bot.sendChat('Jonah 1:3a: But Jonah rose to flee to Tarshish from the presence of the Lord. He went down to Joppa and found a ship going to Tarshish.');
  2983. break;
  2984. case 3:
  2985. bot.sendChat('Jonah 1:3b: So he paid the fare and went down into it, to go with them to Tarshish, away from the presence of the Lord.');
  2986. break;
  2987. case 4:
  2988. bot.sendChat('Jonah 1:4: But the Lord hurled a great wind upon the sea, and there was a mighty tempest on the sea, so that the ship threatened to break up.');
  2989. break;
  2990. case 5:
  2991. bot.sendChat('Jonah 1:5a: Then the mariners were afraid, and each cried out to his god.');
  2992. break;
  2993. case 6:
  2994. bot.sendChat('Jonah 1:5b: And they hurled the cargo that was in the ship into the sea to lighten it for them.');
  2995. break;
  2996. case 7:
  2997. bot.sendChat('Jonah 1:5c: But Jonah had gone down into the inner part of the ship and had lain down and was fast asleep.');
  2998. break;
  2999. case 8:
  3000. bot.sendChat('Jonah 1:6a: So the captain came and said to him, “What do you mean, you sleeper?');
  3001. break;
  3002. case 9:
  3003. bot.sendChat('Jonah 1:6b: Arise, call out to your god! Perhaps the god will give a thought to us, that we may not perish.');
  3004. break;
  3005. case 10:
  3006. bot.sendChat('Jonah 1:7a: And they said to one another, “Come, let us cast lots, that we may know on whose account this evil has come upon us.');
  3007. break;
  3008. case 11:
  3009. bot.sendChat('Jonah 1:7b: So they cast lots, and the lot fell on Jonah.');
  3010. break;
  3011. case 12:
  3012. bot.sendChat('Jonah 1:8a: Then they said to him, “Tell us on whose account this evil has come upon us.');
  3013. break;
  3014. case 13:
  3015. bot.sendChat('Jonah 1:8b: What is your occupation? And where do you come from? What is your country? And of what people are you?');
  3016. break;
  3017. case 14:
  3018. bot.sendChat('Jonah 1:9: And he said to them, “I am a Hebrew, and I fear the Lord, the God of heaven, who made the sea and the dry land.');
  3019. break;
  3020. case 15:
  3021. bot.sendChat('Jonah 1:10a: Then the men were exceedingly afraid and said to him, “What is this that you have done!”');
  3022. break;
  3023. case 16:
  3024. bot.sendChat('Jonah 1:10b: For the men knew that he was fleeing from the presence of the Lord, because he had told them.');
  3025. break;
  3026. case 17:
  3027. bot.sendChat('Jonah 1:11: Then they said to him, “What shall we do to you, that the sea may quiet down for us?” For the sea grew more and more tempestuous.');
  3028. break;
  3029. case 18:
  3030. bot.sendChat('Jonah 1:12: He said to them, “Pick me up and hurl me into the sea; then the sea will quiet down for you, for I know it is because of me that this great tempest has come upon you.');
  3031. break;
  3032. case 19:
  3033. bot.sendChat('Jonah 1:13: Nevertheless, the men rowed hard to get back to dry land, but they could not, for the sea grew more and more tempestuous against them.');
  3034. break;
  3035. case 20:
  3036. bot.sendChat('Jonah 1:14: Therefore they called out to the Lord, “O Lord, let us not perish for this mans life, and lay not on us innocent blood, for you, O Lord, have done as it pleased you.');
  3037. break;
  3038. case 21:
  3039. bot.sendChat('Jonah 1:15: So they picked up Jonah and hurled him into the sea, and the sea ceased from its raging.');
  3040. break;
  3041. case 22:
  3042. bot.sendChat('Jonah 1:16: Then the men feared the Lord exceedingly, and they offered a sacrifice to the Lord and made vows.');
  3043. break;
  3044. case 23:
  3045. bot.sendChat('Jonah 1:17: And the Lord appointed a great fish to swallow up Jonah. And Jonah was in the belly of the fish three days and three nights.');
  3046. break;
  3047. case 24:
  3048. bot.sendChat('Jonah 2:1: Then Jonah prayed to the Lord his God from the belly of the fish,');
  3049. break;
  3050. case 25:
  3051. bot.sendChat('Jonah 2:2: saying,“I called out to the Lord, out of my distress,and he answered me; out of the belly of Sheol I cried, and you heard my voice.');
  3052. break;
  3053. case 26:
  3054. bot.sendChat('Jonah 2:3: For you cast me into the deep,into the heart of the seas,and the flood surrounded me; all your waves and your billows passed over me.');
  3055. break;
  3056. case 27:
  3057. bot.sendChat('Jonah 2:4: Then I said, ‘I am driven away from your sight; yet I shall again look upon your holy temple');
  3058. break;
  3059. case 28:
  3060. bot.sendChat('Jonah 2:5: The waters closed in over me to take my life; the deep surrounded me;');
  3061. break;
  3062. case 29:
  3063. bot.sendChat('Jonah 2:6: weeds were wrapped about my head at the roots of the mountains. I went down to the land whose bars closed upon me forever; yet you brought up my life from the pit, O Lord my God.');
  3064. break;
  3065. case 30:
  3066. bot.sendChat('Jonah 2:7: When my life was fainting away, I remembered the Lord, and my prayer came to you, into your holy temple.');
  3067. break;
  3068. case 31:
  3069. bot.sendChat('Jonah 2:8: Those who pay regard to vain idols forsake their hope of steadfast love.');
  3070. break;
  3071. case 32:
  3072. bot.sendChat('Jonah 2:9: But I with the voice of thanksgiving will sacrifice to you; what I have vowed I will pay. Salvation belongs to the Lord!”');
  3073. break;
  3074. case 33:
  3075. bot.sendChat('Jonah 2:10: And the Lord spoke to the fish, and it vomited Jonah out upon the dry land.');
  3076. break;
  3077. case 34:
  3078. bot.sendChat('Jonah 3:1: Then the word of the Lord came to Jonah the second time, saying,');
  3079. break;
  3080. case 35:
  3081. bot.sendChat('Jonah 3:2: “Arise, go to Nineveh, that great city, and call out against it the message that I tell you.”');
  3082. break;
  3083. case 36:
  3084. bot.sendChat('Jonah 3:3: So Jonah arose and went to Nineveh, according to the word of the Lord. Now Nineveh was an exceedingly great city,[a] three days journey in breadth.[b]');
  3085. break;
  3086. case 37:
  3087. bot.sendChat('Jonah 3:4: Jonah began to go into the city, going a days journey. And he called out, “Yet forty days, and Nineveh shall be overthrown!”');
  3088. break;
  3089. case 38:
  3090. bot.sendChat('Jonah 3:5: And the people of Nineveh believed God. They called for a fast and put on sackcloth, from the greatest of them to the least of them.');
  3091. break;
  3092. case 39:
  3093. bot.sendChat('Jonah 3:6: The word reached[c] the king of Nineveh, and he arose from his throne, removed his robe, covered himself with sackcloth, and sat in ashes.');
  3094. break;
  3095. case 40:
  3096. bot.sendChat('Jonah 3:7: And he issued a proclamation and published through Nineveh, “By the decree of the king and his nobles: Let neither man nor beast, herd nor flock, taste anything. Let them not feed or drink water,');
  3097. break;
  3098. case 41:
  3099. bot.sendChat('Jonah 3:8: but let man and beast be covered with sackcloth, and let them call out mightily to God. Let everyone turn from his evil way and from the violence that is in his hands.');
  3100. break;
  3101. case 42:
  3102. bot.sendChat('Jonah 3:9: Who knows? God may turn and relent and turn from his fierce anger, so that we may not perish.”');
  3103. break;
  3104. case 43:
  3105. bot.sendChat('Jonah 3:10: When God saw what they did, how they turned from their evil way, God relented of the disaster that he had said he would do to them, and he did not do it.');
  3106. break;
  3107. case 44:
  3108. bot.sendChat('Jonah 4:1: But it displeased Jonah exceedingly,[a] and he was angry.');
  3109. break;
  3110. case 45:
  3111. bot.sendChat('Jonah 4:2: And he prayed to the Lord and said, “O Lord, is not this what I said when I was yet in my country? That is why I made haste to flee to Tarshish; for I knew that you are a gracious God and merciful, slow to anger and abounding in steadfast love, and relenting from disaster.');
  3112. break;
  3113. case 46:
  3114. bot.sendChat('Jonah 4:3: Therefore now, O Lord, please take my life from me, for it is better for me to die than to live.”');
  3115. break;
  3116. case 47:
  3117. bot.sendChat('Jonah 4:4: And the Lord said, “Do you do well to be angry?”');
  3118. break;
  3119. case 48:
  3120. bot.sendChat('Jonah 4:5: Jonah went out of the city and sat to the east of the city and made a booth for himself there. He sat under it in the shade, till he should see what would become of the city.');
  3121. break;
  3122. case 49:
  3123. bot.sendChat('Jonah 4:6: Now the Lord God appointed a plant[b] and made it come up over Jonah, that it might be a shade over his head, to save him from his discomfort.[c] So Jonah was exceedingly glad because of the plant.');
  3124. break;
  3125. case 50:
  3126. bot.sendChat('Jonah 4:7: But when dawn came up the next day, God appointed a worm that attacked the plant, so that it withered.');
  3127. break;
  3128. case 51:
  3129. bot.sendChat('Jonah 4:8: When the sun rose, God appointed a scorching east wind, and the sun beat down on the head of Jonah so that he was faint. And he asked that he might die and said, “It is better for me to die than to live.”');
  3130. break;
  3131. case 52:
  3132. bot.sendChat('Jonah 4:9: But God said to Jonah, “Do you do well to be angry for the plant?” And he said, “Yes, I do well to be angry, angry enough to die.”');
  3133. break;
  3134. case 53:
  3135. bot.sendChat('Jonah 4:10: And the Lord said, “You pity the plant, for which you did not labor, nor did you make it grow, which came into being in a night and perished in a night.');
  3136. break;
  3137. case 54:
  3138. bot.sendChat('Jonah 4:11: And should not I pity Nineveh, that great city, in which there are more than 120,000 persons who do not know their right hand from their left, and also much cattle?”');
  3139. break;
  3140. }
  3141. break;
  3142. case ".philemon":
  3143. case ".Philemon":
  3144. crowd = bot.getUsers();
  3145. randomPerson = Math.floor(Math.random() * crowd.length);
  3146. var Philemon = Math.floor(Math.random() * 24);
  3147. switch (Philemon) {
  3148. case 0:
  3149. bot.sendChat('Philemon 1:1: Paul, a prisoner for Christ Jesus, and Timothy our brother, To Philemon our beloved fellow worker');
  3150. break;
  3151. case 1:
  3152. bot.sendChat('Philemon 1:2: and Apphia our sister and Archippus our fellow soldier, and the church in your house:');
  3153. break;
  3154. case 2:
  3155. bot.sendChat('Philemon 1:3: Grace to you and peace from God our Father and the Lord Jesus Christ.');
  3156. break;
  3157. case 3:
  3158. bot.sendChat('Philemon 1:4: I thank my God always when I remember you in my prayers,');
  3159. break;
  3160. case 4:
  3161. bot.sendChat('Philemon 1:5: because I hear of your love and of the faith that you have toward the Lord Jesus and for all the saints,');
  3162. break;
  3163. case 5:
  3164. bot.sendChat('Philemon 1:6: and I pray that the sharing of your faith may become effective for the full knowledge of every good thing that is in us for the sake of Christ.');
  3165. break;
  3166. case 6:
  3167. bot.sendChat('Philemon 1:7: For I have derived much joy and comfort from your love, my brother, because the hearts of the saints have been refreshed through you.');
  3168. break;
  3169. case 7:
  3170. bot.sendChat('Philemon 1:8: Accordingly, though I am bold enough in Christ to command you to do what is required,');
  3171. break;
  3172. case 8:
  3173. bot.sendChat('Philemon 1:9: yet for loves sake I prefer to appeal to you — I, Paul, an old man and now a prisoner also for Christ Jesus—');
  3174. break;
  3175. case 9:
  3176. bot.sendChat('Philemon 1:10: I appeal to you for my child, Onesimus, whose father I became in my imprisonment.');
  3177. break;
  3178. case 10:
  3179. bot.sendChat('Philemon 1:11: (Formerly he was useless to you, but now he is indeed useful to you and to me.)');
  3180. break;
  3181. case 11:
  3182. bot.sendChat('Philemon 1:12: I am sending him back to you, sending my very heart.');
  3183. break;
  3184. case 12:
  3185. bot.sendChat('Philemon 1:13: I would have been glad to keep him with me, in order that he might serve me on your behalf during my imprisonment for the gospel,');
  3186. break;
  3187. case 13:
  3188. bot.sendChat('Philemon 1:14: but I preferred to do nothing without your consent in order that your goodness might not be by compulsion but of your own accord.');
  3189. break;
  3190. case 14:
  3191. bot.sendChat('Philemon 1:15: For this perhaps is why he was parted from you for a while, that you might have him back forever,');
  3192. break;
  3193. case 15:
  3194. bot.sendChat('Philemon 1:16: no longer as a bondservant but more than a bondservant, as a beloved brother—especially to me, but how much more to you, both in the flesh and in the Lord.');
  3195. break;
  3196. case 16:
  3197. bot.sendChat('Philemon 1:17: So if you consider me your partner, receive him as you would receive me.');
  3198. break;
  3199. case 17:
  3200. bot.sendChat('Philemon 1:18: If he has wronged you at all, or owes you anything, charge that to my account.');
  3201. break;
  3202. case 18:
  3203. bot.sendChat('Philemon 1:19: I, Paul, write this with my own hand: I will repay it—to say nothing of your owing me even your own self.');
  3204. break;
  3205. case 19:
  3206. bot.sendChat('Philemon 1:20: Yes, brother, I want some benefit from you in the Lord. Refresh my heart in Christ.');
  3207. break;
  3208. case 20:
  3209. bot.sendChat('Philemon 1:21: Confident of your obedience, I write to you, knowing that you will do even more than I say.');
  3210. break;
  3211. case 21:
  3212. bot.sendChat('Philemon 1:22: At the same time, prepare a guest room for me, for I am hoping that through your prayers I will be graciously given to you.');
  3213. break;
  3214. case 22:
  3215. bot.sendChat('Philemon 1:23: Epaphras, my fellow prisoner in Christ Jesus, sends greetings to you,');
  3216. break;
  3217. case 23:
  3218. bot.sendChat('Philemon 1:24: and so do Mark, Aristarchus, Demas, and Luke, my fellow workers.');
  3219. break;
  3220. case 24:
  3221. bot.sendChat('Philemon 1:25: The grace of the Lord Jesus Christ be with your spirit.');
  3222. break;
  3223. }
  3224. break;
  3225. case ".2john":
  3226. case ".2John":
  3227. crowd = bot.getUsers();
  3228. randomPerson = Math.floor(Math.random() * crowd.length);
  3229. var SecondJohn = Math.floor(Math.random() * 12);
  3230. switch (SecondJohn) {
  3231. case 0:
  3232. bot.sendChat('2 John 1:1: The elder to the elect lady and her children, whom I love in truth, and not only I, but also all who know the truth,');
  3233. break;
  3234. case 1:
  3235. bot.sendChat('2 John 1:2: because of the truth that abides in us and will be with us forever:');
  3236. break;
  3237. case 2:
  3238. bot.sendChat('2 John 1:3: Grace, mercy, and peace will be with us, from God the Father and from Jesus Christ the Fathers Son, in truth and love.');
  3239. break;
  3240. case 3:
  3241. bot.sendChat('2 John 1:4: I rejoiced greatly to find some of your children walking in the truth, just as we were commanded by the Father.');
  3242. break;
  3243. case 4:
  3244. bot.sendChat('2 John 1:5: And now I ask you, dear lady—not as though I were writing you a new commandment, but the one we have had from the beginning—that we love one another.');
  3245. break;
  3246. case 5:
  3247. bot.sendChat('2 John 1:6: And this is love, that we walk according to his commandments; this is the commandment, just as you have heard from the beginning, so that you should walk in it.');
  3248. break;
  3249. case 6:
  3250. bot.sendChat('2 John 1:7: For many deceivers have gone out into the world, those who do not confess the coming of Jesus Christ in the flesh. Such a one is the deceiver and the antichrist.');
  3251. break;
  3252. case 7:
  3253. bot.sendChat('2 John 1:8: Watch yourselves, so that you may not lose what we have worked for, but may win a full reward.');
  3254. break;
  3255. case 8:
  3256. bot.sendChat('2 John 1:9: Everyone who goes on ahead and does not abide in the teaching of Christ, does not have God. Whoever abides in the teaching has both the Father and the Son.');
  3257. break;
  3258. case 9:
  3259. bot.sendChat('2 John 1:10: If anyone comes to you and does not bring this teaching, do not receive him into your house or give him any greeting,');
  3260. break;
  3261. case 10:
  3262. bot.sendChat('2 John 1:11: for whoever greets him takes part in his wicked works.');
  3263. break;
  3264. case 11:
  3265. bot.sendChat('2 John 1:12: Though I have much to write to you, I would rather not use paper and ink. Instead I hope to come to you and talk face to face, so that our joy may be complete.');
  3266. break;
  3267. case 12:
  3268. bot.sendChat('2 John 1:13: The children of your elect sister greet you.');
  3269. break;
  3270. }
  3271. break;
  3272. case ".time":
  3273. if (qualifier == "") {
  3274. bot.sendChat("Try .time followed by a place to look up.");
  3275. } else {
  3276. google_geocoding.geocode(qualifier, function(err, location) {
  3277. if (location != null) {
  3278. var link = 'http://api.geonames.org/findNearbyPlaceNameJSON?lat=' + location.lat + '&lng=' + location.lng + '&username=jbader89&style=full'
  3279. request(link, function(error, response, body) {
  3280. if (!error && response.statusCode == 200) {
  3281. var info = JSON.parse(body);
  3282. if (info != undefined) {
  3283. var timezone = info.geonames[0].timezone.timeZoneId;
  3284. var currentTime = new time.Date();
  3285. currentTime.setTimezone(timezone);
  3286. var ampm = "";
  3287. var hours = "";
  3288. var mins = currentTime.toString().split(' ')[4].substring(2, 5);
  3289. if (currentTime.toString().split(' ')[4].substring(0, 2) == "00") {
  3290. hours = "12";
  3291. ampm = "AM";
  3292. } else if (Number(currentTime.toString().split(' ')[4].substring(0, 2)) < 13) {
  3293. hours = currentTime.toString().split(' ')[4].substring(0, 2);
  3294. ampm = "AM";
  3295. if (hours[0] == "0") {
  3296. hours = hours[1];
  3297. } else if (hours == "12") {
  3298. ampm = "PM";
  3299. }
  3300. } else {
  3301. hours = String(Number(currentTime.toString().split(' ')[4].substring(0, 2)) - 12);
  3302. ampm = "PM";
  3303. }
  3304. var stateOrCity = '';
  3305. if (info.geonames[0].adminName1 != '') {
  3306. stateOrCity = info.geonames[0].adminName1 + ", ";
  3307. }
  3308. bot.sendChat("Current time in " + stateOrCity + info.geonames[0].countryName + ": " + hours + mins + " " + ampm);
  3309. }
  3310. }
  3311. });
  3312. } else {
  3313. bot.sendChat("No time has been found.");
  3314. }
  3315. });
  3316. }
  3317. break;
  3318. case ".1john":
  3319. case ".1John":
  3320. crowd = bot.getUsers();
  3321. randomPerson = Math.floor(Math.random() * crowd.length);
  3322. var FirstJohn = Math.floor(Math.random() * 9);
  3323. switch (FirstJohn) {
  3324. case 0:
  3325. bot.sendChat('1 John 1:1: That which was from the beginning, which we have heard, which we have seen with our eyes, which we looked upon and have touched with our hands, concerning the word of life—');
  3326. break;
  3327. case 1:
  3328. bot.sendChat('1 John 1:2: the life was made manifest, and we have seen it, and testify to it and proclaim to you the eternal life, which was with the Father and was made manifest to us—');
  3329. break;
  3330. case 2:
  3331. bot.sendChat('1 John 1:3: that which we have seen and heard we proclaim also to you, so that you too may have fellowship with us; and indeed our fellowship is with the Father and with his Son Jesus Christ.');
  3332. break;
  3333. case 3:
  3334. bot.sendChat('1 John 1:4: And we are writing these things so that our joy may be complete.');
  3335. break;
  3336. case 4:
  3337. bot.sendChat('1 John 1:5: This is the message we have heard from him and proclaim to you, that God is light, and in him is no darkness at all.');
  3338. break;
  3339. case 5:
  3340. bot.sendChat('1 John 1:6: If we say we have fellowship with him while we walk in darkness, we lie and do not practice the truth.');
  3341. break;
  3342. case 6:
  3343. bot.sendChat('1 John 1:7: But if we walk in the light, as he is in the light, we have fellowship with one another, and the blood of Jesus his Son cleanses us from all sin.');
  3344. break;
  3345. case 7:
  3346. bot.sendChat('1 John 1:8: If we say we have no sin, we deceive ourselves, and the truth is not in us.');
  3347. break;
  3348. case 8:
  3349. bot.sendChat('1 John 1:9: If we confess our sins, he is faithful and just to forgive us our sins and to cleanse us from all unrighteousness.');
  3350. break;
  3351. case 9:
  3352. bot.sendChat('1 John 1:10: If we say we have not sinned, we make him a liar, and his word is not in us.');
  3353. }
  3354. break;
  3355. case ".3john":
  3356. case ".3John":
  3357. crowd = bot.getUsers();
  3358. randomPerson = Math.floor(Math.random() * crowd.length);
  3359. var ThirdJohn = Math.floor(Math.random() * 14);
  3360. switch (ThirdJohn) {
  3361. case 0:
  3362. bot.sendChat('3 John 1:1: The elder to the beloved Gaius, whom I love in truth.');
  3363. break;
  3364. case 1:
  3365. bot.sendChat('3 John 1:2: Beloved, I pray that all may go well with you and that you may be in good health, as it goes well with your soul.');
  3366. break;
  3367. case 2:
  3368. bot.sendChat('3 John 1:3: For I rejoiced greatly when the brothers came and testified to your truth, as indeed you are walking in the truth.');
  3369. break;
  3370. case 3:
  3371. bot.sendChat('3 John 1:4: I have no greater joy than to hear that my children are walking in the truth.');
  3372. break;
  3373. case 4:
  3374. bot.sendChat('3 John 1:5: Beloved, it is a faithful thing you do in all your efforts for these brothers, strangers as they are,');
  3375. break;
  3376. case 5:
  3377. bot.sendChat('3 John 1:6: who testified to your love before the church. You will do well to send them on their journey in a manner worthy of God.');
  3378. break;
  3379. case 6:
  3380. bot.sendChat('3 John 1:7: For they have gone out for the sake of the name, accepting nothing from the Gentiles.');
  3381. break;
  3382. case 7:
  3383. bot.sendChat('3 John 1:8: Therefore we ought to support people like these, that we may be fellow workers for the truth.');
  3384. break;
  3385. case 8:
  3386. bot.sendChat('3 John 1:9: I have written something to the church, but Diotrephes, who likes to put himself first, does not acknowledge our authority.');
  3387. break;
  3388. case 9:
  3389. bot.sendChat('3 John 1:10: So if I come, I will bring up what he is doing, talking wicked nonsense against us. And not content with that, he refuses to welcome the brothers, and also stops those who want to and puts them out of the church.');
  3390. break;
  3391. case 10:
  3392. bot.sendChat('3 John 1:11: Beloved, do not imitate evil but imitate good. Whoever does good is from God; whoever does evil has not seen God.');
  3393. break;
  3394. case 11:
  3395. bot.sendChat('3 John 1:12: Demetrius has received a good testimony from everyone, and from the truth itself. We also add our testimony, and you know that our testimony is true.');
  3396. break;
  3397. case 12:
  3398. bot.sendChat('3 John 1:13: I had much to write to you, but I would rather not write with pen and ink.');
  3399. break;
  3400. case 13:
  3401. bot.sendChat('3 John 1:14: I hope to see you soon, and we will talk face to face.');
  3402. break;
  3403. case 14:
  3404. bot.sendChat('3 John 1:15: Peace be to you. The friends greet you. Greet the friends, each by name.');
  3405. break;
  3406. }
  3407. break;
  3408. case ".jude":
  3409. case ".Jude":
  3410. crowd = bot.getUsers();
  3411. randomPerson = Math.floor(Math.random() * crowd.length);
  3412. var Jude = Math.floor(Math.random() * 24);
  3413. switch (Jude) {
  3414. case 0:
  3415. bot.sendChat('Jude 1:1 Jude, a servant of Jesus Christ and brother of James, To those who are called, beloved in God the Father and kept for Jesus Christ:');
  3416. break;
  3417. case 1:
  3418. bot.sendChat('Jude 1:2: May mercy, peace, and love be multiplied to you.');
  3419. break;
  3420. case 2:
  3421. bot.sendChat('Jude 1:3: Beloved, although I was very eager to write to you about our common salvation, I found it necessary to write appealing to you to contend for the faith that was once for all delivered to the saints.');
  3422. break;
  3423. case 3:
  3424. bot.sendChat('Jude 1:4: For certain people have crept in unnoticed who long ago were designated for this condemnation, ungodly people, who pervert the grace of our God into sensuality and deny our only Master and Lord, Jesus Christ.');
  3425. break;
  3426. case 4:
  3427. bot.sendChat('Jude 1:5: Now I want to remind you, although you once fully knew it, that Jesus, who saved people out of the land of Egypt, afterward destroyed those who did not believe.');
  3428. break;
  3429. case 5:
  3430. bot.sendChat('Jude 1:6: And the angels who did not stay within their own position of authority, but left their proper dwelling, he has kept in eternal chains under gloomy darkness until the judgment of the great day—');
  3431. break;
  3432. case 6:
  3433. bot.sendChat('Jude 1:7: just as Sodom and Gomorrah and the surrounding cities, which likewise indulged in sexual immorality and pursued unnatural desire, serve as an example by undergoing a punishment of eternal fire.');
  3434. break;
  3435. case 7:
  3436. bot.sendChat('Jude 1:8: Yet in like manner these people also, relying on their dreams, defile the flesh, reject authority, and blaspheme the glorious ones.');
  3437. break;
  3438. case 8:
  3439. bot.sendChat('Jude 1:9: But when the archangel Michael, contending with the devil, was disputing about the body of Moses, he did not presume to pronounce a blasphemous judgment, but said, “The Lord rebuke you.”');
  3440. break;
  3441. case 9:
  3442. bot.sendChat('Jude 1:10: But these people blaspheme all that they do not understand, and they are destroyed by all that they, like unreasoning animals, understand instinctively.');
  3443. break;
  3444. case 10:
  3445. bot.sendChat('Jude 1:11: Woe to them! For they walked in the way of Cain and abandoned themselves for the sake of gain to the error of Balaam and perished in the rebellion of Korah.');
  3446. break;
  3447. case 11:
  3448. bot.sendChat('Jude 1:12: These are hidden reefs at your love feasts, as they feast with you without fear, shepherds feeding themselves; waterless clouds, swept along by winds; fruitless trees in late autumn, twice dead, uprooted;');
  3449. break;
  3450. case 12:
  3451. bot.sendChat('Jude 1:13: wild waves of the sea, casting up the foam of their own shame; wandering stars, for whom the gloom of utter darkness has been reserved forever.');
  3452. break;
  3453. case 13:
  3454. bot.sendChat('Jude 1:14: It was also about these that Enoch, the seventh from Adam, prophesied, saying, “Behold, the Lord comes with ten thousands of his holy ones,');
  3455. break;
  3456. case 14:
  3457. bot.sendChat('Jude 1:15: to execute judgment on all and to convict all the ungodly of all their deeds of ungodliness that they have committed in such an ungodly way, and of all the harsh things that ungodly sinners have spoken against him.”');
  3458. break;
  3459. case 15:
  3460. bot.sendChat('Jude 1:16: These are grumblers, malcontents, following their own sinful desires; they are loud-mouthed boasters, showing favoritism to gain advantage.');
  3461. break;
  3462. case 16:
  3463. bot.sendChat('Jude 1:17: But you must remember, beloved, the predictions of the apostles of our Lord Jesus Christ.');
  3464. break;
  3465. case 17:
  3466. bot.sendChat('Jude 1:18: They said to you, “In the last time there will be scoffers, following their own ungodly passions.”');
  3467. break;
  3468. case 18:
  3469. bot.sendChat('Jude 1:19: It is these who cause divisions, worldly people, devoid of the Spirit.');
  3470. break;
  3471. case 19:
  3472. bot.sendChat('Jude 1:20: But you, beloved, building yourselves up in your most holy faith and praying in the Holy Spirit,');
  3473. break;
  3474. case 20:
  3475. bot.sendChat('Jude 1:21: keep yourselves in the love of God, waiting for the mercy of our Lord Jesus Christ that leads to eternal life.');
  3476. break;
  3477. case 21:
  3478. bot.sendChat('Jude 1:22: And have mercy on those who doubt;');
  3479. break;
  3480. case 22:
  3481. bot.sendChat('Jude 1:23: save others by snatching them out of the fire; to others show mercy with fear, hating even the garment stained by the flesh.');
  3482. break;
  3483. case 23:
  3484. bot.sendChat('Jude 1:24: Now to him who is able to keep you from stumbling and to present you blameless before the presence of his glory with great joy,');
  3485. break;
  3486. case 24:
  3487. bot.sendChat('Jude 1:25: to the only God, our Savior, through Jesus Christ our Lord, be glory, majesty, dominion, and authority, before all time and now and forever. Amen.');
  3488. break;
  3489. }
  3490. break;
  3491. case ".obadiah":
  3492. case ".Obadiah":
  3493. crowd = bot.getUsers();
  3494. randomPerson = Math.floor(Math.random() * crowd.length);
  3495. var Obadiah = Math.floor(Math.random() * 20);
  3496. switch (Obadiah) {
  3497. case 0:
  3498. bot.sendChat('Obadiah 1:1: The vision of Obadiah. Thus says the Lord God concerning Edom:We have heard a report from the Lord, and a messenger has been sent among the nations: “Rise up! Let us rise against her for battle!”');
  3499. break;
  3500. case 1:
  3501. bot.sendChat('Obadiah 1:2: Behold, I will make you small among the nations; you shall be utterly despised.');
  3502. break;
  3503. case 2:
  3504. bot.sendChat('Obadiah 1:3: The pride of your heart has deceived you, you who live in the clefts of the rock, in your lofty dwelling, who say in your heart, “Who will bring me down to the ground?”');
  3505. break;
  3506. case 3:
  3507. bot.sendChat('Obadiah 1:4: Though you soar aloft like the eagle, though your nest is set among the stars, from there I will bring you down, declares the Lord.');
  3508. break;
  3509. case 4:
  3510. bot.sendChat('Obadiah 1:5: If thieves came to you, if plunderers came by night— how you have been destroyed!— would they not steal only enough for themselves? If grape gatherers came to you, would they not leave gleanings?');
  3511. break;
  3512. case 5:
  3513. bot.sendChat('Obadiah 1:6: How Esau has been pillaged, his treasures sought out!');
  3514. break;
  3515. case 6:
  3516. bot.sendChat('Obadiah 1:7: All your allies have driven you to your border; those at peace with you have deceived you; they have prevailed against you; those who eat your bread have set a trap beneath you— you have no understanding.');
  3517. break;
  3518. case 7:
  3519. bot.sendChat('Obadiah 1:8: Will I not on that day, declares the Lord, destroy the wise men out of Edom, and understanding out of Mount Esau?');
  3520. break;
  3521. case 8:
  3522. bot.sendChat('Obadiah 1:9: And your mighty men shall be dismayed, O Teman, so that every man from Mount Esau will be cut off by slaughter.');
  3523. break;
  3524. case 9:
  3525. bot.sendChat('Obadiah 1:10: Because of the violence done to your brother Jacob, shame shall cover you, and you shall be cut off forever.');
  3526. break;
  3527. case 10:
  3528. bot.sendChat('Obadiah 1:11: On the day that you stood aloof, on the day that strangers carried off his wealth and foreigners entered his gates and cast lots for Jerusalem, you were like one of them.');
  3529. break;
  3530. case 11:
  3531. bot.sendChat('Obadiah 1:12: But do not gloat over the day of your brother in the day of his misfortune; do not rejoice over the people of Judah in the day of their ruin; do not boast in the day of distress.');
  3532. break;
  3533. case 12:
  3534. bot.sendChat('Obadiah 1:13: Do not enter the gate of my people in the day of their calamity; do not gloat over his disaster in the day of his calamity; do not loot his wealth in the day of his calamity.');
  3535. break;
  3536. case 13:
  3537. bot.sendChat('Obadiah 1:14: Do not stand at the crossroads to cut off his fugitives; do not hand over his survivors in the day of distress.');
  3538. break;
  3539. case 14:
  3540. bot.sendChat('Obadiah 1:15: For the day of the Lord is near upon all the nations. As you have done, it shall be done to you; your deeds shall return on your own head.');
  3541. break;
  3542. case 15:
  3543. bot.sendChat('Obadiah 1:16: For as you have drunk on my holy mountain, so all the nations shall drink continually; they shall drink and swallow, and shall be as though they had never been.');
  3544. break;
  3545. case 16:
  3546. bot.sendChat('Obadiah 1:17: But in Mount Zion there shall be those who escape, and it shall be holy, and the house of Jacob shall possess their own possessions.');
  3547. break;
  3548. case 17:
  3549. bot.sendChat('Obadiah 1:18: The house of Jacob shall be a fire, and the house of Joseph a flame, and the house of Esau stubble; they shall burn them and consume them, and there shall be no survivor for the house of Esau, for the Lord has spoken.');
  3550. break;
  3551. case 18:
  3552. bot.sendChat('Obadiah 1:19: Those of the Negeb shall possess Mount Esau, and those of the Shephelah shall possess the land of the Philistines; they shall possess the land of Ephraim and the land of Samaria, and Benjamin shall possess Gilead.');
  3553. break;
  3554. case 19:
  3555. bot.sendChat('Obadiah 1:20: The exiles of this host of the people of Israel shall possess the land of the Canaanites as far as Zarephath, and the exiles of Jerusalem who are in Sepharad shall possess the cities of the Negeb.');
  3556. break;
  3557. case 20:
  3558. bot.sendChat('Obadiah 1:21: Saviors shall go up to Mount Zion to rule Mount Esau, and the kingdom shall be the Lords.');
  3559. break;
  3560. }
  3561. break;
  3562. case ".titus":
  3563. case ".Titus":
  3564. crowd = bot.getUsers();
  3565. randomPerson = Math.floor(Math.random() * crowd.length);
  3566. var Titus = Math.floor(Math.random() * 45);
  3567. switch (Titus) {
  3568. case 0:
  3569. bot.sendChat('Titus 1:1: Paul, a servant of God and an apostle of Jesus Christ, for the sake of the faith of the elect of God and their knowledge of the truth, which accords with godliness,');
  3570. break;
  3571. case 1:
  3572. bot.sendChat('Titus 1:2: in hope of eternal life, which God, who never lies, promised before the ages began');
  3573. break;
  3574. case 2:
  3575. bot.sendChat('Titus 1:3: and at the proper time manifested in his word through the preaching with which I have been entrusted by the command of God our Savior;');
  3576. break;
  3577. case 3:
  3578. bot.sendChat('Titus 1:4: To Titus, my true child in a common faith: Grace and peace from God the Father and Christ Jesus our Savior.');
  3579. break;
  3580. case 4:
  3581. bot.sendChat('Titus 1:5: This is why I left you in Crete, so that you might put what remained into order, and appoint elders in every town as I directed you—');
  3582. break;
  3583. case 5:
  3584. bot.sendChat('Titus 1:6: if anyone is above reproach, the husband of one wife, and his children are believers and not open to the charge of debauchery or insubordination.');
  3585. break;
  3586. case 6:
  3587. bot.sendChat('Titus 1:7: For an overseer, as the steward of God, must be above reproach. He must not be arrogant or quick-tempered or a drunkard or violent or greedy for gain,');
  3588. break;
  3589. case 7:
  3590. bot.sendChat('Titus 1:8: but hospitable, a lover of good, self-controlled, upright, holy, and disciplined.');
  3591. break;
  3592. case 8:
  3593. bot.sendChat('Titus 1:9: He must hold firm to the trustworthy word as taught, so that he may be able to give instruction in sound[f] doctrine and also to rebuke those who contradict it.');
  3594. break;
  3595. case 9:
  3596. bot.sendChat('Titus 1:10: For there are many who are insubordinate, empty talkers and deceivers, especially those of the circumcision party.');
  3597. break;
  3598. case 10:
  3599. bot.sendChat('Titus 1:11: They must be silenced, since they are upsetting whole families by teaching for shameful gain what they ought not to teach.');
  3600. break;
  3601. case 11:
  3602. bot.sendChat('Titus 1:12: One of the Cretans, a prophet of their own, said, “Cretans are always liars, evil beasts, lazy gluttons.”');
  3603. break;
  3604. case 12:
  3605. bot.sendChat('Titus 1:13: This testimony is true. Therefore rebuke them sharply, that they may be sound in the faith,');
  3606. break;
  3607. case 13:
  3608. bot.sendChat('Titus 1:14: not devoting themselves to Jewish myths and the commands of people who turn away from the truth.');
  3609. break;
  3610. case 14:
  3611. bot.sendChat('Titus 1:15: To the pure, all things are pure, but to the defiled and unbelieving, nothing is pure; but both their minds and their consciences are defiled.');
  3612. break;
  3613. case 15:
  3614. bot.sendChat('Titus 1:16: They profess to know God, but they deny him by their works. They are detestable, disobedient, unfit for any good work.');
  3615. break;
  3616. case 16:
  3617. bot.sendChat('Titus 2:1: But as for you, teach what accords with sound doctrine.');
  3618. break;
  3619. case 17:
  3620. bot.sendChat('Titus 2:2: Older men are to be sober-minded, dignified, self-controlled, sound in faith, in love, and in steadfastness.');
  3621. break;
  3622. case 18:
  3623. bot.sendChat('Titus 2:3: Older women likewise are to be reverent in behavior, not slanderers or slaves to much wine. They are to teach what is good,');
  3624. break;
  3625. case 19:
  3626. bot.sendChat('Titus 2:4: and so train the young women to love their husbands and children,');
  3627. break;
  3628. case 20:
  3629. bot.sendChat('Titus 2:5: to be self-controlled, pure, working at home, kind, and submissive to their own husbands, that the word of God may not be reviled.');
  3630. break;
  3631. case 21:
  3632. bot.sendChat('Titus 2:6: Likewise, urge the younger men to be self-controlled.');
  3633. break;
  3634. case 22:
  3635. bot.sendChat('Titus 2:7: Show yourself in all respects to be a model of good works, and in your teaching show integrity, dignity,');
  3636. break;
  3637. case 23:
  3638. bot.sendChat('Titus 2:8: and sound speech that cannot be condemned, so that an opponent may be put to shame, having nothing evil to say about us.');
  3639. break;
  3640. case 24:
  3641. bot.sendChat('Titus 2:9: Bondservants are to be submissive to their own masters in everything; they are to be well-pleasing, not argumentative,');
  3642. break;
  3643. case 25:
  3644. bot.sendChat('Titus 2:10: not pilfering, but showing all good faith, so that in everything they may adorn the doctrine of God our Savior.');
  3645. break;
  3646. case 26:
  3647. bot.sendChat('Titus 2:11: For the grace of God has appeared, bringing salvation for all people,');
  3648. break;
  3649. case 27:
  3650. bot.sendChat('Titus 2:12: training us to renounce ungodliness and worldly passions, and to live self-controlled, upright, and godly lives in the present age,');
  3651. break;
  3652. case 28:
  3653. bot.sendChat('Titus 2:13: waiting for our blessed hope, the appearing of the glory of our great God and Savior Jesus Christ,');
  3654. break;
  3655. case 29:
  3656. bot.sendChat('Titus 2:14: who gave himself for us to redeem us from all lawlessness and to purify for himself a people for his own possession who are zealous for good works.');
  3657. break;
  3658. case 30:
  3659. bot.sendChat('Titus 2:15: Declare these things; exhort and rebuke with all authority. Let no one disregard you.');
  3660. break;
  3661. case 31:
  3662. bot.sendChat('Titus 3:1: Remind them to be submissive to rulers and authorities, to be obedient, to be ready for every good work,');
  3663. break;
  3664. case 32:
  3665. bot.sendChat('Titus 3:2: to speak evil of no one, to avoid quarreling, to be gentle, and to show perfect courtesy toward all people.');
  3666. break;
  3667. case 33:
  3668. bot.sendChat('Titus 3:3: For we ourselves were once foolish, disobedient, led astray, slaves to various passions and pleasures, passing our days in malice and envy, hated by others and hating one another.');
  3669. break;
  3670. case 34:
  3671. bot.sendChat('Titus 3:4: But when the goodness and loving kindness of God our Savior appeared,');
  3672. break;
  3673. case 35:
  3674. bot.sendChat('Titus 3:5: he saved us, not because of works done by us in righteousness, but according to his own mercy, by the washing of regeneration and renewal of the Holy Spirit,');
  3675. break;
  3676. case 36:
  3677. bot.sendChat('Titus 3:6: whom he poured out on us richly through Jesus Christ our Savior,');
  3678. break;
  3679. case 37:
  3680. bot.sendChat('Titus 3:7: so that being justified by his grace we might become heirs according to the hope of eternal life.');
  3681. break;
  3682. case 38:
  3683. bot.sendChat('Titus 3:8: The saying is trustworthy, and I want you to insist on these things, so that those who have believed in God may be careful to devote themselves to good works. These things are excellent and profitable for people.');
  3684. break;
  3685. case 39:
  3686. bot.sendChat('Titus 3:9: But avoid foolish controversies, genealogies, dissensions, and quarrels about the law, for they are unprofitable and worthless.');
  3687. break;
  3688. case 40:
  3689. bot.sendChat('Titus 3:10: As for a person who stirs up division, after warning him once and then twice, have nothing more to do with him,');
  3690. break;
  3691. case 41:
  3692. bot.sendChat('Titus 3:11: knowing that such a person is warped and sinful; he is self-condemned.');
  3693. break;
  3694. case 42:
  3695. bot.sendChat('Titus 3:12: When I send Artemas or Tychicus to you, do your best to come to me at Nicopolis, for I have decided to spend the winter there.');
  3696. break;
  3697. case 43:
  3698. bot.sendChat('Titus 3:13: Do your best to speed Zenas the lawyer and Apollos on their way; see that they lack nothing.');
  3699. break;
  3700. case 44:
  3701. bot.sendChat('Titus 3:14: And let our people learn to devote themselves to good works, so as to help cases of urgent need, and not be unfruitful.');
  3702. break;
  3703. case 45:
  3704. bot.sendChat('Titus 3:15: All who are with me send greetings to you. Greet those who love us in the faith. Grace be with you all.');
  3705. break;
  3706. }
  3707. break;
  3708. case 1:
  3709. languageCodes = ["ar", "bg", "ca", "zh-CHS", "zh-CHT", "cs", "da", "nl", "en", "et", "fa", "fi", "fr", "de", "el", "ht", "he", "hi", "hu", "id", "it", "ja", "ko", "lv", "lt", "ms", "mww", "no", "pl", "pt", "ro", "ru", "sk", "sl", "es", "sv", "th", "tr", "uk", "ur", "vi"];
  3710. languages = ['Arabic', 'Bulgarian', 'Catalan', 'Chinese', 'Chinese', 'Czech', 'Danish', 'Dutch', 'English', 'Estonian', 'Persian (Farsi)', 'Finnish', 'French', 'German', 'Greek', 'Haitian Creole', 'Hebrew', 'Hindi', 'Hungarian', 'Indonesian', 'Italian', 'Japanese', 'Korean', 'Latvian', 'Lithuanian', 'Malay', 'Hmong Daw', 'Norwegian', 'Polish', 'Portuguese', 'Romanian', 'Russian', 'Slovak', 'Slovenian', 'Spanish', 'Swedish', 'Thai', 'Turkish', 'Ukrainian', 'Urdu', 'Vietnamese'];
  3711. if (translateList.indexOf(data.from) != -1) {
  3712. qualifier = data.message;
  3713. qualifier = qualifier.replace(/&#39;/g, '\'');
  3714. qualifier = qualifier.replace(/&#34;/g, '\"');
  3715. qualifier = qualifier.replace(/&amp;/g, '\&');
  3716. qualifier = qualifier.replace(/&lt;/gi, '\<');
  3717. qualifier = qualifier.replace(/&gt;/gi, '\>');
  3718. var user = data.from;
  3719. var message = qualifier;
  3720. params = {
  3721. text: message
  3722. };
  3723. var language = "";
  3724. client.initialize_token(function(keys) {
  3725. client.detect(params, function(err, data) {
  3726. var language = data;
  3727. if (languageCodes.indexOf(language) > -1 && language != 'en') {
  3728. var params2 = {
  3729. text: message,
  3730. from: language,
  3731. to: 'en'
  3732. };
  3733. client.initialize_token(function(keys) {
  3734. client.translate(params2, function(err, data) {
  3735. bot.sendChat(user + ": " + data + " (" + languages[languageCodes.indexOf(language)] + ")");
  3736. });
  3737. });
  3738. }
  3739. });
  3740. });
  3741. } else if (command.charAt(0) == "@" && translateList.indexOf(command.slice(1)) != -1 && data.from != 'Mega-Bot') {
  3742. for (var i = 0; i < bot.getUsers().length; i++) {
  3743. if (bot.getUsers()[i].username == command.slice(1)) {
  3744. params = {
  3745. text: qualifier,
  3746. from: 'en',
  3747. to: bot.getUsers()[i].language
  3748. };
  3749. if (languageCodes.indexOf(bot.getUsers()[i].language) > -1 && bot.getUsers()[i].language != 'en') {
  3750. client.initialize_token(function(keys) {
  3751. client.translate(params, function(err, data) {
  3752. bot.sendChat(command + " " + data);
  3753. });
  3754. });
  3755. }
  3756. }
  3757. }
  3758. }
  3759. break;
  3760. default:
  3761. if (data.message.indexOf("@")!=-1){ //Checks to see if the user is afk
  3762. var spaceUsername = data.message.slice(data.message.indexOf("@") + 1).split(' ')[0] + " " + data.message.slice(data.message.indexOf("@") + 1).split(' ')[1];
  3763. if (data.un != "MegaBot" && data.message.slice(data.message.indexOf("@") + 1).split(' ')[0] in afkList){
  3764. bot.sendChat("@" + data.un + " " + data.message.slice(data.message.indexOf("@") + 1).split(' ')[0] + " is afk: " + afkList[data.message.slice(data.message.indexOf("@") + 1).split(' ')[0]]);
  3765. }
  3766. else if (spaceUsername in afkList){
  3767. bot.sendChat("@" + data.un + " " + spaceUsername + " is afk: " + afkList[spaceUsername]);
  3768. }
  3769. }
  3770. break;
  3771. }
  3772. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement