On Sat, 3 Apr 1999, Albert Brauneis wrote:
> I wanted to add to restore the capability to type restore all and it would do
> so. I added the code to do it but it seems no matter what I do it will not go
> to that part of the code. This is what I had to check for it in
> ACMD(do_restore)
>
> if (str_cmp("all",buf))
>
> That seems never to be true. Why is that?
Because str_cmp() returns FALSE when the 2 strings match. This has been
discussed about 300 times since I've been on the list, check the archives
for a more descriptive response.
"Misery is boundless"
-Xual the Torturer, on the Eve of the Sundering.
Danathara Online RPG
telnet://danathara.dhs.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