Hey All,
I have appreciated all the help i have received recently and all of it has worked perfectly as I wouldn't know what to add or not, I am just wondering if anyone can help me with this little problem.
Problem: I am trying to greet a 'specific' user when they join a channel and not everyone who joins the channel
on *:JOIN:#: {
if ($nick == Krypton ) {
msg # My Master Has Just Joined The Room
}
}
on *:JOIN:#: {
if ($nick == Camacorn ) {
msg # The channel Owner Has Just Joined The Room
}
}
on *:JOIN:#: {
if ($nick == Anthony ) {
msg # Anthony Has Just Joined The Room
}
}
But it will only just do one and not display any of the others when they rejoin the channel or disconnect and connect again.
Any help is appreciated, thanks very much.
Krypton.
I made something like this some time ago. I made a join.ini
Then you can I forget how I exactly coded this if
On !:TEXT:!joinmessage :#: {
if ($nick isop #) {
/writeini join.ini join $2 $3- | msg # $2 $+ 's join message has been added.
On !*:Join:#: {
if (!$readini(join.ini,join,$nick)) { msg # $readini,join,$nick) }
}
Then you could use this to also do a :On PART
just change the 'join' for 'part', Maybe someone with more knowledge could correct my mistakes if there are any.
on 1:join:#: {
if ($nick != $me && $istok(Krypton Camacorn Anthony,$nick,32)) {
msg # My Master Has Just Joined The Room
}
}