Archive > 0.2.x Custom/Unofficial Modules

Faction mod - Limit bot invites

(1/3) > >>

craized:
PRIVGROUP MOD

Description:
Allows bot admins to decide which faction(s) can join the privgroup

Instructions:

--- Quote from: "Privgroup" ---!faction <clan/omni/neutral/all>
Sets which faction(s) can /tell <yourbot> !invite

!faction exclude <clan/omni/neutral>
Sets which faction is banned from the bot.
--- End quote ---

Lal:
You might want to allow it multiple factions like Omni AND Neutral

BTW: what happens when the AO site times out and it wont load the page? (www.ao was too slow to respond error)

craized:
There are two options, either I can allow those that fail authentication to be granted access, or not. At the moment, I'm refusing access, and the user can request that someone in the bot invite them. It's not fool proof, but if you can think of a better solution, please let me know.

As for multiple factions, I'm working on it right now. It will be
!faction excluse <Clan/Omni/Neutral>
This will allow anyone who isn't that faction two join. I'll post when I get that working correctly.

craized:
All fixed up,
!faction exclude <Clan/Omni/Neutral> will now ban that faction from the bot.

Lal:
Well I don't really know.. I don't even get why it doesn't want to load the page sometimes

Navigation

[0] Message Index

[#] Next page

Go to full version