Last time for tonite. Sorry I am kinda spamming the list....
SPECIAL(specialguard){
struct obj_data *obj;
struct char_data *tch;
for (tch = world[ch->in_room].people; tch; tch = tch->next_in_room) {
if (GET_EQ(tch, WEAR_WIELD)) {
obj = GET_EQ(tch, WEAR_WIELD);
obj_to_char(unequip_char(tch, WEAR_WIELD), tch);
send_to_char("Your weapon flies from your hands.", tch);
return (TRUE);
}
}
return (FALSE);
}
that is my current code. Everything pretty much works fine except for the fact
that the code doesn't activate until I press a key in the room..like enter or
whatever...then the exact next line is the unequip deal, with my send_to_char.
What is the problem? Rich? ; ) I promise this subject will not come up again
after I get this fixxed....
anthony - annoyingly honest simpleton
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST