diff --git a/chat-plugins/wifi.js b/chat-plugins/wifi.js index 7615f546f7..b944022197 100644 --- a/chat-plugins/wifi.js +++ b/chat-plugins/wifi.js @@ -1,7 +1,7 @@ /** * Wi-Fi chat-plugin. Only works in a room with id 'wifi' * Handles giveaways in the formats: question, lottery -* Credits: DanielCranham, codelegend +* Credits: Codelegend, SilverTactic, DanielCranham **/ // checks whether any alt of the user is present in list. @@ -16,7 +16,7 @@ function checkAllAlts(user, list) { return false; } -var giveaway = exports.giveaway = null; +var giveaway = null; var QuestionGiveAway = (function () { function QuestionGiveAway(host, giver, room, options) { @@ -64,9 +64,9 @@ var QuestionGiveAway = (function () { this.answered[userid]++; if (this.answered[userid] >= 3) { - output.sendReply("Your guess " + guess + " is wrong. You have used up all your guesses. Better luck next time."); + output.sendReply("Your guess " + guess + " is wrong. You have used up all your guesses. Better luck next time!"); } else { - output.sendReply("Your guess " + guess + " is wrong. Try again."); + output.sendReply("Your guess " + guess + " is wrong. Try again!"); } return; }; @@ -111,7 +111,7 @@ var QuestionGiveAway = (function () { this.phase = 'ended'; clearTimeout(this.endTimer); if (!this.winner) { - this.room.addRaw('The giveaway has been forcibly ended, as no one has answered the question'); + this.room.addRaw('The giveaway has been forcibly ended, as no one has answered the question. '); } else { var ans = []; for (var i in this.answers) { @@ -152,10 +152,10 @@ var LotteryGiveAway = (function () { this.reminder = '