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
macane
Newbie


Joined: 13 Aug 2005
Posts: 1

PostPosted: Sat Aug 13, 2005 8:02 am   

Howto use MsScripts from an external file?
 
Hi

I've been using a another client (JMC) that's been discontinued for sometime now. What is really nice about this client is it's scripting abilities with VbScript and others.

So subsequently i have a pile of scripts created for that client I would like to adapt to Zmud and use.

How would i go about handling several pages long vbscript files that contain several Sub's which are used in modular fashion depending on what alias/trigger is used. Is there a simple way to load a Vbscript file and use it's sub functions simply by adding an alias that refers to the sub ??

#alias SomeAlias {#SOMECOMMAND VBSub data1 data2, etc....}
How would such a line look.
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Sat Aug 13, 2005 1:58 pm   
 
Check out Windows Script Components with this you can package and register your VBScript scripts as COM component(s);
Then you can create and call your exposed function just as you would any other COM methods.
I did that here http://forums.zuggsoft.com/phpbb/viewtopic.php?t=15922
try downloading the Windows Script Component Wizard
from this link
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
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