Code:
 
on *:text:!invite &:?: if ($istok(%invitelist,$2,44)) invite $2 #chan
 

msg bot nick1, if nick1 isin the list, than it will be invited in the chan