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 5:26 pm   

scripting
 
zmud only zupport vbscript and javascripts? is there a way to add some other languages?
for example I found this CS-Script at http://www.members.optusnet.com.au/~olegshilo/index.html
how can I add this to zmud?
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Thu Dec 13, 2007 5:35 pm   
 
Should be since CS-Script seems to support COM programming
Have a read through http://www.zuggsoft.com/zmud/com.htm

Also worth mentioning that CMUD has integrated support for Lua, so that might be more easy to get started on if you want more power than zscript can give
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
rassiel
Beginner


Joined: 11 Dec 2007
Posts: 14

PostPosted: Thu Dec 13, 2007 5:39 pm   
 
oh, but I wanted to script using C# style code and functions not using the com Object, just to make something like this:

#MSS {MessageBox.Show("Hi")} {CS-Script}

of course, CS-Script is not supported, but I'm just wandering if there is a way to add it?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Dec 13, 2007 6:13 pm   
 
It looks like the CS-Script is using some system other then the Windows Scripting Host. The only other ways zMud could possibly access it is by COM or DDE and I am not seeing that CS-Script has support to receive input from either of those. This pretty much means that CS-Script is capable of seeing into zMud by the methods zMud exposes through its COM interface; zMud is incapable of seeing into CS-Script.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
rassiel
Beginner


Joined: 11 Dec 2007
Posts: 14

PostPosted: Thu Dec 13, 2007 6:23 pm   
 
Shocked
Ok, if CS-Scritp exports a Com Object the only thing I can do is to access methods and objects from CS-Script using zmud built in script language, or through WSH: vb and js by default?
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Thu Dec 13, 2007 10:21 pm   
 
zMUD can't actually use languages other than JS and VB, even if they're installed in the WSH. You need CMUD to be able to do that.

You can use zMUD's COM properties from other languages, though.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Dec 13, 2007 10:26 pm   
 
Sorry to argue, but zMud can. It is just a severe pain in the rectum. The %mss, %script, #SS, and #MSS commands and functions all support a language parameter. You just have to be extremely careful about formatting and such in order to do anything useful when trying to preform your scripts that way.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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