mIRC Homepage
Posted By: ziv On event and non-window-ed /drawpic - 05/06/10 07:54 PM
Two things I'd like to see on a future version of mIRC:

I'd really like an "on 1:event:{" with $event, it would prove very useful for re-scriptable remote bots.

I suppose that's really specific...but I can't really add that option into mIRC myself, or I would smirk

The second one is the ability to draw a picture directly onto the screen, or better yet, have some sort of way to create a window that's automatically in the shape of the image you want to draw into it...a mixed /window-/drawpic command.

This would prove very useful for those seeking better looks for their mIRC scripts as currently those have to deal with the white window that stays around the image.

If there's any existing way of doing either of these, do email me.
wooter99@gmail.com

Thanks in advance,
ziv.
Posted By: RusselB Re: On event and non-window-ed /drawpic - 05/06/10 09:07 PM
The biggest problem that I can see with you ON EVENT suggestion, is the fact that not all events support the same parameters.

Ex: the ON TEXT event uses the format of
Quote:
on <level>:TEXT:<matchtext>:<location>:<commands>
where as the ON QUIT event is just
Quote:
on <level>:QUIT:<commands>


The second event in my comparison doesn't have, use, or need the matchtext or location parameters.

To have one event that would cover all events, then all of the parameters would have to be accounted for.

P.S.: $event already exists
Posted By: ziv Re: On event and non-window-ed /drawpic - 05/06/10 09:55 PM
Firstly, indeed it should support all the possible event identifiers but have only the valid ones return anything.

Secondly, Oh right...forgot $event exists...doesn't really work as "on 1:event:" though.

obviously the format should be:
on *:event:{ }
With all the arguments handled inside.

ziv.
Posted By: argv0 Re: On event and non-window-ed /drawpic - 05/06/10 11:27 PM
If this were to be done, a wildcard syntax would make more sense:

Code:
on *:*: { }


It's how raw events work.
I'm not sure about the whole on event thing, but in the help file it says:
Quote:
You can process non-numeric server messages by specifying the name of the event:

raw PROP:*mirc*:/echo 5 raw $event : $1-

Right now, it ignores alot of the events that mIRC has events for, so i think instead of creating a whole new "on event", just extend the raw *:*:{ }
Posted By: argv0 Re: On event and non-window-ed /drawpic - 06/06/10 05:14 PM
Extending raw events would be the wrong way to go, for many reasons (most importantly not all the events you'd want to capture would be server events and have nothing to do with RAWs).
Understandably. But I'd like to see on raw extended to where all server events can be caught(w/o the use of /debug)
Posted By: ziv Re: On event and non-window-ed /drawpic - 06/09/10 08:03 PM
*BUMP!* I still haven't forgotten about this thread! xD
Just making sure it's not lost to some auto-removing tool by the forum smirk If I could get some kind of feedback from Khaled...a positive...a maybe...a negative...that would be great, I doubt he'll have the time, but I don't despair so easily, I will keep this around smile

ziv.
Posted By: argv0 Re: On event and non-window-ed /drawpic - 06/09/10 09:56 PM
Please don't bump threads. Khaled will respond if he thinks it's necessary to respond. He rarely gives his opinion on suggestions and rarely informs you if he's working on it. That's the way things work.

Don't do this again. Thanks.
Posted By: RusselB Re: On event and non-window-ed /drawpic - 06/09/10 10:16 PM
Quote:
Just making sure it's not lost to some auto-removing tool by the forum

To my knowledge, this forum does not have an automatic removal tool. This is, sort of, supported by the fact that searches can go back 5 years.
© mIRC Discussion Forums