Okay I will try this, Thank you for the help I am currently having throuble with something I experimented on...
if GetAsteroid(a):GetNumSeedlings() = 60 and GetNumDysonTrees() = 4 then
Message("You now have 60 seedlings, lets expand this Empire.~Notice the Asteroid to the left - Take it.", true, 1.0, "Centre")
b = GetAsteroid(0)
b = GetEmpire(1)
b = AddAsteroidWithAttribs(1432,4523, 0.6,0.1,0.5)
b.Owner = 0
b.TreeCap = 2
b.Moveable = false
b:SetRadius(124)
WaitDialog()
I want to spawn an asteroid if the number of seedlings on asteroid a is 60 and the number of dyson trees is 4