Ok i want to add 2 ifchecks to the following code for duedates...
I want to add an ifcheck for director_newbie and director_asst_newbie (these are put in pfiles along with owner. I tried:
And it didn't like that. Any suggestions?
if ( ( !str_cmp( arg2, "days" ) || !str_cmp( arg2, "months" ) ) && ch->owner == FALSE )
{
send_to_char( "Only Josh may set custom duedate durations.\n\r", ch );
return;
}
I want to add an ifcheck for director_newbie and director_asst_newbie (these are put in pfiles along with owner. I tried:
if ( ( !str_cmp( arg2, "days" ) || !str_cmp( arg2, "months" ) ) ch->owner == FALSE && ( ch->director_newbie == FALSE && ch->director_asst_newbie == FALSE ) )
{
send_to_char( "Only Josh may set custom duedate durations.\n\r", ch );
return;
}
And it didn't like that. Any suggestions?