char_to_room question.

From: linebacker (linebacker@microlink.net)
Date: 07/21/96


I have a spec_proc that allows a character to push a
button and it will transfer them to a single room.
(I altered the redbutton code someone just posted)

My problem is that if I use just a number in the
call,

char_to_room(ch, 3038);

It crashes the mud when the button is pressed.

If I use this,

char_to_room(ch, number(1, top_of_world));

it works fine, (although the char is sent to a random
room)

I have also tried

char_to_room(ch, number(3038, 3038));

as a longshot, but it also crashed.

How can I send this char to room 3038 only?

Thanks,
Chuck
  



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