Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
rassiel
Beginner


Joined: 11 Dec 2007
Posts: 14

PostPosted: 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?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: 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.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
rassiel
Beginner


Joined: 11 Dec 2007
Posts: 14

PostPosted: 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?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: 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 :(
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
rassiel
Beginner


Joined: 11 Dec 2007
Posts: 14

PostPosted: Thu Dec 13, 2007 10:27 pm   
 
Humm..Vigiliante argue... Question
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: 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.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net