Yoko

All sides of Injection
It is currently 2024-03-28 18:48:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 18 posts ] 
Author Message
PostPosted: 2015-12-25 09:26:54 
Offline

Joined: 2015-12-20 08:58:44
Posts: 24
..


Last edited by Okoy on 2016-10-26 14:36:00, edited 1 time in total.

Top
   
PostPosted: 2015-12-25 13:07:04 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Left(text, count)

_________________
CodeSweeper


Top
   
PostPosted: 2015-12-25 18:33:44 
Offline

Joined: 2015-12-20 08:58:44
Posts: 24
..


Last edited by Okoy on 2016-10-26 14:36:06, edited 1 time in total.

Top
   
PostPosted: 2015-12-25 18:52:27 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
uo.textprint("'")
uo.textprint(";")

_________________
CodeSweeper


Top
   
PostPosted: 2015-12-25 19:03:23 
Offline

Joined: 2015-12-20 08:58:44
Posts: 24
..


Last edited by Okoy on 2016-10-26 14:35:54, edited 1 time in total.

Top
   
PostPosted: 2015-12-25 19:16:39 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
I do not know why it's not working. Other ways to do this does not exist.

_________________
CodeSweeper


Top
   
PostPosted: 2015-12-25 19:31:09 
Offline

Joined: 2015-12-20 08:58:44
Posts: 24
..


Last edited by Okoy on 2016-10-26 14:35:51, edited 1 time in total.

Top
   
PostPosted: 2015-12-25 20:23:39 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
I do not understand what you want to do.

_________________
CodeSweeper


Top
   
PostPosted: 2015-12-25 22:27:06 
Offline

Joined: 2015-12-20 08:58:44
Posts: 24
..


Last edited by Okoy on 2016-10-26 14:35:46, edited 1 time in total.

Top
   
PostPosted: 2015-12-25 23:01:05 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Show string

_________________
CodeSweeper


Top
   
PostPosted: 2015-12-26 00:39:32 
Offline

Joined: 2015-12-20 08:58:44
Posts: 24
..


Last edited by Okoy on 2016-10-26 14:35:42, edited 1 time in total.

Top
   
PostPosted: 2015-12-26 09:24:16 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
String "I love the alphabet", delete "the"
Code:
   var msg = "I love the alphabet"
   uo.textprint(Left(msg, 7) + Right(msg, 8)) 
   uo.textopen()

_________________
CodeSweeper


Top
   
PostPosted: 2015-12-26 10:02:21 
Offline

Joined: 2015-12-20 08:58:44
Posts: 24
..


Last edited by Okoy on 2016-10-26 14:35:38, edited 1 time in total.

Top
   
PostPosted: 2015-12-26 10:14:23 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Now you must do everything yourself.

_________________
CodeSweeper


Top
   
PostPosted: 2015-12-26 10:33:00 
Offline

Joined: 2015-12-20 08:58:44
Posts: 24
..


Last edited by Okoy on 2016-10-26 14:35:34, edited 1 time in total.

Top
   
PostPosted: 2015-12-26 11:28:06 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Learn Pascal.
Code:
sub Test()
   var mx = uo.getx()
   var my = uo.gety()
   var mz = uo.getz()
   var f = file("C:\mapy.txt")
   f.append()
   f.writeln(str(mx)+", " + str(my) + ", " + str(mz))
   f.close()
end sub

_________________
CodeSweeper


Top
   
PostPosted: 2015-12-26 21:51:18 
Offline

Joined: 2015-12-20 08:58:44
Posts: 24
..


Last edited by Okoy on 2016-10-26 14:35:25, edited 1 time in total.

Top
   
PostPosted: 2016-01-04 21:29:17 
Offline
User avatar

Joined: 2012-12-15 12:03:25
Posts: 119
Location: C-Петербург
Похоже какие-то глюки (фичи?) с парсером
Воспринимает ; как комментарий (?)

На попытку
UO.TextPrint (";say 123")

отвечает "Unknown command say"

А какие команды он знает?? :shock:


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

All times are UTC+02:00


Who is online

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