well i have need with a script with if one of five char is online then cast spell on him.
i have create this, but is more slow if my friend is connect with the last char
Code: Select all
sub qwe()
uo.waittargetobject("player1")
uo.cast(namespell)
wait(200)
uo.waittargetobject("player2")
uo.cast(namespell)
wait(200)
uo.waittargetobject("player3")
uo.cast(namespell)
endsub
where player1/2/3 have been add with ",addobject player1/2/3" and save it in tab "Objects"
Do u know another method for this?