void do_tick(CHAR_DATA *ch, char *argument)
{
        wiznet("FORCED TICK!",NULL,NULL,WIZ_TICKS,0,0);
        weather_update  ( );
        char_update     ( );
        obj_update      ( );
       /* do whatever else you want here */
}

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 06, 2002 8:42 PM
> To: [email protected]
> Subject: snip help
> 
> 
> Im trying to add a new imm command force tick (ftick)
> when i compile i get a ton of errors, but only this one code specific,
> act_wiz.c:5002: too many arguments to function `update_handler'
> i dont get any errors if i take this small snip out
> this is the snip i got, i added this to act_wiz.c and changed 
> the lower part 
> in update.c
> act_wis.c
> /*
>  *Immortal Force Tick command
> */
> void do_ftick(CHAR_DATA *ch, char *argument)
> {
>     update_handler ( TRUE );
>     send_to_char("You Have Forced Time To Fly By....TICK\r\n",ch);
>     return;
> }
> update.c
> void update_handler( bool ) changed to
> void update_handler( bool forced )
> 
> interp.c
> I added the command under immortal commands
> 
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 

Reply via email to