Page 1 of 1

I need make a script anyone can help me?

Posted: 2005-01-31 15:16:42
by ZeRoDiVi
Hello i need make the following script:
when a monster died the macro must do .sac (a commnad from the shard) on it. i think what its easy but i dont know how do it. plz help me:P
all must be auto :)

Posted: 2005-07-13 09:04:48
by Hexen
yea im need it to can someone help plz

Posted: 2005-07-13 11:21:39
by flake
Here you go

Code: Select all

UO.AustoSac()
  Repeat
     If UO.InJournal('Body of') Then
        UO.WaitTargetObject( 'lastcorpse' )
        UO.MSG( '.sac' )
        UO.DeleteJournal()
     Else
        Wait(500)
     EndIf
  Until UO.Dead()
end sub