Apkk
graham should use variables in <xt:include file="$....." />
ex: var $file = index
<xt:include file="$file" />
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
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
Tiax giả thích bằng tiếng việt đi mình gà tiếng anh nên google dịch đó
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 '/'
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 ??
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.
tiaxgame
Apkk oh! The thì dùng random filelist yk