From: Frollo Subject: Load a linkdead player ACMD(do_linkload) { struct char_data *victim = 0; struct char_file_u tmp_store; one_argument(argument, arg); if (!*arg) { send_to_char("Linkload who?\r\n", ch); return; } if (get_player_vis(ch, arg, 0)) { send_to_char("They are already connected!\r\n", ch); return; } CREATE(victim, struct char_data, 1); clear_char(victim); if (load_char(arg, &tmp_store) > -1) { store_to_char(&tmp_store, victim); if (GET_LEVEL(victim) <= GET_LEVEL(ch)) { sprintf(buf, "(GC) %s has link-loaded %s.", GET_NAME(ch), GET_NAME(victim)); mudlog(buf, BRF, GET_LEVEL(ch) + 1, TRUE); Crash_load(victim); victim->next = character_list; character_list = victim; victim->desc = NULL; char_to_room(victim, IN_ROOM(ch)); act("You linkload $N.", FALSE, ch, 0, victim, TO_CHAR); act("$n linkloads $N.", FALSE, ch, 0, victim, TO_NOTVICT); } else { send_to_char("Sorry, you aren't high enough to link-load that char.\r\n", ch); free_char(victim); } } else { send_to_char("No such player exists.\r\n", ch); free(victim); } return; }