All scripts must be included before any manin code.
eg:

#include <acknex.h>
#include <default.c>
#include "instruct.c"

var speed = 50;
BMAP* mouse_pcx = blah blah blah

function main()
{
blah;
blah;
blah;
}

Where you have! level_load("choosechar.c");
You must specify a level.wmb NOT a script.
eg: level_load("main_game.wmb")


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus