>>greet_prog 100~ >if isgood($n) > if rand(30) > mpechoat $n wags $l tail at you. > mpechoaround $n $I wags $l tail at $n. > else > mpechoat $n $I says I think your good, but I didn't wag my tail. > endif >else > mpechoat $n growls at you. > mpechoaround $n $I growls at $n. >endif~ >| I haven't looked too deeply at the code, but I believe nested ifs don't work or were never intended to work. So, that first else applies to either of the first 2 if statements. The second else is either ignored or confuses the interpreter. Ron +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST