where do I code?
where do I code?
where do I code commands like ::mute and ::ban for my pmaven?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: where do I code?
You mean in the chat or somewhere else? Where are you seeing "::mute" and "::ban"?gpbets wrote:where do I code commands like ::mute and ::ban for my pmaven?
Re: where do I code?
^^
I want to implement commands like ::mute (player) (1H)
::ban (player)
player = players name
1H = 1 hour
::ban = adds a player to blacklist.
::ipban = adds a players IP to blacklist
Where would I need to code a custom script to perform this?
Poker maven files or callback?
I want to implement commands like ::mute (player) (1H)
::ban (player)
player = players name
1H = 1 hour
::ban = adds a player to blacklist.
::ipban = adds a players IP to blacklist
Where would I need to code a custom script to perform this?
Poker maven files or callback?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: where do I code?
Depends on where you want to enter those commands, directly from the chat or from a web page somewhere. From the chat, you can use the "Lobby chat event" callback and optionally use the regex setting for filtering. Or from a web site, create a form for input. Either way, you'll make an API call to AccountsEdit for chat banning or to BlacklistAdd /BlacklistEdit for other banning.gpbets wrote:^^
Where would I need to code a custom script to perform this?
Poker maven files or callback?