1
Scripting Chat / Trying my best
« on: April 27, 2020, 12:46:45 AM »
I am writing a script, but have ran into a small snag. I am looking for a particular ID within my script, and I am running a rail looking for the ID. So, my script is basically like this
set %MOB xxxxxx ;this is the creatures ID
set %jStart #jIndex ;start journal scan
wait 10
set %jEnd #jIndex
for %ambitious %jStart %jEnd
{
scanjournal %MOB
if (MOB in #journal ) ;when I find the monster
{
WHAT DO I DO HERE TO WALK TO THE MONSTER FROM MY RAIL?
}
set %MOB xxxxxx ;this is the creatures ID
set %jStart #jIndex ;start journal scan
wait 10
set %jEnd #jIndex
for %ambitious %jStart %jEnd
{
scanjournal %MOB
if (MOB in #journal ) ;when I find the monster
{
WHAT DO I DO HERE TO WALK TO THE MONSTER FROM MY RAIL?
}