hi..
sure..
something like
db accounts set myibay ibay Name 'test ibay' Group admin UserAccess wr-group-rd-everyone CgiBin disabled PasswordSet no SSL disabled PublicAccess none
signal-event ibay-create myibay
will create an ibay mytest with description "test ibay" etc..
you'd create an ibay with the features you need using server-manager, then see the output of
db accounts show youribay
and adapt your script according to your needs
BTW, would you mind to share your idea/script? maybe you're trying to do something that is already available (via a contrib, for example)