Ok what I am trying to do is get my bot to message multiple people (staff of a company) on a certain command.

For example:

The command "!help" will send a message to people in a channel with "companyname" on their IRC nick.

< user1 > !help
< bot > (notice): staff has been paged
--- bot messages business-ron and business-bob --- because they have "business-" on their names.

Any help?