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


Joined: 06 Jan 2006
Posts: 3

PostPosted: Fri May 02, 2008 8:45 am   

Porting mushclient triggers to ZMUD?
 
Is there a way to port a mushclient trigger file to zMud?
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Fri May 02, 2008 9:50 am   
 
No. Mushclient triggers are written in Lua using Mushclient's API and Mushclient's own trigger spec. zMUD doesn't support Lua at all, so you'd have to recode everything.

You might have slightly better luck with CMUD. While CMUD supports Lua now, it uses a completely different API to Mushclient and it's possible (nay, likely) that some of your scripts won't be fixable with a simple find+replace, though, so I wouldn't count on it. With that said, I believe someone was trying to write something that'd attempt a find+replace conversion. You could try searching.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Vrasp
Newbie


Joined: 06 Jan 2006
Posts: 3

PostPosted: Fri May 02, 2008 10:36 am   
 
Drat. Okay, thank you for the info.
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Fri May 02, 2008 10:44 am   
 
I have been playing with the idea of a more "general purpose" script converter. For example MushClient(Lua) <-> zMUD(zScript)<-> MM2k <-> cMUD(cScript). However the amount of work required and the usefulness of such a tool has made me hesitant to attempt it Sad. Also some translations might be possible to do "properly" one-way only, e.g zScript -> cScript. Because cScript has more language features it becomes more difficult to translate it back to zScript.
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