Yoko

All sides of Injection
It is currently 2025-12-12 17:03:28

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2008-10-04 13:15:10 
Offline

Joined: 2008-10-03 15:04:05
Posts: 3
Надо скрипт на бинты, што бы оружые не слетало, и при 1ом нажатии 1 бинт изпользывался


Top
   
 Post subject:
PostPosted: 2008-10-04 14:17:52 
Offline

Joined: 2006-08-10 08:25:32
Posts: 106
Насчет слетания - это как скрипты шарда позволяют. Если при простом юзании бинта слетает - придется потом одевать заново. Тестить не хочу, но что-то типа

Code:
sub THeal()
UO.SetArm('PreHeal');
UO.DeleteJournal('barely');
UO.DeleteJournal('put the bloody');
UO.Bandageself();
repeat
   wait(300);
until UO.InJournal('barely') or UO.InJournal('put the bloody');
UO.Arm('PreHeal')
end sub


Вяжет на себя бинт, ждет пока будет результат, вне зависимости от результата одевает оружие.

Можно не ждать результата:
Code:
sub THeal()
UO.SetArm('PreHeal');
UO.Bandageself();
UO.Arm('PreHeal')
end sub


Если этот юзать, то надо подобрать dressspeed (,set dressspeed *). Обычно где-то 500.


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 5 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