|
rassiel Beginner
Joined: 11 Dec 2007 Posts: 14
|
Posted: Thu Dec 13, 2007 3:27 pm
events on zmud com? |
are there some kind of events on the zmud COM object? for example if I want to parse myself every line, something like onLineReceived? or call a method whe the user closes a connection, like a onConnectionClosed?
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Dec 13, 2007 3:44 pm |
Nope.
I'm guessing the reason that an onLineRecieved event doesn't exist is because of synchonisation - if you want something to happen in your external COM app and then for it to send something back to CMUD, CMUD will have to hang there waiting until your COM app sends back whatever it's going to send, which isn't really what COM was meant to do and would make CMUD's scrolling very slow.
Most languages are supported in CMUD via WSH anyway, so you can just use that with triggers to do external stuff. |
|
|
|
rassiel Beginner
Joined: 11 Dec 2007 Posts: 14
|
Posted: Thu Dec 13, 2007 3:46 pm |
thanks, that anwsers my question, I was thinking on office com objects, where you have events. thanks again
how do I use WSH on zmud? with the #mss command? |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Dec 13, 2007 10:18 pm |
Balls, I need to stop confusing the forums.
You can't use WSH in zMUD, I'm afraid, only CMUD :( |
|
|
|
rassiel Beginner
Joined: 11 Dec 2007 Posts: 14
|
Posted: Thu Dec 13, 2007 10:27 pm |
Humm..Vigiliante argue...
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Dec 13, 2007 10:42 pm |
You can argue all you like, but it doesn't change the facts:
Both taken on the same computer. |
|
|
|
|
|