If 'or' doesn't work for ifs, what does?

jmnevil54
05 Jan 2018, 01:48

Hi.
Just wondering how to do this correctly. Apparently the 'or' doesn't work.

if (Got(Red Wine Bottle or Red Wine Bottle 1)) {
  EnableTimer (Drain 1)
  EnableTimer (Drain 2)
  RemoveObject (Red Wine Bottle)
}
else {
  msg ("You grab for a drink, but find nothing. You don't need another force to kill you anyway. Better keep your mind on something else.")
}

Dcoder
05 Jan 2018, 03:09
if (Got(Red Wine Bottle) or Got(Red Wine Bottle 1)) {

jmnevil54
05 Jan 2018, 04:18

Okay, thanks!