Aantioch_Infernum/_module/nss/levelcheck1820.nss
Jaysyn904 22947ad4b6 Initial Upload
Initial Upload
2023-08-08 16:22:17 -04:00

13 lines
359 B
Plaintext

void main() {
object oClicker = GetClickingObject();
object oTarget = GetTransitionTarget( OBJECT_SELF );
location lLoc = GetLocation( oTarget );
if ((GetHitDice(oClicker) >= 18) && (GetHitDice(oClicker) <= 40)) {
AssignCommand( oClicker, JumpToLocation( lLoc ) );
} else {
SpeakString( "You need to be 18th level or more to access this area " + "." );
}
}