Blockland Forums > Modification Help

where did you learn torque

Pages: << < (3/6) > >>

deathrider:

i tried a gui could not get it to work so i found a video of /commands got those to work except for one as its forgeted its self some how


--- Code: ---function startscript()
{
  echo("Loading the script.");
  exec(Add-Ons/Script_Testing/server.cs
  echo("Script loaded.");
}
--- End code ---


Nexus:


--- Quote from: deathrider on April 05, 2012, 07:31:16 PM ---i tried a gui could not get it to work so i found a video of /commands got those to work except for one as its forgeted its self some how


--- Code: ---function startscript()
{
  echo("Loading the script.");
  exec(Add-Ons/Script_Testing/server.cs
  echo("Script loaded.");
}
--- End code ---

--- End quote ---

the exec command is unfinished

you need the filepath in quotes because it is a string and every command needs to end with );

otto-san:

trile and erur

deathrider:


--- Quote from: Nexus on April 05, 2012, 07:39:40 PM ---the exec command is unfinished

you need the filepath in quotes because it is a string and every command needs to end with );

--- End quote ---
OMFG how did i miss that ffs

Treynolds416:


--- Quote from: Cubelands on April 05, 2012, 03:25:47 AM ---http://forum.blockland.us/index.php?topic=20754.0

--- End quote ---
That's a horrible place to start.

Anyway torquescript is based on C#, not C or C++

Pages: << < (3/6) > >>

Go to full version