one dude to writeln

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Arthur
Posts: 11
Joined: 2004-08-20 11:02:35

one dude to writeln

Post by Arthur »

sub write()
var X=uo.getx()
var Y=uo.gety()
var Z=uo.getz()
var t = file("c:\test.txt")
t.open()
t.writeln(str(X)+","+str(Y)+","+str(Z))
t.close()
end sub

this only make one line with coordinates
how to add new line and write coordinates to this?
Post Reply