On Sat, 30 Jan 1999, Will Andrews wrote:
> for (i = 0; i <= top_of_p_table; i++) {
> GET_AC(player_table[i]) = val;
> }
> } else {
> send_to_char("Invalid argument. Must be numerical.\r\n", ch);
> return;
> }
> sprintf(buf, "Okay, set all people's AC to %d.", val);
> send_to_char(buf, ch);
> }
>
> Of course, you'll need to add the appropriate declarations to interpreter.c
> for this command to work. And, I don't even know if it works for sure
> (haven't tested), but it should, or it should require minor tweaking.
Might want to throw a load_char() and save_char() somewhere in that
loop...
"Misery is boundless"
-Xual the Torturer, on the Eve of the Sundering.
Danathara Online RPG
telnet://danathara.ml.org:4000
+------------------------------------------------------------+
| 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