BOF51crew
How to create script to banned ip address using xtscript?
I tried to make with this code, but it does not work well, please if there is a solution.
<!--parser:xtscript-->
var $banned=<xt:ipaddress type="1" />;
var $ban1=123.4.5.678;
var $ban2=876.5.4.321;
if $banned <= $ban1
print <meta http-equiv="refresh" content="0;url=http://site.xtgem.com/ip_banned" />
elseif $banned <= $ban2
print .......etc;
else
print .......etc;
endif
<!--/parser:xtscript-->