Results 1 to 7 of 7

Thread: Dance anyone?

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

    Dance anyone?

    I know this sounds lame, but I'm new to scripting and I was jsut wondering...

    Can someone create a simple script that jsut makes your player dance??


  2. #2
    Join Date
    Jul 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if you're new to scripting that's probably one of the easier scripts you could make, try it yourself, that's probably the best way to do it.

  3. #3
    Join Date
    Jul 2007
    Posts
    80
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  4. #4
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Well, here's a 5 minutes of work.

    SCAR Code:
    //Dancer by GoF.
    //Start logged in.
    //Enjoi!
    program DanceMonkeyDance;
    {.Include SRL/SRL.scar}

    const
      DanceWait = 5;//Seconds to wait before dancing again?
      TimesToDance = 100;//Times to dance?

    var
      Dance: TPoint;
      DanceTimes: Integer;
      ClickB: Boolean;

    begin
      SetUpSRL;
      Writeln('Script starts in 5 seconds.');
      Wait(5000);
      ActivateClient;
      GameTab(12);
      Dance.X := 570;
      Dance.Y := 370;
      repeat
        ClickB := True;
        case Random(10) of
          2, 5, 9: ClickB := False;
        end;
        Mouse(Dance.X, Dance.Y, 8, 8, ClickB);
        if not (ClickB) then
        begin
          Writeln('Right click');
          case Random(4) + 1 of//Just antiban I guess.
            1: ChooseOption(x, y, 'ce');
            2: ChooseOption(x, y, 'nce');
            3: ChooseOption(x, y, 'ance');
            4: ChooseOption(x, y, 'Dance');
          end;
        end else
          Writeln('Left click');
        DanceTimes := DanceTimes + 1;
        Wait(DanceWait * 1000);
      until(DanceTimes = TimesToDance)
      Writeln('Done dancing!');
    end.

  5. #5
    Join Date
    Jul 2007
    Posts
    80
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I feel bad cause mine is super less complicated and awesome

    Still works though.

  6. #6
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    doemote(13); theres your whole script pretty much lol.

  7. #7
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Oooh.. Didn't know there's such thing as doemote

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Kirby Dance!
    By Kyle Undefined in forum First Scripts
    Replies: 0
    Last Post: 11-29-2008, 09:30 AM
  2. Need help with a dance!!!
    By Death12652 in forum Blogs and Writing
    Replies: 11
    Last Post: 11-03-2008, 03:19 PM
  3. My dance (need help) (first script of my own
    By Ballistaboy in forum OSR Help
    Replies: 4
    Last Post: 12-27-2006, 07:05 PM

Posting Permissions

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