Thread: Hello world
View Single Post
  #3 (permalink)  
Old 11-16-2007, 05:19 AM
MrPickle's Avatar
MrPickle MrPickle is offline
Sr. Programmer
Join Date: Nov 2007
Location: England, Lincolnshire
Posts: 301
iTrader: (0)
MrPickle is on a distinguished roadMrPickle is on a distinguished roadMrPickle is on a distinguished road
You're ment to replace filepath with where the file is in relation to your torque folder.

In your torque folder there'll be several folders, If you save your file in the base folder you'd type exec("base/nameoffile.cs");.

You need it to tell the game to execute the file so when that function's called it knows what to do. If you don't execute it when you type helloWorld(); it'll say unkown command: HelloWorld();

__________________
PM me and tell me your name or a phrase and I shall write it in Elf for you. English Tengwar to be precise.
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote