A bot can store a number in one of the five out sysvars. That number can then be read by a bot reading the respective in sysvar.