|
rassiel Beginner
Joined: 11 Dec 2007 Posts: 14
|
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: 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... ;) |
|
|
|
rassiel Beginner
Joined: 11 Dec 2007 Posts: 14
|
Posted: 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? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
rassiel Beginner
Joined: 11 Dec 2007 Posts: 14
|
Posted: Thu Dec 13, 2007 6:23 pm |
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? |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
|
|