Fili, you should know better, as should the other 3-5 dingbats that have been responding, having an [OFFTOPIC] doesn't make it OK, neither does taking advantage of poor Alex while he is to busy to yell at you for not being on topic. SPOOC or not, the lot of you should be booted for keeping this nitwit thread going without offering the slightest idea that is circle related. Read The Darned Faq! --Angus Well, can't be hypocritical here: OBCircle: A modified version of mlist Just to show a coupld of improvements. 1) georges buffer patch, YAY GEORGE!!!! 2) if you only enter 1 vnum it shows the next 100 items, great for zone checking 3) added stat display. gives you a quick scan of the power of the zone. and if you have a proc that normalizes your mobs based on level, all the better. ACMD(do_mlist) { char *buf=get_buffer(32750); char *buf2=get_buffer(MAX_INPUT_LENGTH); int first, last, nr, found = 0; two_arguments(argument, buf, buf2); if (!*buf) { send_to_char("Usage: mlist <begining number> <ending number>\r\n", ch); release_buffer(buf2); release_buffer(buf); return; } first = atoi(buf); if(!*buf2) last=first+99; else last = atoi(buf2); release_buffer(buf2); if ((first < 0) || (first > 99999) || (last < 0) || (last > 99999)) { send_to_char("Values must be between 0 and 99999.\r\n", ch); release_buffer(buf); return; } if (first >= last) { send_to_char("Second value must be greater than first.\r\n", ch); release_buffer(buf); return; } nr=real_mobile(first); if(nr==-1) nr=0; strcpy(buf,"Num Virtual Description lvl/cl/race/spec\r\n"); for (; nr <= top_of_mobt && (mob_index[nr].virtual <= last); nr++) { if (mob_index[nr].virtual >= first) { if(strlen(buf)>32000) { sprintf(buf+strlen(buf),"Too Many Items In Search\r\n"); nr=top_of_mobt+1; } else sprintf(buf+strlen(buf), "%3d. [%5d] %-35.35s %3d/%-2.2s/%-4.4s/%-15.15s\r\n", ++found, mob_index[nr].virtual, mob_proto[nr].player.short_descr, mob_proto[nr].player.level, class_abbrevs[(int)mob_proto[nr].player.class], race_abbrevs[(int)mob_proto[nr].player.race], mob_index[nr].func?get_mob_spec_name(mob_index[nr].func):" "); } } if(ch->desc) page_string(ch->desc,buf,1); if (!found) send_to_char("No mobiles were found in those parameters.\r\n", ch); release_buffer(buf); } ______________________________ Forward Header __________________________________ Subject: Re: Harrassment Author: INTERNET:CIRCLE@POST.QUEENSU.CA at CSERVE Date: 4/28/98 8:32 PM That is still hacking, quinn. What goes comes around as that old adage goes. Fili The one who you threatened to hack +------------------------------------------------------------+ | 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/15/00 PST