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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
DraxDrax
Apprentice


Joined: 22 Mar 2009
Posts: 149

PostPosted: Fri Nov 05, 2010 11:47 pm   

Perl in Cmud?
 
Does Cmud support scripts written in perl, or can zScript or another of the script languages Cmud supports be converted to perl and vice versa?

I've been asked by someone using the mac client atlantis about the feasibility of writing scripts that would be cross compatible across these and other clients, and while I don't think it can be done, I'd appreciate a definitive answer from you folks who'd know better than I.
Reply with quote
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Sat Nov 06, 2010 2:06 am   
 
I've used ActivePerl 5.8.8 I think it was, in CMUD before when I was doing a bit of experimenting with something. So I can say it's possible to use Perl. Writing a script that will work in CMUD and other clients too? A single script would not be straight plug and play but with a team effort, (someone for each client you wish to use the script with), there might be a sliver of hope in taking a base script and making the changes needed to adapt to other clients. I guess that would depend alot on how complicated the script was. I'm no expert on anything other than eating steak and drinking beer though. ;)
_________________
Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Nov 06, 2010 4:26 am   
 
CMUD does support Perl (via ActivePerl) more specifically, it supports any language that uses the Windows Scripting Host.
_________________
Asati di tempari!
Reply with quote
DraxDrax
Apprentice


Joined: 22 Mar 2009
Posts: 149

PostPosted: Sat Nov 06, 2010 8:14 am   
 
Hunh. Ok, didn't know that. Thanks for the responses!

So... how does one integrate perl scripting in to Cmud? Could someone give me a simple example of the steps involved and syntax to make something simple work?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Sat Nov 06, 2010 8:46 am   
 
You go to make any script setting and near the top is a drop down language menu.
Select and choose.
I forget how to add extra languages to the default six however.
_________________
Discord: Shalimarwildcat
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Nov 06, 2010 1:56 pm   
 
If I recall correctly, it's automatic once you've installed a client that supports the Windows Scripting Host interface.
_________________
Asati di tempari!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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