Results 1 to 5 of 5

Thread: randomly choose, help me.

  1. #1
    Join Date
    Jul 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default randomly choose, help me.

    i want 2 know how 2 make a script randomly choose something from a list at a random time of lets say 1 hour and a random of 1 hour


    SCAR Code:
    begin
     
        0: Disguise('Windows Live Messenger');
        1: Disguise('Donate To Me Please! - Mozilla Firefox');
        2: Disguise('RuneScape - the massive online adventure game by Jagex Ltd - Mozilla Firefox');
        3: Disguise('Cannot find server - Microsoft Internet Explorer');
        4: Disguise('Donate to me please...! :D');
        5: Disguise('Windows Media Player');
        6: Disguise('mIRC');
        7: Disguise('iTunes');
        8: Disguise('Donate please...! :]');
        9: Disguise('untitled - Paint');
        10: Disguise('Windows Live Messenger');
      end;
    is the list. and i want 2 know how 2 make scar randomly disguise it self every 1 hour and a random of 1 hour. thats the basic objective. help??

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

    Default

    SCAR Code:
    Case Random(11) Of
      1:...
      2:...
      3:....
    End;

    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
    Mar 2007
    Posts
    674
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Like Jikka sade, but that would randomly pick every time the script is started. If you want it every hour the something like
    SCAR Code:
    Procedure RandomSelect;
    Begin
      MarkTime(MyMark)
      Case Random(11) Of
        1:...
        2:...
        3:....
      End;
    End;

    And Then somewhere in your pain loop put
    SCAR Code:
    If (TimeFromMark(MyMark) > 60 * 1000 * 60 )Then RandomSelect

    Also, add MyMark as an integer in your global vars.

  4. #4
    Join Date
    Jul 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks, ill try it out see if it works =)

  5. #5
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Moved to scripting help.
    Hup Holland Hup!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. mouse over randomly
    By Main in forum OSR Help
    Replies: 10
    Last Post: 01-24-2009, 04:03 PM
  2. Randomly Royal..
    By The Prince of Randomness? in forum Who Are You ? Who ? Who ?
    Replies: 2
    Last Post: 02-23-2006, 07:46 AM

Posting Permissions

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