Search found 3 matches

by primate
2006-08-20 17:04:02
Forum: Scripting Ore
Topic: Lumberjackin script problem
Replies: 3
Views: 1776

yes is saving like this and i can't find the mistake:

Code: Select all

5   #number of trees
1 1 1  #number 1 x y z
1 1 1   #number 2  x y z
1 1 1  #number 3   x y z
1 1 1  #number 4   x y z
1 1 1   #number 5   x y z
 
by primate
2006-08-20 05:52:46
Forum: Scripting Ore
Topic: Lumberjackin script problem
Replies: 3
Views: 1776

Lumberjackin script problem

Why this script is saving me the all the tiles for target the trees in the file al in 1 x y and z like this:

1 1 1
1 1 1
1 1 1

sub Lumber()
var i=0,j=0,k=0,r=0,q=0,ii,jj
var TopX=0,TopY=0
dim TreeX[100], TreeY[100],TreeT[100]
dim TreeTile[100]
var ...
by primate
2006-08-02 06:43:41
Forum: Help
Topic: goto string var
Replies: 1
Views: 875

goto string var

is it posssible make something like this work using str()?Cause im trying to do a kind of switch , but goMenu() is returning me a parse error.Thanks.



var b=1

sub goMenu()

goto 'A'+str(b)

end sub

sub menu()



A1:
uo.print(str(b)&#41 ...