Yoko

All sides of Injection
It is currently 2025-12-24 19:57:53

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Хелп
PostPosted: 2007-02-28 20:38:11 
Offline
User avatar

Joined: 2006-10-08 08:37:57
Posts: 87
Как добавить в любой скрипт чтоб всё время кричал guards? :)
З.Ы. в поиске не нашёл...


Top
   
 Post subject: Re: Хелп
PostPosted: 2007-02-28 21:07:23 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
D3VnuLL wrote:
Как добавить в любой скрипт чтоб всё время кричал guards? :)
З.Ы. в поиске не нашёл...

добавь в скрипт
Code:
uo.exec('exec yell')

и внизу сам скрипт
Code:
sub yell()
while not uo.dead()
uo.msg('guards protect me!')
wait(2000)
wend
end sub

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2007-02-28 21:18:47 
Offline
User avatar

Joined: 2006-10-08 08:37:57
Posts: 87
а можешь показать как это будет выглядить в этом скрипте:
З.Ы. когда я пихаю куда нибуь у мну в запущеных функциях появляеться много yells...
Code:
sub Lores(); Êà÷àåì âñå ëîðû 
; 0 - íå ïðèöåëèâàåòñÿ, äëÿ ñêèëëîâ êàê Hiding
; 1 - ïðèöåë íà ñåáÿ, äëÿ ñêèëëîâ êàê Anatomy
; 2 - ïðèöåë íà ïðåäìåòû äëÿ íàâûêîâ ItemID óêàçûâàåòñÿ òóò.

   UO.Addobject('Item_for_actions_kills')
   UO.Print('Óêàæèòå íà ïðåäìåò íà ÷òî áóäåì þçàòü íàâûêè...')
   while UO.Targeting()
    wait(50)
   wend
   endif

   Lore('Animal Lore',1)
   Lore('Anatomy',1)
   Lore('Arms Lore',2)
   Lore('Detect Hidden',0)
   Lore('Evaluating Intelligence',1); ïðè êà÷àíèè äàííîãî íàâûêà ñêðèïò íå èä¸ò äàëüøå....
   Lore('Hiding',0)
   Lore('Item Identification',2) ; ïðè êà÷àíèè äàííîãî íàâûêà ñêðèïò íå èä¸ò äàëüøå....
   Lore('Stealth',0)             
   Lore('Taste Identification',2); ïðè êà÷àíèè äàííîãî íàâûêà ñêðèïò íå èä¸ò äàëüøå....
end sub

sub Lore(skill, targ); Êà÷àåì ëîð
   while UO.SkillVal(skill) < 1050
   if targ > 0 then
     if targ == 2 then
        UO.Waittargetobject('Item_for_actions_kills')
     else
        UO.Waittargetself()
     endif   
   endif   
   UO.UseSkill(skill)
   UO.DeleteJournal()
   UO.Print('Waiting '+skill+' action...')
   if skill == 'Begging' then
      Wait(1000)
   else
      repeat
       Wait(100)
      until UO.InJournal('about this item') or UO.InJournal('does not appear') or UO.InJournal('looks') or UO.InJournal('think') or UO.InJournal('You estimate') or UO.InJournal('This item is') or UO.InJournal('You can see') or UO.InJournal('You find') or UO.InJournal('It tastes') or UO.InJournal('to hide here') or UO.InJournal('You have hidden') or UO.InJournal('You cannot')
      endif
   wend
   UO.Print('You now grand master of ' + skill+' skill')
end sub


Top
   
 Post subject:
PostPosted: 2007-02-28 22:57:29 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
просто запусти два скрипта - тоже самое будет ...

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 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