Try to fix your hole code by using this example of the correct code:

Code:
on *:text:!tametime Stego:#: {
  if ($$4 == berry) { msg $chan $calc(173 + $$3 * 173 + $$3 - 1 / 1) Minutes }
  else { msg $chan $calc(173 + $$3 * 173 + $$3 - 1 / 5) Minutes }
}


/help $calc


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-