Try use this code:

Php Code:

ON *:INPUT:#: {
  if ($left($1,1) !== $comchar) && (!$ctrlenter) {
	if ($1- == Good morning) { set %last_good_morning $fulldate }
  }
}

alias last_good_morning {
  if (!%last_good_morning) { echo -a You did NOT said 'Good morning' yet! }
  elseif (%last_good_morning) { echo -a You said 'Good morning' in %last_good_morning . }
}
 


Use /last_good_morning to see when you said last time the 'good morning' phrase.


Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-