Results 1 to 3 of 3

Thread: Randomise Help.

  1. #1
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Randomise Help.

    Sorry for this question i just need the refresher
    I want to be able to send a randomised number to the chat interface.

    eg to randomise wait its
    wait(500+random(500))

    i need one like

    SendText('50+random(50)') but if i use that which i havent it will display an output of

    50+random(50)

    That is not the result i want rather i want the output to be something like

    67

    Ty for the help to all who give.
    Thanks -
    Your Friend,
    Chwiggy // Jason.

    -----
    "Great acts are made up of small deeds"

    "He who does not trust enough, Will not be trusted."

    "If you would take, you must first give, this is the beginning of intelligence."

    "A leader is best when people barely know he exists, when his work is done, his aim fulfilled, they will say: we did it ourselves."

    "Respond intelligently even to unintelligent treatment."
    -----

  2. #2
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    SendKeys( IntToStr( Random(50)+50 ) );

    IntToStr

    Means

    Integer To String

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  3. #3
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks man, =)
    Thanks -
    Your Friend,
    Chwiggy // Jason.

    -----
    "Great acts are made up of small deeds"

    "He who does not trust enough, Will not be trusted."

    "If you would take, you must first give, this is the beginning of intelligence."

    "A leader is best when people barely know he exists, when his work is done, his aim fulfilled, they will say: we did it ourselves."

    "Respond intelligently even to unintelligent treatment."
    -----

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •