Page 1 of 1

Looking for a script!

Posted: Wed Mar 28, 2012 4:17 pm
by Thorgal
Hello all coders!
Im looking for a script that i think is fairly simple;

Target closest non friendly,
Attack Target,
Clear cache,
[claim corpse. (at least 4 tiles range if possible)
Loop.

Simple ennough (i think so ^^)

Can anyone help me?

Thank you all!

Re: Looking for a script!

Posted: Thu Apr 05, 2012 7:10 pm
by Devlin
Razor can do this fairly easily if you want.

Code: Select all

Assistant.Macros.HotKeyAction|1515|
Assistant.Macros.HotKeyAction|1395|
Assistant.Macros.HotKeyAction|1332|
Assistant.Macros.SpeechAction|0|956|3|ENU|2|16|9|[claim
Assistant.Macros.PauseAction|00:00:00.5550000
Assistant.Macros.TargetTypeAction|False|8198
Exec: Target closest non-friendly (best target method with razor, will attack reds/grays/enemy of one targets. HOWEVER, it will target people in angel form)
Exec: Attack last target
Exec: Cancel current target

NOTE: These three are all you need for a razor attack macro, so if you don't want to claim, just use these three

say: [claim
pause .555 seconds (You may want to change this to .333 or so, depending if you do not claim quick enough
target by type corpse