Ok, I dug around in my source and found this function, hope it helps, don't forget to prototype it. Have fun. int parsebet(int pot, char *amt) { int num_amnt = 0; num_amnt = atoi(amt); pot+= num_amnt; return num_amnt; } -- Leonard Burns IV lburns@clipper.net +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST