Re: Transportation devices

From: Stephen Wolfe (siv@CYBERENET.NET)
Date: 08/29/98

> SPECIAL(comm_badge)
> {
>         extern int top_of_world;
>         int beamup_room, beamdown_room;

i only looked at the first part of your spec proc, since that's what you
said you were having trouble with..anyway..

first you should make sure that this has been called by the right command:

if (!(CMD_IS("beamup") || CMD_IS("beamdown")))
  return 0;

then check to see whether or not they have the appropriate device..

if (!GET_EQ(ch, WEAR_COMM))

if you want to have the mud send a message saying you must have a
communicator every time someone types beamup or beamdown (even when there
is no communicator to trigger the spec proc) then make a dummy command
similar to the do_not_here function..except have this one say "You need a
communicator.." rather than "You can't do that.."


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST