tiaxgame
I can't call function from wapsite other
include aichat.wap.sh/xt/func/love.xt
call aichat.wap.sh@love $num=5
Copy code
johntxt
tiaxgame add code #exportable on top
#exportable
function love $num=10
# tên hàm là "love", biến $num là số lần thực hiện nhiệm vụ "A" (mặc định là 10, có thể thay đổi khi gọi hàm
Var $i=1
@loop
Print {{<div class="menu">$i: anh yêu em<br/><font color="red">anh yêu em</font><br/><font color="blue">anh yêu em</font><br>em yêu anh khơng thì tùy.</div>}}
Var $i = ($i+1)
If $i<=$num
goto @loop
Endif
endfunction
Copy code