Yoko

All sides of Injection
It is currently 2025-12-13 15:31:51

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2009-03-20 10:57:12 
Offline

Joined: 2009-03-17 17:30:37
Posts: 14
Этот вопрос больше относиться к синтаксису наверное.
Есть в инжекте такая конструкция

Code:
var text
text="Тест|Тест начался|Стартоать тест"

sub main()
  if uo.injournal(text) then
    uo.print('Включился')
  end if
end sub


Есть ли подобная конструкция и для поиска вещей? Например:

Code:
var object
object="0x1BF2|0x1BF6|0x1BF4"

sub main()
  if uo.infoundtype(object) then
    uo.print('найдена одна из вещей')
  end if
end sub


Или обязательно придется объявлять массив и его обходить?


Top
   
PostPosted: 2009-03-20 11:28:18 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
Nevers wrote:
Или обязательно придется объявлять массив и его обходить?

Да.


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