Make sure you set the server up in the script.
Search for a line:
Smart_Server := "server number here" (without ")
And then choose a world you want. I think this will solve the problem.
Or if the script got a line:
SmartSetupEx
then I suggest you look up the wiki there is a tutorial how to make every script a SMART script.
http://www.villavu.com/wiki/index.php/How_to_make_any_Script_a_S.M.A.R.T_Script