mIRC Home    About    Download    Register    News    Help

Print Thread
#245709 03/05/14 11:02 PM
Joined: May 2014
Posts: 1
Y
Yelal Offline OP
Mostly harmless
OP Offline
Mostly harmless
Y
Joined: May 2014
Posts: 1
Hello mIRC users,

I'm curious if somebody is willing to help me from start with creating a bot.

I can't figure out the commands to create the following:

- Giving 'high' members an allow to allow other members an !invite to a private server.

Example:
Me: !allowbot Yelal
Bot: Yelal can now use {bot}.

Yelal !allow member
BOT: {PM-member}You are now allowed to go to channel.private

Hope somebody can help me.

Kind regards,

Yelal

Last edited by Yelal; 03/05/14 11:12 PM.
Yelal #245711 04/05/14 08:39 AM
Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
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

Link Copied to Clipboard