I see no reason to make mIRC act like another language. You have various ways to do similar things in mIRC. Or just use mIRC the way it's meant to be used.

/command someoption
The only difference there is a space. Not exactly a big deal.
/command -switches
This is the same as the first one, but uses switches instead to help make the options visible.
$command(anydata).property
This lets you use $prop to get any option attached to the identifier.
Any of these will do what you want without any more difficulty. Sure, they aren't PHP. mIRC isn't PHP, so what do you expect?