ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: WTFMyNameChanged! on November 24, 2010, 06:35:33 PM

Title: Ghost script?
Post by: WTFMyNameChanged! on November 24, 2010, 06:35:33 PM
Anyone have a simple script to keep a ghost visible and logged in for training anatomy?
Title: Re: Ghost script?
Post by: Khameleon on November 24, 2010, 07:09:17 PM
is it running on the same computer?
you could use global variables and pass it from one script over to the next.
ex:
character that is gaining skill
Start:
finditem %Ghost
if #FindKind = -1
set !ghost #False
else
set !ghost #True
goto start

now the other script ran buy the second account will scan for the global vars
start:
if !ghost = #False
key Tab
goto start


just an idea untested....
Title: Re: Ghost script?
Post by: WTFMyNameChanged! on November 24, 2010, 07:48:20 PM
Yea, it would be same computer. I assumed I would run 2 scripts and 2 UOs out of EUOX. One scipt for training and one for keeping the ghost visible and logged in.

I kinda get what your saying about the script but I honestly have no idea how to write it up so it would work. I figured someone has had to have done somthing like this by now since anatomy is a common skill.
Title: Re: Ghost script?
Post by: manwinc on November 24, 2010, 08:17:20 PM
Hmm.....

Repeat
if G notin #charstatus
{
Event macro 6 0
wait 60
}
until 1 = 2
Title: Re: Ghost script?
Post by: WTFMyNameChanged! on November 25, 2010, 12:05:08 AM
Thanks, testing it. Will this keep the ghost logged in though?
Title: Re: Ghost script?
Post by: manwinc on November 25, 2010, 04:14:03 AM

Repeat
if #random < 50
event macro 19 0
if G notin #charstatus
{
Event macro 6 0
wait 60
}
until 1 = 2
Title: Re: Ghost script?
Post by: Khameleon on November 25, 2010, 04:21:44 AM
yes.. that should work all day ;) as long as your ghost is near an active character both of your accounts should stay active.
Title: Re: Ghost script?
Post by: WTFMyNameChanged! on November 25, 2010, 06:01:10 AM
Awesome thanks guys!