mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2009
Posts: 52
Z
ziv Offline OP
Babel fish
OP Offline
Babel fish
Z
Joined: Sep 2009
Posts: 52
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.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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

Last edited by RusselB; 05/06/10 09:08 PM.
Joined: Sep 2009
Posts: 52
Z
ziv Offline OP
Babel fish
OP Offline
Babel fish
Z
Joined: Sep 2009
Posts: 52
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.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
If this were to be done, a wildcard syntax would make more sense:

Code:
on *:*: { }


It's how raw events work.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
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 *:*:{ }


I am SReject
My Stuff
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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).


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
Understandably. But I'd like to see on raw extended to where all server events can be caught(w/o the use of /debug)


I am SReject
My Stuff
Joined: Sep 2009
Posts: 52
Z
ziv Offline OP
Babel fish
OP Offline
Babel fish
Z
Joined: Sep 2009
Posts: 52
*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.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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.


Link Copied to Clipboard