Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Check for ChanModes in modules?  (Read 3429 times)

0 Members and 1 Guest are viewing this topic.

Gwainir

  • Guest
Check for ChanModes in modules?
« on: November 16, 2006, 07:47:10 PM »

hi,
can you tell me a function, wich i can use in a module for checking for a chanmode by giving the letter (for examle the mode "B")

and is there any possibilty to parse chan-msgs without having a botserv-bot in the chan?

thx and sry for my english  :-D
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #1 on: November 16, 2006, 09:03:32 PM »

Quote
Originally posted by Gwainir
and is there any possibilty to parse chan-msgs without having a botserv-bot in the chan?


no since most ircds (to my knowledge) will only send data to a server when it needs it, meaning the services server will only receive the messages in a channel when it has a client in that channel... hence why botserv exists...


to your other question, you might wanna take a look at  chan_get_modes()....

[Edited on 16-11-2006 by Viper]
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #2 on: November 17, 2006, 11:39:05 AM »

Quote
Originally posted by Viperno since most ircds (to my knowledge) will only send data to a server when it needs it, meaning the services server will only receive the messages in a channel when it has a client in that channel...


I can indeed confirm this is the case. Most IRCd's will only send PRIVMSG's and NOTICES's to servers who have 1 or more clients who the target of the PRIVMSG or NOTICE describes.

[Edited on 17-11-2006 by Jobe1986]
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/
Pages: [1]   Go Up