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


Messages In This Thread
Random room name code - by ImBr - 01-30-2011, 05:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  can't find this piece of code Tacos 1 123 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 361 09-27-2011, 03:35 AM
Last Post: Grimtrooper
  D2NT Problem - Random Halt During Runs LordZZX 0 212 07-23-2011, 10:06 PM
Last Post: LordZZX
  Question about what this script/code means != impuls351 2 189 07-02-2011, 05:23 AM
Last Post: impuls351
  need help adding socket pickit code Bosx 4 342 02-12-2011, 06:39 AM
Last Post: Bosx
  Need help adding code for LLD items jfish360 3 263 01-30-2011, 11:14 AM
Last Post: Jammer74
  Random room name code ImBr 0 148 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 299 01-29-2011, 11:33 AM
Last Post: Jammer74
  D2NT Attack Code Problem HuevoPicante 5 2,114 12-01-2010, 08:48 AM
Last Post: Jammer74
  help to create this pickit code for orbs 3 soq or white killpage 1 291 07-31-2010, 10:53 AM
Last Post: Jammer74

Forum Jump:


Users browsing this thread: 1 Guest(s)