if (victim->desc->connected >= CON_NOTE_TO && victim->desc->connected <= CON_NOTE_FINISH)
{
act ("$E is writing a note, but your tell will go through when $E returns.",
ch, NULL, victim, TO_CHAR);
sprintf (buf, "{k%s tells you '{K%s{k'{x\n\r", PERS (ch, victim), argument);
buf[0] = UPPER (buf[0]);
add_buf (victim->pcdata->buffer, buf);
return;
}
act ("{kYou tell $N '{K$t{k'{x", ch, argument, victim, TO_CHAR);
act_new ("{k$n tells you '{K$t{k'{x", ch, argument, victim, TO_VICT,
POS_DEAD);
victim->reply = ch;
if (!IS_NPC (ch) && IS_NPC (victim) && HAS_TRIGGER (victim, TRIG_SPEECH))
mp_act_trigger (argument, victim, ch, NULL, NULL, TRIG_SPEECH);
return;
if ((!IS_NPC(victim)) && victim->desc->connected >= CON_NOTE_TO && victim->desc->connected <= CON_NOTE_FINISH)
{
act ("$E is writing a note, but your tell will go through when $E returns.",
ch, NULL, victim, TO_CHAR);
sprintf (buf, "%s tells you '{y%s{x'\n\r", PERS (ch, victim), argument);
buf[0] = UPPER (buf[0]);
add_buf (victim->pcdata->buffer, buf);
return;
}
MOBtrigger = FALSE;
act ("You tell $N '{g$t{x'", ch, argument, victim, TO_CHAR); // was {K
act_new ("$n tells you '{y$t{x'", ch, argument, victim, TO_VICT, // was {K
POS_DEAD);
victim->reply = ch;
MOBtrigger = TRUE;
if (!IS_NPC (ch) && IS_NPC (victim) && HAS_TRIGGER_MOB (victim, TRIG_SPEECH))
p_act_trigger (argument, victim, NULL, NULL, ch, NULL, NULL, TRIG_SPEECH);
return;
I currently have two critters I'd like to squash but am too novice.
Any guidance would be greatly appreciated.
1: I continually get booted if idle. But I'm typically idle less than 5 ticks.
2: Board system: when posting notes, sometimes it crashes and sometimes it does not.
Thanks!