|
harrower Newbie
Joined: 03 Apr 2007 Posts: 5
|
Posted: 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. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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. |
|
|
|
harrower Newbie
Joined: 03 Apr 2007 Posts: 5
|
Posted: 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! |
|
|
|
|
|
|
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
|
|