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
teion
Wanderer


Joined: 03 May 2005
Posts: 71

PostPosted: Fri Feb 27, 2015 8:37 pm   

using an if statement to check if a class is enabled
 
Hi everyone. I want to have a script in a room that whenever i pass or move into this room checks if a class is enabled or not. I am unsure how to write a statement to check the conditions of a class

#if (quest = true) {#show begin quest} {} // this is what i would have in the room script, here quest would be the name of the class
Reply with quote
shalimar
GURU


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

PostPosted: Fri Feb 27, 2015 8:46 pm   
 
#IF (%class(Quest)) {#SHOW Begin quest!}
_________________
Discord: Shalimar#3679
Reply with quote
teion
Wanderer


Joined: 03 May 2005
Posts: 71

PostPosted: Fri Feb 27, 2015 9:07 pm   
 
thank you !
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