Page 1 of 1

sending notice from server.

Posted: Mon Sep 19, 2005 8:03 am
by KeMiJohN
how can i make a module send a notice?
not a snotice.. but a "real" notice :)

Posted: Mon Sep 19, 2005 10:09 am
by Dukat
Hint: grep NOTICE src/modules/*.c

Posted: Mon Sep 19, 2005 11:09 am
by w00t
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![email protected] NOTICE target :moo.

Posted: Mon Sep 19, 2005 12:11 pm
by KeMiJohN
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"

Posted: Mon Sep 19, 2005 12:50 pm
by KeMiJohN
ah.. when setting mode -s im still getting the notices.. so i guess they are real notices :P

Posted: Mon Sep 19, 2005 1:42 pm
by w00t
All depends what you send to the client :p