View unanswered posts | View active topics It is currently Sun Jun 24, 2018 2:23 pm



Reply to topic  [ 4 posts ] 
 Per-channel !dospam 
Author Message
Post Per-channel !dospam
A command similar to !dospam that will allow users to silence the bot in a single channel. Prefer that it is able to respect channel ops in addition to the standard bot users (for use in sponsor channels where DJs/Admins may not be present, the ops in the channel can stop the announcements).


Tue Dec 23, 2008 8:33 pm
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 451
Medals: 18
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (14)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Per-channel !dospam
In source 12/27/2008, !dospam will accept a #channel parameter, or netno #channel to toggle a channels dospam flag.

Usage:
!dospam - Toggle global spam flag as usual
!dospam #chan - Toggle #chan's spam flag on current network (or network 0 if you are on a Console interface and don't specify a netno)
!dospam netno #chan - Toggle #chan's spam flag on network netno

_________________
You can also contact me via email or instant messenger, links are at the bottom of this post.


Sat Dec 27, 2008 4:58 pm
Profile YIM WWW
Junior Member

Joined: Wed Dec 17, 2008 6:47 pm
Posts: 5
Medals: 13
RadioBot Owner (1) Feature Requester (3)
Longevity (9)
Post Re: Per-channel !dospam
Does this still require access to the bot (at level 3, IIRC)? Or can it be done in channel by someone with Channel Ops?

If there is a need to grant those access to the bot, I may instead grant access to the IRCBot for my Bouncer bot, and have the Bouncer relay a !mute command in the channel to the IRCBot in PM as: "!mute" -> "/msg bot !dospam $chan | /msg $chan Bot spam has been toggled"


Mon Dec 29, 2008 12:31 am
Profile
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 451
Medals: 18
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (14)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Per-channel !dospam
Yes, it is a level 3 command so the user will have to be in the bot's user DB. The bot doesn't know anything about channel ops/admins, it only recognizes users added to it's system.

_________________
You can also contact me via email or instant messenger, links are at the bottom of this post.


Mon Dec 29, 2008 12:41 am
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.