mIRC Home    About    Download    Register    News    Help

Topic Options
#29772 - 14/06/03 03:32 PM Deleting a line from a text file
darkfunkel Offline
Self-satisified door

Registered: 24/05/03
Posts: 4
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

Top
#29773 - 14/06/03 03:34 PM Re: Deleting a line from a text file
pheonix Offline
Hoopy frood

Registered: 06/05/03
Posts: 2265
on level:TEXT:!delete*:#:{
var %i $2
/write -dl yourtext.txt %i
}


Edited by pheonix (14/06/03 03:36 PM)
_________________________
new username: tidy_trax

Top
#29774 - 14/06/03 03:34 PM Re: Deleting a line from a text file
andymps Offline
Fjord artisan

Registered: 11/04/03
Posts: 300
Loc: England,Uk
never mind that
did it worng i did


Edited by andymps (14/06/03 03:40 PM)
_________________________
Liek OMG Yuo Stoleded my MageHurtzzzz!!!11

Top
#29775 - 14/06/03 04:09 PM Re: Deleting a line from a text file
darkfunkel Offline
Self-satisified door

Registered: 24/05/03
Posts: 4
sorted that /write -dl helped ty but simplified ty cool


Edited by darkfunkel (14/06/03 04:17 PM)

Top