mIRC Home    About    Download    Register    News    Help

Print Thread
#108088 16/01/05 04:56 PM
Joined: Mar 2004
Posts: 33
M
Mc_Fly Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2004
Posts: 33
/hdel -sw <item1> [item2,...]

like /unset <%var1> [%var2...]

what do you think ?

Last edited by Mc_Fly; 16/01/05 05:03 PM.
#108089 16/01/05 05:00 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Don't you mean /hdel instead of /hdec

/hdel would make more sense due to your /unset reference.


Gone.
#108090 16/01/05 05:03 PM
Joined: Mar 2004
Posts: 33
M
Mc_Fly Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2004
Posts: 33
yes, sorry, i'm tired...

Mc_Fly #168936 17/01/07 12:18 AM
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
If you mean /hdel -sw <name> <item1,[item2,item3,...]> then I'm for this.

Also /hfree -sw <name1,[name2,name3,...]> would be nice. smile


What do you do at the end of the world? Are you busy? Will you save us?
Jigsy #168949 17/01/07 04:49 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I agree this would be nice, although I think the w switch should only be required if one or more of the items has a wildcard in it, and that the w switch only applies to the item(s) that have the wildcard.

Eg: /hdel -sw table1 item1 item2* item3 item4*

The wildcard switch would only apply to items that started with item2 or item4, so item20 would be deleted, but item12 wouldn't.

RusselB #170321 07/02/07 02:29 AM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
Originally Posted By: RusselB
Eg: /hdel -sw table1 item1 item2* item3 item4*

The wildcard switch would only apply to items that started with item2 or item4, so item20 would be deleted, but item12 wouldn't.


I'm guessing using regex to match items to close would be asking too much..


Link Copied to Clipboard