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
zeiuszeppo
Novice


Joined: 22 Nov 2001
Posts: 48
Location: Italy

PostPosted: Thu Sep 12, 2002 8:24 pm   

class ?
 
Hi, is there a way at runtime to know if
a class folder exist or not?
Reply with quote
Talahaski
Enchanter


Joined: 10 Oct 2000
Posts: 656
Location: USA

PostPosted: Thu Sep 12, 2002 9:32 pm   
 
#CLASS command by itself will display a listing of all classes.

Talahaski
Processor PIII 1000
Memory 265MB
Video NVIDIA 64MB
Windows XP
Zmud Version 6.34
Zmapper Version 1.10
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Thu Sep 12, 2002 9:37 pm   
 
quote:

trigger

Syntax: %trigger(class)

return true if the specified trigger class is enabled. If the class does not exist, -1 is returned. (Same as the %class function)



Use that to query its state or hard set it with

#CLASS Class_Name_Here_on 1
#CLASS Class_Name_Here_off 0

Ton Diening
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