It's probably easier/cleaner to use a regex. The following will isolate <x> and <y> for you.

Code:
on $*:text:/(.+) is (.+)/iS:#:{
  echo -ag <x> = $regml(1)
  echo -ag <y> = $regml(2)
}