|
adamwalker Apprentice
Joined: 12 Mar 2005 Posts: 195
|
Posted: Sat Apr 29, 2006 1:13 pm
coding in zmapper |
well ive just started to dig into zmapper and how it work..and the help files baffle me.
How do I use a function or a property? the help files go way over my head
eg i want to use "property numlinks" to tell me how many exits there are to a room .... but i cant work out how to syntax it.
whats the syntax for functions, methods, propertys etc? thanks guys! |
|
|
|
Vodoc Apprentice
Joined: 11 Apr 2003 Posts: 119 Location: Sweden
|
Posted: Sat Apr 29, 2006 1:25 pm |
Code: |
#ECHO %roomname( %map.SelectRoomID) ~(%map.SelectRoomID~) have %map.CurRoom.NumLinks links |
This will display the name, id and number of links in the current room.
For help on the commands; run ZMAPPER.HLP which is found in the directory where you installed zMapper. Read the chapters about "Using zMapper with zMUD" to get a list of all functions etc that are available to you via zMapper. |
|
|
|
|
|