This is the code i've got:
ProductSupply.Copy(Position,Position+1)
This is how im using in my code
var/NewPrice = (NewDemand/(NewGovern+(ProductSupply.Copy(Position,Position+1)))+rand(-10,10))
Im doing something like this a couple hundred times in the code, and an easy way to change the return into a variable so it doesn't return "/list" would be great, any ideas?
var/myVar = someList[1]
That will set myVar to the first entry in someList. If the list is only going to be 1 entry long, why use a list in the first place?