Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1]   Go Down

Author Topic: Store previous channel topics and have ability to restore them  (Read 650 times)

0 Members and 1 Guest are viewing this topic.


  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 6
    • GTAXLnet

Hello, occasionally an op or messed up bot changes the topic of a channel to something you don't like or messes it up. Most of us forget what the topic previously was set to verbatim making it hard to set it right back again. I though of this idea, since Anope already stores channel topic data, why can't it store the previous (say 10) topics of a channel in it's database?

/msg ChanServ PREVIOUSTOPICS #channel
Will list the last 10 topics that were set in the channel and their deployment dates.
ex. output:
1) Apr 16 02:08:16 2016 EDT - Jul 09 22:04:32 2016 EDT I like to eat pie. Set By: GTAXL
2) Jan 06 01:12:52 2016 EST - Apr 16 02:08:16 2016 EDT I like to eat cake. Set By: DG
3) Oct 14 17:43:19 2015 EST - Jan 06 01:12:52 2016 EST I like cookies. Set By: GTAXL

/msg ChanServ PREVIOUSTOPICS #channel numb
Will set the channel to the previous topic selected.
/msg ChanServ PREVIOUSTOPICS #channel 2 would set the channel's topic to "I like to eat cake."

Of course it'll store any color codes as well and set them. :) I don't know about you, but I think this is a genius feature and should be implemented. I don't see it taking up that much space..

Thanks :D
Pages: [1]   Go Up