Lux-Ferre

Untitled

Apr 27th, 2021 (edited)
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. function sendChat(_0x7FAA) {
  2. toggleChatIcon();
  3. var _0x74A4 = _0x7FAA[_$_26f8[36]];
  4. if (_0x74A4[_$_26f8[1]] > 0) {
  5. if (!doChatCommand(_0x74A4)) {
  6. cBytes(_$_26f8[100] + _0x74A4)
  7. }
  8. ;document[_$_26f8[4]](_$_26f8[97])[_$_26f8[36]] = _$_26f8[0];
  9. disableChattingInput();
  10. setTimeout(enableChattingInput, 100)
  11. }
  12. }
  13.  
  14. function toggleChatIcon() {
  15. iconPosition = getRandomNumber(window.iconList.length);
  16. newIcon = window.iconList[iconPosition]
  17.  
  18. changeIcon(newIcon);
  19. }
  20.  
  21.  
  22. function getRandomNumber(max) {
  23. return Math.floor(Math.random() * max);
  24. }
  25.  
  26. var iconList = [20,17,5,22,23,27,34,39,44,53,41];
Add Comment
Please, Sign In to add comment