View Single Post
  #6  
Old September 13th, 2007, 11:48 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: commander type/unit type

Short Answer: dont put quotes around the numbers

Longer Answer:
Quotes (standardly in most scripting or programming languages, and here also) are used to say "the next item might be more than one word" and it usuall seperates items by a space. So the quotes tell the program not to not skip ahead too quick.

In other words:
units 30 1085 does not need quotes because it reads it 1 2 3

but #comname "Fir the Frozen" would need quotes so that read items 1 2 wont stop at Fir, but include the whole Fir the Frozen into item 2

edit: Sombre beat me to an answer. Darn my "teaching mode"

Gandalf Parker
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote