Added argument access methods to the Script class
Converted lua to cpp functions in AIScript to use the new argument access