[NEWBIE] I can't see whats wrong with this

From: Luke Waite (lwaite2000@home.com)
Date: 12/05/00


I really can't see whats wrong with this.
Every time I try to type link the Mud crashes and says 'Signal 11'
Any help is appreciated
Thanks,
Endon, Not yet named. (prolly the newest dirritive of circlemud around)
LOL
PS i know the if statement is kinda pointless atm but i'm gonna have
another entery room for imms

ACMD(do_link)
{
  int r_mortal_link_room = 11100
  if (IS_NPC(ch)) {
    send_to_char("Monsters can't go to link!!\r\n", ch);
    return;
  }
  if (GET_LEVEL(ch) <= 68) {
    send_to_char("Poof!! You enter the social area.\r\n", ch);
    act("$n goes to link", TRUE, ch, 0, 0, TO_ROOM);
    char_from_room(ch);
    char_to_room(ch, r_mortal_link_room);
    act("$n appears out of nowhere.", TRUE, ch, 0, 0, TO_ROOM);
    look_at_room(ch, 0);
    return;
  }
}

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT