I said ONE call on /param to do the work for you
If you have, as a pure example, 26 possible switches, then which is easier?
(A) /param <opts> <$1->
or
(B) 1 line for each switch (thus, 26 lines)

Now, call me crazy, but I think that 1 call to a function that does all the work for you is a bit easier than writing out 26 lines of code.

Let's take a line like this: $1 = -s server.url.com -n nicknametouse -c #channel -m message to send
/params -at45 $1-
(only ONE call to the entire line)
Now, %s = server.url.com, %n = nicknametouse, %c = #channel, %m = message to send.
And all local variables to the current script.