Yes i noticed that...ok i tried this it didn't work..

Code:
 on *:text:!attack*:#: {  
if ($2 == $null){ /randattack }
else if ($read(test.txt, w, $+(*,$2,*))) { /attackplayer }
else { /msg $chan The character $2 is not in our database}
}
 


i can do !attack and it does a random player. but still it attacks players that are not in test.txt.

Also i do !attack playername and it does nothing.. nothing at all

Any help is greatly appreciated :tongue:

Thanks

Coca-Bear

Coca-Bear