mIRC Homepage

? and # with a single on INPUT event

Posted By: KilledInAction

? and # with a single on INPUT event - 24/09/07 02:05 AM

I haven't checked any other types of events besides on TEXT and INPUT, so I don't know if this happens in more places. I have an on TEXT event and an on INPUT event where the target is set to "#,?" like the following

on *:INPUT:#,?: { ... }
on *:TEXT:*:#,?: { ... }

The INPUT event only triggers in channels, while the TEXT event triggers in both channels and queries. If I reverse them (?,#), it still works in both locations for the TEXT event, but now only works in queriest for the INPUT event.
Posted By: Doqnach

Re: ? and # with a single on INPUT event - 24/09/07 09:17 AM

hmmm that is weird indeed, never noticed that

are you sure you don't have another input event catching things somewhere else which might cause problems?
Posted By: Sais

Re: ? and # with a single on INPUT event - 24/09/07 12:43 PM

Looking at the help file, on text specifically allows multiple _channel_ targets ( :<*><?><#[,#]>: ). On input doesn't ( :<*#?=!@>: ).

The on text behaviour may be an artifact...I don't see anything obvious in versions.txt that implies anything has changed from the helpfile syntax definition.
Posted By: KilledInAction

Re: ? and # with a single on INPUT event - 27/09/07 04:53 PM

Okay... should i post this in the feature requests section then?
Posted By: Sais

Re: ? and # with a single on INPUT event - 27/09/07 09:12 PM

If it's not already there. I have to admit I didn't check. Feel free to do the legwork laugh
© 2022 mIRC Discussion Forums