Can anyone send me a sample code that can be imported to TP without any error.

I tried to import a text file(other than a xml file) which contains the script, but it shows the error as "No Assets were Found!".

Is there any specific format for the coding style in a file to get it imported?

Please send me some sample codings...