Quote:
especially if the script exceeds more then 2 lines on-event-do-one-thing.


Hi,

I'm sorry I can't help you with writing dll's for mIRC but there are people here on the boards that can. Maybe you can use the Search function from this message board, I'm sure some interesting things will pop up. Same goes for Google. Maybe COM Objects can help you as well, don't know that for sure, but can't hurt to check it out: in mIRC /help Com objects

I quoted your sentence there because I am curious to know what you mean with that. If you mean that you don't like having more than 1 line of code on an event, then you can do this extremely easy by doing:

on *:EVENT:*:*: ProcessInput $target $1-

then simply create an alias which does all the work that you want it to, without having to code it on the event itsself.

alias ProcessInput {
...
}

Or do you mean that it is not possible to script more than 2 lines in an event?

on *:EVENT:*:*: {
...
...
...
}

Because of the braces you can put multiple commands into one event, no matter how many lines you use, as long as they are enclosed by the { } braces.

However as stated, I don't really know what you mean, so my apologies to you if this was not at all what you were saying.

Greets

Last edited by FiberOPtics; 29/05/04 11:21 AM.

Gone.