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


Joined: 03 Apr 2007
Posts: 5

PostPosted: Tue Apr 03, 2007 2:48 pm   

CMud Automapper Scripting
 
I have a short list of things I'd like to accomplish via scripts, but I see no way to do them within the framework of CMud. I looked over ZMapper briefly, but it seems more oriented towards making maps more appealing, visually. Are these possible within CMud, or does Zmapper provide these functionalities?

    Altering room properties, such as color, via triggered lines.

    Returning information about a room with a function or internal variable, such as number of exits or presence of a specific item in the list of contents.

    Automatically adding specific room scripts based on triggered lines.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Apr 03, 2007 3:31 pm   
 
1) #trig {whatever} {#call %roomcol(,yellow)}
2) #say %numitems(%roomexit())
3) #trig {whatever} {#call %roomcom(,"emote picks his nose.")}

In short, take a look at all the %room... functions.
Reply with quote
harrower
Newbie


Joined: 03 Apr 2007
Posts: 5

PostPosted: Tue Apr 03, 2007 4:53 pm   
 
Fang Xianfu wrote:
1) #trig {whatever} {#call %roomcol(,yellow)}
2) #say %numitems(%roomexit())
3) #trig {whatever} {#call %roomcom(,"emote picks his nose.")}

In short, take a look at all the %room... functions.


Awesome, thanks!
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