Xt Script is Xtgems own scripting language (ie it only work in xtgem), it also uses $ variable to function. Any mistake in the script it will Timeout
You cn use Xtscript to create any function in xtgem such as paging with next and previous, filelist, header selection/splitting and device view, blog, searchs etc.
It still commands use the tag <!--parser:xtscript--> and closes its command using <!--/parser:xtscript--> the xtscript function below using the support of include file and xtscript function it has a mobile detector, country, forum, and browser detector, random photo widget etc. all in one using xtscript