1440,377 написал(а):Would you have any prohibition against using the undernet X bot? and ban el username: Xtreamm
> X sets mode: +b *!*@Rocked.users.undernet.org
⌠02:08:01 PM⌡ > You were kicked by X ((Xtreamm) ok.)
⌠02:08:01 PM⌡ > Rejoining # mda
⌠02:08:01 PM⌡ * Attempting to rejoin until ban is lifted...
⌠02:08:10 PM⌡ > Rejoined #mda
Explain for you to understand what we wants Bot to do:
This line: You were kicked by X ((Xtreamm) ok.) <=== Xtreamm is username (*!*@Xtreamm.users.undernet.org) <== that's mean username "Xtreamm" kick and ban through by X (X is Bot Services of Undernet) by command: /msg X ban <#channel> <nick!*@* | *!*userid@host> [duration] [leve] [reason]
BAN - Adds a specific *!*userid@host to X's channel banlist.
- If the user is online, you can specify their nick, and X will automatically ban the *!*userid@host for that user.
- Bans that cover a broader range than previously set bans will replace the previous bans.
- Any user in the channel who matches the ban will also be kicked if the ban level is 75+.
- The duration is in hours, with a maximum of 2400 hours (100 days).
- The ban level can range from 1 to your own level.
- The ban reason can be a maximum of 128 characters.
- If no duration and/or level is specified, the default will be a duration of 3 hours at level 75.
NOTE: If the banned user has Undernet's "virtual hostmask" (user mode +x) enabled, X is able to see through it to
their actual host, so banning their username via *!*@username.* will also ban their actual host.
* Ban Levels: 1-74 = Prevents the user from having ops (+o) on the channel.
75-500 = Prevents the user from joining the channel.
/msg X ban <#channel> <nick!*@* | *!*userid@host> [duration] [leve] [reason]
PURPOSE BOT do is: Revenger ban and kick ban "Xtreamm" when me join channel.
When someone ban my ip/host and kick me, then MyBot will auto unban by X command:
UNBAN - Removes a ban from X's channel banlist, and also any matching bans from the current channel banlist.
- You can only remove bans from X's banlist that are equal to or less than your own access.
- To search X's banlist, refer to the LBANLIST command.
- To view the current channel banlist, refer to the BANLIST command.
/msg X unban <#channel> <nick | *!*userid@host>
THEN ban and kick Xtreamm (revenger ban kick)
Can you or someone make this code for us. Thanks