I took the time to look it up with /help custom identifiers

From help:

Quote:
You can also use the $prop identifier to refer to your own custom properties:

Code:
add {
  %x = $1 + $2
  if ($prop == negative) return $calc(-1 * %x)
  return %x
}


//echo Total is: $add(1,2).negative


So:
Code:
alias button {
  if ($prop == x) { commands }
  elseif ($prop == y) { commands }

  other commands
  return something
}


Invision Support
#Invision on irc.irchighway.net