Yoko

All sides of Injection
It is currently 2025-12-23 21:31:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2005-10-03 15:21:56 
Offline

Joined: 2005-04-16 23:33:13
Posts: 104
Привет

Помогите напишите скрипт...на то чтобы когда меня убьют я отправил сообщение по гильд-чату где я умер. Вот когда пишешь команду .Where пишет место и координаты....вот хотелось чтобы если меня килл то писал по гильд-чату информацию с тех координат и места где меня убили. Пример: I am in Northern Territory (1432,1154)

Гильд-чат включается командой .gs


Top
   
 Post subject:
PostPosted: 2005-10-04 02:42:18 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Качаем АСМ: http://ultimasoft.ru/ftp.php?folder=Gam ... ine/_Tools - Где-то тут было что-то

Далее пишем
Code:
sub asmDeathEvent()
uo.msg(".gs "+str(uo.getX())+" : "+str(uo.getY()))
endsub


Top
   
 Post subject:
PostPosted: 2005-10-04 12:49:03 
Offline

Joined: 2005-04-16 23:33:13
Posts: 104
Destruction wrote:
Качаем АСМ: http://ultimasoft.ru/ftp.php?folder=Gam ... ine/_Tools - Где-то тут было что-то

Далее пишем
Code:
sub asmDeathEvent()
uo.msg(".gs "+str(uo.getX())+" : "+str(uo.getY()))
endsub
Ну это я смог сделать и без АСМ:
Code:
sub LowHP()
while not UO.Dead()
wait(200)
wend
UO.Say('.gs Dead at '+str(UO.GetX())+':'+str(UO.GetY()))
end sub
Но пишет только координаты я хотел чтобы писало как когда пишешь команду .Where.


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 7 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:  
Powered by phpBB® Forum Software © phpBB Limited