I need help with a script I've been trying to do for about a day and a half.
on *:TEXT:Delete messages for*:*: {
  IF ($4 == $nick) { GOTO first }
  ELSE { GOTO second }
  :first
  IF {$isfile($$4.txt) <= 1} { /msg $nick You don't have any messages to delete! }
  ELSE { /msg $nick Okay, I will delete all of your messages. | /remove $$4.txt }
  HALT
  :second
  { /msg $nick Only $4 can delete their messages! }
}The way I intend the script to work is, if the file doesn't exist, then it prints the message to the right.