ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: shortcuts on November 19, 2010, 11:42:01 PM

Title: Help please with script
Post by: shortcuts on November 19, 2010, 11:42:01 PM
I play on free shard, trying to make a script that will open a trapped pouch once paralyzed. having trouble figuring out how to set up the script.how do i make the script notice that I am paralyzed. if anybody could help with the commands, or even a script that would work it would be greatly appreciated, thanks in advance.
Title: Re: Help please with script
Post by: Masscre on November 20, 2010, 05:32:28 AM
You have to options for figuring out if you have been paralyzed. One you can scan the journal and when it find "you have been paralyzed and can not move" you can choose to use the box or you can scan the buff bar which shows if you have been poisened, mortaled, inivisble and so and watch that with your script to find out when you have been paralyzed and then use your box.
Title: Re: Help please with script
Post by: Endless Night on November 21, 2010, 12:01:55 PM
outline of the script so you can fill it in

Code: [Select]
set %ExitScript NO
set %Para NO
repeat  ; start
   ; check for paralysed set %Para = YES
   if  %Para = YES
      {
      ; code to open box.
      }
until %exitscript = YES
halt