*snip*
> if (!*argument) {
> send_to_char("You forgot what you were trying to forget.\r\n", ch);
> return;
> }
>
> if (is_abbrev(argument, "all")) {
!is_abbrev...
I think this code works for if there's a specific spell.
*snip*
> } else {
> for (slot = 0; slot < MAX_MEMMED; slot++) {
> MEMORIZED(ch, slot) = 0;
> MEMORIZING(ch, slot) = 0;
> MEMTIME(ch, slot) = 0;
> }
> IS_MEMMING(ch) = FALSE;
> send_to_char("You forget all your spells.\r\n", ch);
> return;
This stuff looks accurate for "all"...
-k.
+------------------------------------------------------------+
| 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