well all i can see wrong is elseif else if..
I've tried it and still it doesn't !attack playername and still attacks players that are not in the list
...
If i have missed something than i have no clue what it is
on *:text:!attack*:#: {
if ($2 == $null) { /randattack }
elseif ($read(test.txt, w, $+(*,$2,*))) { /attackplayer }
else { /msg $chan The character $2 is not in our database }
}
Thanks
Coca-Bear