Author Topic: It doesnt work.  (Read 4157 times)

Offline darkfrost1802

  • Bot Neophyte
  • *
  • Posts: 7
    • View Profile
It doesnt work.
« on: June 23, 2017, 08:16:48 PM »
So I was making MyFirstBot(its name) and I'm trying to make Animal_Minimalis eat is food(plants) into extinction, so I added this line of code

*.totalbots .totalmyspecies sub > 20

Into gene 2's conditions, any help?

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: It doesnt work.
« Reply #1 on: June 24, 2017, 12:13:18 PM »
If you're doing what I think you are it should be

*.totalbots *.totalmyspecies sub > 20

The asterisk is important or else you're just pointing to a memory location and not the value in the memory location.

If it still doesn't work it's possible those sysvars are broken.  Use the bot memory inspection tool and see if the variables in those sysvar locations look right.

Offline darkfrost1802

  • Bot Neophyte
  • *
  • Posts: 7
    • View Profile
Re: It doesnt work.
« Reply #2 on: June 24, 2017, 07:08:46 PM »
Thanks I got it working!