As Xarthor says: Save your script as .c file. The wdl files are the old c-script and this don`t support the newest functions.