mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2007
Posts: 48
K
Kol Offline OP
Ameglian cow
OP Offline
Ameglian cow
K
Joined: Dec 2007
Posts: 48
This suggestion could apply to text, action, or input actually.

Was just wondering if it would be possible to make that param more 'versatile'. Right now, you can specify channels; all with # or specific ones with #chan1,#chan2,#chan3 etc.

on *:INPUT:#,?: { } should be able to work in both channels and PMs as using the wildcard * would enable it for status and custom windows etc. The fact that ? is only taken as a single parameter and not a comma delimited option is a limitation in my opinion and would be very helpful and logical if it could be used with multiple choices.

Another good modification would be specifying the nicks. eg, ?Kol to trigger in PM with Kol as you can only specify PMs in general. Would remove the use of an if right away.

on *:TEXT:*:#Kol,?Kol,#mIRC: { would trigger on any matchtext in #Kol, #mIRC, or in PM with the nick Kol

on *:TEXT:*:#mIRC,?: { would trigger on any matchtext in #mIRC or all PMs in general.

Not a necessary update but would be very convenient and would remove the need for multiple events or the use of the * wildcard and validation within the script.

Joined: Dec 2007
Posts: 48
K
Kol Offline OP
Ameglian cow
OP Offline
Ameglian cow
K
Joined: Dec 2007
Posts: 48
Well I thought it was a semi-good idea ._.

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
It is. Who said it wasn't?

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

If it were a bad idea, there would be replies shooting it down.

Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
I like it too, also optionally extending the ON *:TEXT event with an exclude list would be nice too smile Any event that utilizes target s actually.


$maybe
Joined: Dec 2002
Posts: 109
T
Vogon poet
Offline
Vogon poet
T
Joined: Dec 2002
Posts: 109
It's not a bad idea, but the problem with it is that it could go on for ever. You want your extended matchtext parameters, then you'll want exclusion lists, then network specifiers... these would all be just as 'important'/'useful' as your suggestion, but if they were all there then the event would be hopelessly bloated.

And since the extensibility you desire is already available with the explicit if statements, I don't think this will get added.

Just my two cents.


<Ingo> I can't uninstall it, there seems to be some kind of "Uninstall Shield"
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
on undernet:me:@^&*:text:*:#channels,#to,?,#include:#channels,#to,?,#exclude:{  }


True story.

Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
Thats sexy i don't see the big issue smile


$maybe
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
I think the fact that you actually like that speaks about how bad an idea this would be.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
What a sad sad response, what's your beef?


$maybe

Link Copied to Clipboard