sending notice from server.

These are old archives. They are kept for historic purposes only.
Post Reply
KeMiJohN
Posts: 14
Joined: Tue Sep 13, 2005 6:15 pm

sending notice from server.

Post by KeMiJohN » Mon Sep 19, 2005 8:03 am

how can i make a module send a notice?
not a snotice.. but a "real" notice :)

Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat » Mon Sep 19, 2005 10:09 am

Hint: grep NOTICE src/modules/*.c
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins

w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t » Mon Sep 19, 2005 11:09 am

probably through using a sendto_one (correct that function name if it's wrong, I've not been unrealing for a fair while, and dont have the src on me to check :P), and sending something like :sender!prefix@or.servername NOTICE target :moo.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]

KeMiJohN
Posts: 14
Joined: Tue Sep 13, 2005 6:15 pm

Post by KeMiJohN » Mon Sep 19, 2005 12:11 pm

my IRC client still reacts on the sendto_one()'s as server notices..

could this be because the name sending the notice is irc.mydomain.org?

I've only tested the notices i found using "grep NOTICE src/modules/*.c"

KeMiJohN
Posts: 14
Joined: Tue Sep 13, 2005 6:15 pm

Post by KeMiJohN » Mon Sep 19, 2005 12:50 pm

ah.. when setting mode -s im still getting the notices.. so i guess they are real notices :P

w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t » Mon Sep 19, 2005 1:42 pm

All depends what you send to the client :p
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]

Post Reply