Author Topic: First time with a script, need insight please  (Read 2586 times)

0 Members and 1 Guest are viewing this topic.

Offline luckyhittmanTopic starter

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 1
  • luckyhittman has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
First time with a script, need insight please
« on: February 25, 2025, 06:55:42 AM »
0
Hello all.
So, I tried writing my first script after first doing a macro and deconstructing it.

Shard:     Excelsior
Purpose:     Trying to get an automation where tinkering of fancy windchimes are attempted. If successful, item is placed in a backpack within my main backpack, loop. If unsuccessful, try again loop.

Error received:   Evaluate script error
                        Line: 2
                        SyntaxError: Parse error

Any insight as to why my script will not parse?

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
NewScript1.oajs

Offline Crisis

  • Global Moderator
  • *
  • *
  • Posts: 3135
  • Activity:
    0.4%
  • Reputation Power: 42
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +566
  • Referrals: 2
    • View Profile
Re: First time with a script, need insight please
« Reply #1 on: February 26, 2025, 03:01:09 AM »
0
  I am not as good with Orion scripting but one thing you can try is recording a macro doing what you are and you can make it a script and compare what it did to what you are doing. That is one thing that helped me more with the basics.

Tags: