Hi,
I have a remote file to auto ignore queries from people on my "badlist", and I wrote these two aliases to add and remove people. The problem is that the one to remove a name isn't working right. It's just putting a blank space at the beginning of the file and the next line is still the nick I tried to remove. (I've only had one nick in there just to test it so far) Any ideas why this isn't right? I just looked at the help for write -ds(line number) today, so I could be using it incorrectly. Here are the aliases.
/badlist {
var %addbad $$?="Name to add:"
write C:\mirc\badlist.txt %addbad
}
/delbad {
var %delbad $$?="Name to delete:"
write -ds%delbad C:\mirc\badlist.txt
}
Thanks for any help.