Would you mind explaining the process of "inviting" a person?

Creating the command will be easy when you fill in the details, the only thing you've provided so far is this:
Code:
on *:text:!allow*:#: {
if ($1 == allowbot) { msg # $2 can now use $me $+ . }
elseif ($1 == allow) { query $2 You are now allowed to go to channel.private. }
}


So, the details we need is:
How does the bot know an user is a "High" user?
How does the bot invite someone to a server?
How does the bot allow other users to access the bot?


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net