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


Joined: 06 Oct 2003
Posts: 6
Location: USA

PostPosted: Sun Jul 11, 2004 4:25 pm   

Incredible Disappearing Class script
 
Well something indeed is wrong. I am trying to make a class script that is turned on by a button and then turns itself off. However each time I go to save the script all the text disappears. Then I run the button and it appears that the script runs. However the #echo doesn't perform its function. I have an echo at the end of the script telling me class dismissed before it turns the class off.

Here is the script even though I do not think it is the problem with the text of it disappearing when I try to save it. Any help would sure be appreciate, as it is now, it makes it impossible to debug the script when I cannot go back to it and edit it when it disappears.

#TRIGGER {You have recovered equilibrium.} {curse @tar bleed}
#COND {You have recovered balance on all limbs.} {curse @tar bleed}
#COND {You have recovered balance on all limbs.} {curse @tar bleed}
#COND {You have recovered balance on all limbs.} {curse @tar bleed}
#ECHO CLASS DISMISSED!
#T- cbleed

addendum
I also went back to the original 6.62 that I was working with imported my system.mud file from a backup I have on cd, made sure not read only and loaded it. I still do not have any script text after saving. I am at a big loss here. Not much good to me if I cannot save my scripts. I hope this is something simple I am missing.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Jul 11, 2004 6:08 pm   
 
Only one state of a multistate trigger is shown in the list of settings. To view or edit the other states, you must change the state using the State dropdown menu.

@ECHO is a variable. You probably want to use #ECHO.

Class scripts should include the opening and closing #CLASS statements.
Reply with quote
Ceadarborn
Newbie


Joined: 06 Oct 2003
Posts: 6
Location: USA

PostPosted: Sun Jul 11, 2004 6:25 pm   
 
hmm I am looking for the State drop down that you speak of and I do not see it either in the editor or the main mud window. Can you give a blind man a clue? Thanks
Reply with quote
Ceadarborn
Newbie


Joined: 06 Oct 2003
Posts: 6
Location: USA

PostPosted: Sun Jul 11, 2004 10:06 pm   
 
Nevermind I figured out what I was doing wrong. Thanks
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