Jump to content


Photo

Multiple Script Arguments?


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 Chuckles

Chuckles
  • Members
  • 27 posts

Posted 12 April 2011 - 07:19 PM

I can't seem to figure this out, I want to alter a script for moving items, but I require it to have multiple arguments, what is the proper syntax for giving a script multiple arguments?

I've looked all around and this doesn't seem to be covered anywhere, thanks.

#2 mb

mb

    Developer

  • Administrators
  • 11521 posts

Posted 12 April 2011 - 09:45 PM

There is no special syntax. Arguments are separated with a space. E.g.:
arg1 arg2 etc

if your arguments contain spaces quote the arguments:
"arg1" "arg2"