mIRC Home    About    Download    Register    News    Help

Print Thread
Delete a line #134871 05/11/05 08:48 PM
Joined: Sep 2005
Posts: 21
S
SalCro Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Sep 2005
Posts: 21
Hi,
I have a quote system, when i add a quote he writes a quote in quote.txt

now i was wondering if i cound delete one of those lines ...
is there a command to delete ?

Re: Delete a line #134872 05/11/05 09:33 PM
Joined: Dec 2004
Posts: 81
N
nycdiesel Offline
Babel fish
Offline
Babel fish
N
Joined: Dec 2004
Posts: 81
Code:
/write -dl[N] file
eg; /write -dl1 quotes.txt
The above deletes the first line in the file quotes.txt


More information can be obtained by typing /help /write in mIRC.

Re: Delete a line #134873 05/11/05 11:35 PM
Joined: Feb 2004
Posts: 206
D
Darwin_Koala Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Feb 2004
Posts: 206
Quote:
Hi,
I have a quote system, when i add a quote he writes a quote in quote.txt

now i was wondering if i cound delete one of those lines ...
is there a command to delete ?


As well as the "/write" command; if you delete infrequently (or don't want to have to go thorugh the hassle of searching for the line, you could use "notepad" :-)

Cheers,

DK


Darwin_Koala

Junior Brat, In-no-cent(r)(tm) and original source of DK-itis!
Re: Delete a line #134874 06/11/05 02:44 PM
Joined: Sep 2005
Posts: 21
S
SalCro Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Sep 2005
Posts: 21
Thx for your help i used write and it works smile thx both of u

Re: Delete a line #134875 06/11/05 02:56 PM
Joined: Sep 2005
Posts: 21
S
SalCro Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Sep 2005
Posts: 21
i have one more problem

on *:TEXT:test:#gameaddict: me slaps $nick

that doesn't work ????

Re: Delete a line #134876 06/11/05 04:05 PM
Joined: Dec 2004
Posts: 81
N
nycdiesel Offline
Babel fish
Offline
Babel fish
N
Joined: Dec 2004
Posts: 81
Code:
ON *:TEXT:test:#gameaddict:describe # slaps $nick