Yoko

All sides of Injection
It is currently 2026-02-21 17:39:07

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: problem with writeln()
PostPosted: 2005-04-10 10:07:09 
Offline

Joined: 2004-04-22 13:48:27
Posts: 4
Code:
sub coord()
var MX=uo.getx()
var MY=uo.gety()
var MZ=uo.getz()
var ft = file("c:\progra~1\uoam\mapy.txt")
ft.open()
ft.writeln(str(MX)+","+str(MY)+","+str(MZ))
ft.close()
end sub

this script writes coordinates to file but:
its always rewrites first line of file - how to add new line and write coordinates to this?

mny thnx

_________________
Hobbit the Ranger
Trillian the Vampire
... on czech shard Darkparadise


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

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