this code have problem please helpme..
#banlist off
on *:join:#:{
if ($nick != $me) && ($me isop $chan && ($readini(banlist.ini,banlisted,$address($nick,1)) != $null) { /echo -a 7 Banlisted user %name has entered! They were banlisted for %reason Take swift actions now! | /kick # $nick Banlisted / %name / %reason | /access # add deny $address($$1,1)
#banlist end
Banlist
.Add
..Echo:{ /writeini banlist.ini /set %name $$?"Name?" /set %reason $$?"Reason?" banlisted / %name / %reason $address($$1,1) $$1 | /echo -a 7 $$1 has been added too the 12Ban list | /kick # $$1 Banlisted / Name: %name / Reason: %reason }
..Say:{ /writeini banlist.ini /set %name $$?"Name?" /set %reason $$?"Reason?" banlisted / %name / %reason $address ($$1,1) $$1 | /msg # 7 %name has been added too the 12Ban list | /kick # $$1 Banlisted / Name: %name /Reason : %reason }
.Remove
..Echo:{ /remini banlist.ini banlisted $$address($$1,1) $$1 | /echo -a 7 $$1 has been removed from the 12Ban list }
..Say:{ /remini banlist.ini banlisted $$address($$1,1) $$1 | /message # 7 $$1 has been removed from the 12Ban list }
Banlist
.Enable:{ /enable #banlist | /echo -a 7Banlist enabled }
.Disable:{ /disable #banlist | /echo -a 7Banlist disabled }
.View list:{ /run banlist.ini }
.Echo list:{ /echo -a 12 $read(banlist.ini)