* 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-->
2018-01-12 04:51 (edited 2018-01-12 05:03 by BOF51crew ) · (0)

Online: Guests: 1