Yoko

All sides of Injection
It is currently 2025-10-20 14:25:54

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: last target name
PostPosted: 2007-08-08 15:15:23 
Offline

Joined: 2007-08-08 15:04:59
Posts: 1
I'm trying to make a script that, when i change target by uo macro NEXTTARGET, it make my pg say the name of the targetted player
and say nothing is it's a npc.
i tried this but does not work if there are several players
thanks

sub TARGET()
if ( uo.GetNotoriety('laststatus') <> 2 && uo.GetGraphic('laststatus') == '0x0190' && uo.GetName('laststatus') <> "[invulnerable] " && uo.GetName('laststatus') <> "[frozen] " && uo.GetName('laststatus') <> "[frozen] [invulnerable] ") then

if ( uo.GetNotoriety('laststatus') == 5 ) then
uo.fontcolor(0x0013)
UO.Say( "-->"+ uo.GetName('laststatus') +"<-- " )
else
uo.fontcolor(0x003a)
UO.Say( uo.GetName('laststatus'))
endif

endif
end sub


Top
   
 Post subject:
PostPosted: 2007-08-08 22:20:35 
Offline
User avatar

Joined: 2007-02-21 20:15:57
Posts: 479
http://forum.yoko.com.ua/viewtopic.php?p=45313#45313

З.Ы. учите русский...

_________________
Шард Антарес
Ururu


Top
   
 Post subject:
PostPosted: 2007-08-08 22:35:57 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Ururu wrote:
http://forum.yoko.com.ua/viewtopic.php?p=45313#45313

З.Ы. учите русский...


Учи английский.

Человек пишет что когда он переводит прицел командой таргет некст ему надо чтобы ник на кого попал таргет он произносил в клиенте.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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