Lumberjacking

Anything and all.

Moderators: Murderator+, Murderator

Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

Re: Lumberjacking

Post by Mirage »

как то ты сам себе противоречишь. Как я могу знать новости на бесте если они появляются только что? :roll:
Посмотрим что скажет Слава.
Gatard
Posts: 62
Joined: 2013-05-17 10:38:53

Re: Lumberjacking

Post by Gatard »

Mirage wrote:Посмотрим что скажет Слава.
тесть если он ответит положительно, ты бросишь все свои дела и сделаешь макрос -))))
Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

Re: Lumberjacking

Post by Mirage »

если меня обеспечат на сервере необходимыми ресурсами для его написания ;)
Jose Cuervo
Posts: 67
Joined: 2013-02-25 16:14:48

Re: Lumberjacking

Post by Jose Cuervo »

:twisted:
Image
Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

Re: Lumberjacking

Post by Mirage »

Вот и я про тоже. :lol:
Gatard
Posts: 62
Joined: 2013-05-17 10:38:53

Re: Lumberjacking

Post by Gatard »

Mirage wrote:Вот и я про тоже. :lol:
давай пиши, а то надоели эти монополисты гнуть цены.
tyca7
Posts: 125
Joined: 2012-12-22 19:14:29
Contact:

Re: Lumberjacking

Post by tyca7 »

Code: Select all

sub WaitForChange() 
   var Text1=uo.GetName()+'You hack at the tree for a while, but fail to produce any useable wood.'
   var Text2='You hack at the tree for a while, but fail to produce any useable wood.'
   var Text3="You can't reach this."
   var Text4='You hack at the tree for a while, but fail to produce any useable wood.'
   var Text5="You can't do much in your current state."
   var Text6="What do you want to use this on?"
   var Text7="Тут не осталось пригодной древесины. Нечего рубить."
   var mess
   for var i=0 to 200
      mess=uo.Journal(0)
      if uo.Journal(0)==Text2 or uo.Journal(0)==Text3 or uo.Journal(0)==Text4 or uo.Journal(0)==Text5 or uo.Journal(0)==Text7 then
         return 0
      end if
      if uo.Journal(0)==Text1 then
         return 1
      end if
      if mess[0]=='Y' and mess[1]=='o' and mess[2]=='u' and mess[4]=='p' and mess[5]=='u' and mess[6]=='t' then
         return 0
      end if
      wait(200)
   next
   return 0
end sub


посмотрите по чему не видит сообщения.. заранее спасибо!
Post Reply