Thx for the help RusselB.
But I get an error message when using the alias.

It tells me:
* /writeini: insufficient parameters (line 4, testing.mrc)

The writeini command is missing a value.

I changed it to:
.writeini -n Auto-Join.ini $network $gettok($1-,%a,32) on

But what value should the channels have?