Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random room name code
#1
I found this script:
Code:
function getRandomString(_length)
{
    _retString = "";
    _charSet = "0123456789abcdefghijklmnopqrstuvwxyz";

    while(_length--)
    {
        _retString += _charSet.charAt(Random(0, _charSet.length-1));
        Delay(1);
    }

    return _retString;
}
At NTBot

But apparently the manager don't use this script to generate the room name, I've tried this:

Code:
function getRandomString(_length)
{

        _retString = "meme" + (Random(0, 30);
        Delay(1);
    }

    return _retString;
}
Some idea how I can select my own room name sufixes?

I need it to create rooms like nameNN
where NN = numbers...

More details:
http://www.blizzsector.co/f16/d2nt-any-i...post487865

Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  can't find this piece of code Tacos 1 116 09-06-2012, 03:28 PM
Last Post: comper
  Is there a way to code d2nt to only pick unique etheral items and not ID them? Kratess 2 358 09-27-2011, 03:35 AM
Last Post: Grimtrooper
  D2NT Problem - Random Halt During Runs LordZZX 0 210 07-23-2011, 10:06 PM
Last Post: LordZZX
  Question about what this script/code means != impuls351 2 186 07-02-2011, 05:23 AM
Last Post: impuls351
  need help adding socket pickit code Bosx 4 338 02-12-2011, 06:39 AM
Last Post: Bosx
  Need help adding code for LLD items jfish360 3 258 01-30-2011, 11:14 AM
Last Post: Jammer74
  Random room name code ImBr 0 144 01-30-2011, 05:41 AM
Last Post: ImBr
  can someone put this in code format so its easier for people to get chrtylee 4 293 01-29-2011, 11:33 AM
Last Post: Jammer74
  D2NT Attack Code Problem HuevoPicante 5 2,110 12-01-2010, 08:48 AM
Last Post: Jammer74
  help to create this pickit code for orbs 3 soq or white killpage 1 289 07-31-2010, 10:53 AM
Last Post: Jammer74

Forum Jump:


Users browsing this thread: 1 Guest(s)