Yoko

All sides of Injection
It is currently 2025-11-23 23:55:22

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: cast on player ..help
PostPosted: 2007-12-30 18:22:01 
Offline

Joined: 2006-05-04 18:40:42
Posts: 104
I have a prejudice boys small problem.
Should cast a player on the magic "Magic Reflection", but so far there are no problems.

This player has more than one char.
How can I make a script to make this thing?

I made a script like this:

Code:
sub reflectplayer()
   uo.waittargetobject("player1")
   uo.cast("Magic Reflection")
   wait(200)
   uo.waittargetobject("player2")
   uo.cast("Magic Reflection")
   wait(200)
   uo.waittargetobject("player3")
   uo.cast("Magic Reflection")
end sub

where player1, player2, player3 are the same char.


This work, but if the player is logged with the last char script becomes slow and I can't lower the time, otherwise inject tells me: "auto target cancelled"

Is there a way to assign to a variable multiple values?


Top
   
 Post subject:
PostPosted: 2008-01-02 03:09:38 
Offline

Joined: 2006-05-04 18:40:42
Posts: 104
up


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited