|
teion Wanderer
Joined: 03 May 2005 Posts: 72
|
Posted: 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 |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Fri Feb 27, 2015 8:46 pm |
#IF (%class(Quest)) {#SHOW Begin quest!}
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
teion Wanderer
Joined: 03 May 2005 Posts: 72
|
Posted: Fri Feb 27, 2015 9:07 pm |
thank you !
|
|
|
|
|
|