hey, i need your idea
i'm making module that SIMPLE reply to user
but i only used origin(in s_err.c) replies before
1. numeric? how? modify s_err.c?
2. privmsg? will make new query window
3. notice? same as 2, and mIRC will get BEEP
what will u do if your module need "Simple" reply
for numeric: sendto_one(sptr, ":%s %d %s %s", me.name, numeric_here, sptr->name, text_string_here)
for privmsg: sendto_one(sptr, ":%s PRIVMSG %s :%s", me.name, sptr->name, "Message here.")
for notice: sendto_one(sptr, ":%s NOTICE %s :%s", me.name, sptr->name, "Message here.")
For the numeric, if necessary, you can add extra format specifiers (sprintf() style), as long as you add the necessary arguments .
for privmsg: sendto_one(sptr, ":%s PRIVMSG %s :%s", me.name, sptr->name, "Message here.")
for notice: sendto_one(sptr, ":%s NOTICE %s :%s", me.name, sptr->name, "Message here.")
For the numeric, if necessary, you can add extra format specifiers (sprintf() style), as long as you add the necessary arguments .