From the snippet site (thanks to Absolut Mud, I think (what a bunch of swell fellows :))), I got this: if((GET_SKILL(ch, SKILL_SECOND) > 0)) { if(GET_SKILL(ch, SKILL_SECOND) > number(1,200)-5*GET_LEVEL(ch)) if(FIGHTING(ch)); hit(ch,FIGHTING(ch),TYPE_UNDEFINED); } In the third line (if(FIGHTING(ch));) there be a semi colon. now i'm not to well versed in c, but wouldn't you not want that semicolon to be there? Someone write back and tell me how dumb i am :) Thanks <--------------------------------> |Paul Anderson Binder Jr. | | 603-358-8854 | | 158.65.15.35 4000 | |http://csdept.keene.edu/~pbinder| <--------------------------------> +-----------------------------------------------------------+ | 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/08/00 PST