ok.. I got a proc so that a mob shouts stuff every once in a while.. depending on what time it is.. the only problem is.. the mob don't shout or nothin... here is the proc.. any idea why it's not workin? thanks SPECIAL(petitioner) { ACMD(do_gen_comm); char *messg; struct descriptor_data *i; struct char_data *tch; if (cmd || !AWAKE(ch) || (GET_POS(ch) == POS_FIGHTING)) return FALSE; if (time_info.hours == 6) do_gen_comm(ch, "Welcome merchants, welcome travellers! Welcome to the great city of West Horizon!", 0, SCMD_SHOUT); return TRUE; if (time_info.hours == 10) do_gen_comm(ch, "Need to travel to the Dwarven Lands? Join a caravan heading east.", 0, SCMD_SHOUT); return TRUE; if (time_info.hours == 13) do_gen_comm(ch, "Brigands have been spotted in the Palorian forest, Lord Alrien will reward those who drive them off.", 0, SCMD_SHOUT); return TRUE; if (time_info.hours == 14) do_gen_comm(ch, "Strange occurances have been reported by desert nomands in the Karatesh Desert. They say a vision of a demon torments them.", 0, SCMD_SHOUT); return TRUE; if (time_info.hours == 15) do_gen_comm(ch, "Reports from the Vnoe Vale say that pirate raids have been occuring more often off their eastern coast.", 0, SCMD_SHOUT); return TRUE; } /---------\ /--------/ / /XXXXXXX\ \ / ////// / / ///XXXXX\\\ \ / ////// / / /////XXX\\\\\ \/ ////// / -=-=-=-=-=-=-=- / ////// \\\\\\\ ////// / Brian Williams / ////// /\ \\\\\XXX///// / bmw@efn.org / ////// / \ \\\XXXXX/// / / ////// / \ \XXXXXXX/ / /\ /_ |_| /\ |/ /--------/ \---------/ /--\ / | | /--\ |\ +-----------------------------------------------------------+ | 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