91
DNA - General / A lazy turner(turning gene)
« on: May 03, 2006, 04:55:57 PM »
I thought .readtie was required to use the tref commands?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Have you tried what Testlund needed to do? Edit the settings file so the paths point to things correctly?
You have to be one of the fastest ranking members since Nums joined
Bots R Us was pretty fast too.
I'm trying to think of when the best time to run script events would be. Can anyone think of some sort of event they might like to run that would be difficult or impossible to accomplish if the scripts all executed at the start of every cycle?
cond
*.nrg 5000 >
start
5 .tienum store ' the tie I'm adressing (in this example '5')
-1 .tieloc store ' the energy transfer tieloc
100 .tieval store ' the amount of energy to transfer
stop
' this first gene fires a tie with a phase of 5 at any bot
cond
*.eye5 30 >
start
5 .tie store
stop
' this gene feeds through the tie with a phase of 5
cond
*.numties 0 >
' when I have more the zero ties connected to me
start
5 .tienum store
' I adress ties with a phase of 5
-1 .tieloc store
' I adress tie energytransfer memory location
-1000 .tieval store
' I give "negatively", thus: I receive energy
stop
I'll need someone to program a new Multi Bot using the new tie routines once they're programmed, if you'd like to give it a whack.
Here's SWARM SGified: