Yoko

All sides of Injection
It is currently 2025-12-08 16:22:45

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2010-12-11 10:26:23 
Offline
User avatar

Joined: 2006-11-06 00:55:40
Posts: 45
День добрый!
Подскажите, пожалуйста, я использую команду textprint чтобы видеть после что происходило с чаром. А возможно ли так же добавлять значения времени, чтобы видеть во сколько событие было?
Спасибо!

_________________
[img][/img]


Top
   
PostPosted: 2010-12-11 11:12:10 
Offline

Joined: 2009-02-28 15:02:09
Posts: 42
Location: Украина
Code:
sub MakeTime()
var d,t,ret,i
ret=str(uo.Time())
t=""
for i=0 to Len(ret)
t=ret[Len(ret)-i]+t
if (i==2) or (i==4) then
t=":"+t
endif
next
ret=str(uo.Date())
d=""
for i=0 to Len(ret)
d=ret[Len(ret)-i] + d
if (i==2) or (i==4) then
d="."+d
endif
next
ret=t+" @ "+d
return ret
end sub

_________________
///


Top
   
PostPosted: 2011-01-08 10:22:11 
Offline
User avatar

Joined: 2006-11-06 00:55:40
Posts: 45
Забил на уо на некоторое время, а вот недавно снова начал поигрывать.
Функцию применил, все работает, большое спасибо!)))

_________________
[img][/img]


Top
   
PostPosted: 2011-01-14 20:23:57 
Offline
User avatar

Joined: 2010-04-07 14:43:26
Posts: 62
маладца!


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