* Apkk graham should use variables in <xt:include file="$....." />

ex: var $file = index

<xt:include file="$file" />
2014-07-22 19:11 · (0)
* tiaxgame * Apkk with xt:include in xtscript, you use
var $file = /index
Var $include = xt:include file="$file"
Print <$include />

Copy code

You must remove '<' and '/>', then "print" as code
2014-07-22 21:13 (edited 2014-07-22 21:14 by tiaxgame ) · (1)
* Apkk * tiaxgame ok. thank tiax
2014-07-22 22:39 · (0)
* Apkk why I can not use

var $folder = folder
var $a = 01
var $include = xt:include file="/$folder/$a*"
var $random = <$include/>

$a is the first character of the file

Copy code



but used to be like this
<xt:include file="/folder/01*" >
Copy code


Tiax giả thích bằng tiếng việt đi mình gà tiếng anh nên google dịch đó :D
2014-07-24 18:57 · (0)
* tiaxgame * Apkk axax! Viet nam à! @_@
<xt:include file="/files/*" />

Là include random 1 file bất kỳ trong th.mục /files

Code tren thjeu '/'
2014-07-24 19:08 (edited 2014-07-24 19:08 by tiaxgame ) · (0)
* Apkk * tiaxgame chổ nào nhỉ. code trên của mình không dùng được còn code dưới thì bình thường là sao ??
2014-07-24 21:33 · (0)
* tiaxgame * Apkk $folder/01/$a/*
2014-07-24 21:44 · (0)
* tiaxgame * Apkk
var $folder = folder
var $a = 01
var $include = xt:include file="/$folder/$a/*"
var $random = <$include />

$a is the first character of the file

Copy code
2014-07-24 21:46 · (0)
* Apkk * tiaxgame không phải. ý mình là trong thư mục folder lấy những file có ký tự bắt đầu bằng $a.
2014-07-24 22:44 · (0)
* tiaxgame * Apkk oh! The thì dùng random filelist yk
2014-07-24 23:35 · (0)

Online: Guests: 1