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


Joined: 18 Jun 2008
Posts: 1

PostPosted: Fri Jun 20, 2008 11:15 pm   

confused and frustrated
 
I am trying to make the switch from zmud to cmud
but am having problems I can't get my color triggers to color the text
I have triggers that change the value of variables @malloran = 0 and aliases that do so as well those do not work ether
the @%1 no longer works which if I knew how to acheive the same thing with cmud script I would
I am by no means a coder, do not understand alot of the terminology and the help files do not seems to help explain the concepts to me very well, I wish someone would write a beginners guide to cmud like the several dozen you can find for zmud across the internet
so I have not been able to migrate to cmud because I do not know how to acheive the same results for simple things that I could do in the zmud client.
sorry for the rant
the reason I wanted to start using cmud is the settings editor,I like the look and feel of it and because I hear it is faster
almost all of my triggers I get the message it fired but failed to compile
Reply with quote
Ghedemonas
Novice


Joined: 15 Aug 2007
Posts: 39

PostPosted: Fri Jun 20, 2008 11:52 pm   
 
I am not sure if the following helps the problem - it will be easier if you give complete example triggers and variables.
You can also describe what you want to achieve ...

Anyways: You can either use the command

#var malloran 0
OR
malloran = 0

That should change the variables as you want.

For more information on variables go to the help Menue in CMUD, the enter #variable as search string
In general the help file is your friend ...

Here you find the Zmud Migration file:
http://forums.zuggsoft.com/modules/mx_kb/kb.php?page=3&mode=doc&k=2628

Cheers - it starts to be real fun if the first pain subsides ...
Ghedemonas
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sat Jun 21, 2008 12:04 am   
 
@variable = value is no longer valid, you need to use variable = value. Subtle difference, but important.

For @%1 (which is a stupid syntax anyway), you need to use @{%1}. You can do anything in the brackets you could do elsewhere - @{%concat("hello",$var)} for example.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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