Yoko

All sides of Injection
It is currently 2025-10-16 21:27:23

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2009-09-30 21:09:42 
Offline

Joined: 2007-11-21 00:15:38
Posts: 9
Допустим в журнале есть строка типа:
Nick: 30
или
Nick: 3.5
или
Nick: 1.3

Nick - имя моего персонажа. Число которое идет после, задается допустим рандомно.

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

Заранее спасибо.


Top
   
 Post subject:
PostPosted: 2009-09-30 23:17:02 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Вырезай строку из журнала и инициализируй.


Top
   
 Post subject:
PostPosted: 2009-10-01 06:29:09 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
У Дестракшена чтото было похожее тут на форуме помоему.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
 Post subject:
PostPosted: 2009-10-02 19:36:13 
Offline

Joined: 2007-11-21 00:15:38
Posts: 9
Scripts Writer wrote:
Вырезай строку из журнала и инициализируй.


Как? там вроде не сложный скрипт должен получиться, просто я не знаю всех команд


Top
   
 Post subject:
PostPosted: 2009-10-05 04:16:27 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Знаете, где лежит список всех команд ?)

Вопрос, имхо - исчерпан. Делайте.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2009-10-05 07:05:53 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Кстати сегодня как раз таки писал скрипт подобный, правда с другими данными- но суть та же.
Code:
var msg = uo.Journal(0)

сразу после появления надписи в журнале.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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