on *:NOTIFY:{
if ($nick == Matt) { .msg $nick Hey there }
else if ($nick == Mark) { .msg $nick Good Day }
else if ($nick == Luke) { .msg $nick How ya doing }
else if ($nick == John) { .msg $nick Long time no see }
}
I'd suggest however that you make use of userlevels. Have a look at /help access levels as well as /help $level.
does it mather? i cant see any harm in that the wrong person may get the msg? no password or any other info is sent true the text.. the worst that chan happen is that he maybe have to write: "Sorry i belived it was my friend"
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
It doesn't necessarily matter. It's a cross between what type of information is being send and personal preference. Personally, I'd feel safer knowing the information is going to the exact person I intended it for.
i have to test it.. and since the on *:NICK: was there i used it.. thnx for your help have a nice night/day #depending on ur timezone", here its soon morning, so time for bed
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
on *:NOTIFY:{
if ($nick == Matt) { .msg $nick Hey there }
else if ($nick == Mark) { .msg $nick Good Day }
else if ($nick == Luke) { .msg $nick How ya doing }
else if ($nick == John) { .msg $nick Long time no see }
}
I'd suggest however that you make use of userlevels. Have a look at /help access levels as well as /help $level.
as an example of one that I used for a DCC allow on DALnet
Code:
on *:notify:{
if ($network == DALnet) {
var %address $mask($wildsite,3)
if ($nick == Mathew) && (%address == *!*@*.host.net) { notice Mathew Welcome Home Mathew }
}
}
$wildsite doesnt have the user in the address, but as a test of the nick being the person you intended I think this is workable.