mIRC Home    About    Download    Register    News    Help

Print Thread
Misc commands #141894 13/02/06 10:11 PM
Joined: Nov 2004
Posts: 804
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 804
I'm not sure what other commands to add yet, but an /updateial command would be nice.


What do you do at the end of the world? Are you busy? Will you save us?
Re: Misc commands #141895 13/02/06 10:50 PM
Joined: Jan 2003
Posts: 249
C
ClickHeRe Offline
Fjord artisan
Offline
Fjord artisan
C
Joined: Jan 2003
Posts: 249
/updatenl

Re: Misc commands #141896 15/02/06 06:59 PM
Joined: Nov 2004
Posts: 804
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 804
I know the follow two ideas are going to spark 'workarounds' and all sorts of negative comments ... anyway

/write -t which timestamps whats written, which saves doing /write file.txt $timestamp ...

and /writeini -uN which removes an item after N seconds which saves /timer 1 N remini ...


What do you do at the end of the world? Are you busy? Will you save us?
Re: Misc commands #141897 15/02/06 07:16 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
/write -t - why not?

/writeini -uN - I don't think this is very practical. A file could easily be moved, deleted, edited (maybe even by other applications) before it's time for the item to be unset. Besides that, files are normally used for storing permanent settings, whereas there are things like hashtables and variables for storing temporary settings.