Created
April 14, 2014 05:32
-
-
Save Arm1stice/10618742 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:masstip = 5; socket.emit("chat", {message: "/me is masstipping " + masstip + " doges! Users: " + users[currentRoom][1] + ' ' + users[currentRoom][2] + ' ' + users[currentRoom][3] + ' ' + users[currentRoom][4] + ' and ' + users[currentRoom][5] + '!', room:currentRoom, color: color});for(var i=0;i<5;i++){socket.emit("tip",{user:users[currentRoom][i],room:currentRoom,tip:masstip,message:"Mass tip from "+username});} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment