How would i make the do_give function , written by TAKA and the GHOST DANCER
MUD Project team, show how much i am giving to someone?
the piece of code in question
if (i >= number)
{
MOBtrigger = FALSE;
act( "$n gives some $p to $N.", ch, obj, victim, TO_NOTVICT );
act( "$n gives you some $p.", ch, obj, victim, TO_VICT );
act( "You give some $p to $N.", ch, obj, victim, TO_CHAR );
MOBtrigger = TRUE;
return;
}
if ( ( obj = get_obj_carry( ch, arg1, ch ) ) == NULL )
{
send_to_char( "You do not have that item.\n\r", ch );
MOBtrigger = FALSE;
act( "$n gives somr $p to $N.", ch, obj, victim, TO_NOTVICT );
act( "$n gives you some $p.", ch, obj, victim, TO_VICT );
act( "You give some $p to $N.", ch, obj, victim, TO_CHAR );
MOBtrigger = TRUE;
return;
}
}
}
Thanks for any help/flames/responses.
Charlie
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/