On Sun, Oct 20, 2002 at 05:33:31PM +0200, Christian Ejlertsen wrote: > Has anyone succesfully made a command that lists the rooms that has a zedit > command attached? > If someone has i would appreciate some pointer on where to dig in the source > code. something like: for (i = 0; zone_table[z].cmd[i].command != 'S'; i++) { printf("%c %d\n", zone_table[z].cmd[i].command, zone_table[z].cmd[i].arg3); } check out the structures 'reset_com' and 'zone_data' in db.h and the function 'reset_zone' in db.c Axel -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT