Code:
on @*:text:!eplist:#:{
  if !$nick($chan,$nick,r) {
    .play $nick eplist.txt
  }
  else {
    .ban -ku900 $chan $nick
  }
} 


it should look just like that in the REMOTE file.

hold the ALT key, type the r key to open the remotes editor
add it to your scripts there or make a new file using File then click New