mIRC Homepage
Posted By: darkfunkel Deleting a line from a text file - 14/06/03 02:32 PM
I am making a memo system for people to leave me a message in my channel, I can make it add a memo, read a memo by a number !read 1 would read line one but I don't know how to make !delete 1 so it would delete the first line and !delete 2 to delete line two. Any help would be appreciated
Posted By: pheonix Re: Deleting a line from a text file - 14/06/03 02:34 PM
on level:TEXT:!delete*:#:{
var %i $2
/write -dl yourtext.txt %i
}
Posted By: andymps Re: Deleting a line from a text file - 14/06/03 02:34 PM
never mind that
did it worng i did
Posted By: darkfunkel Re: Deleting a line from a text file - 14/06/03 03:09 PM
sorted that /write -dl helped ty but simplified ty cool
© mIRC Discussion Forums