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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
jed
Adept


Joined: 18 Dec 2005
Posts: 246

PostPosted: Sun Mar 04, 2007 4:04 am   

[1.25] #t- odd behavior
 
type #t- aaaaahahahahbhblelleeeeeha
in the command line.....
I get a new class created called aaaaahahahahbhblelleeeeeha when I do this. This also happens when I use #t- for a trigger that is disabled. Is this a feature.... or a bug?
Reply with quote
shalimar
GURU


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

PostPosted: Sun Mar 04, 2007 4:18 am   
 
this behavior happened in zmud as well... if there is no active setting to go with the name used, it creates an empty class.... annoying really
_________________
Discord server
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sun Mar 04, 2007 3:34 pm   
 
That is rather when you consider that the whole point of the #t- command in my eyes was that there was no possibility of it making a bunch of settings if you accidentally typoed. That's why I hate using #class, going through and deleting all the settings it creates can be a nightmare in some scripts.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Apr 11, 2007 8:54 pm   
 
I agree that this behavior from zMUD is definitely a "wierdness" and I've changed it for v1.27 (and have added a help topic to the Changes for zMUD users section).

In CMUD 1.27 and later, #T+ and #T- will *never* create a new class. Whereas the #CLASS command will *always* create a new class if needed. If you used
Code:
#T+ newclass

to create a new class in zMUD, you will need to change this to
Code:
#CLASS newclass 1

in CMUD. Specifying the "1" to enable the class forces it to create the class but does not change the currently active class.

Also, I've fixed #T+ and #T- so that the "Type" argument works properly and will pick the specified setting type rather than look for a class with the matching name.

Also, Events now have ID values that can be used with #T+ and #T-
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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