Heres what im trying to do. ive got it going one way but i'd like to know if theres a better way of doing it.
I want to add a common command "add" which has 4 subcommands "owner/master/op/voice" followed by "nick/handle"
it would work something like this:
pub:
the same would work for master/op/voice<kain> add owner person
<bot> Person is now a channel owner on #channel!
the second common command is "del" with subcommands "owner/master/op/voice" followed by "nick/handle"
the final one is the same as "add" but if the nick isnt on the channel you can use "add hand owner <handle>"
ive almost got it working but i wanted to know if there is a better way to add a common command and a list of subcommands which would be bound, rather than having a long list.
any help / ideas would be great