Advertisement
nPhoenix

[Habbo] Auto Code Maker

Jul 22nd, 2012
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function code() {
  2.     var i, chars = '1234567890qertyuiopasdfghjklzxcvbnm', str = '';
  3.     for (i = 0; i < 8; i++)
  4.     str += chars.substr((Math.floor(Math.random() * (chars.length + 1))), 1);
  5.     return str;
  6. };
  7.  
  8. Make = function () {
  9.     new Ajax.Request('/habblet/ajax/new_redeemvoucher/', {
  10.         parameters: 'voucherCode=' + code(),
  11.         onComplete: function () {
  12.             new Make();
  13.         }
  14.     });
  15. };
  16. new Make();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement