KryptonCnR   -  Nov 18, 2013

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.

Nos  -  Nov 18, 2013

on 1:join:#: {
if ($nick != $me && $istok(Krypton Camacorn Anthony,$nick,32)) {
msg # My Master Has Just Joined The Room
}
}

choo-ooza  -  Nov 18, 2013

Hello Krypton ,
Nos has given a Good Solution I think you may adopt it.
else use easy User Access Level for any nick give this command on command bar /auser -a 12 nickname

on 12:JOIN:#: { msg $chan My Master Has Just Joined The Room }

Regards,

Nos  -  Nov 18, 2013

on !*:join:#: {
if ($nick == Krypton) {
msg $chan My Master Has Just Joined The Room
}
elseif ($nick == Camacorn) {
msg $chan The channel Owner Has Just Joined The Room
}
elseif ($nick == Anthony) {
msg $chan Anthony Has Just Joined The Room
}
}

Nos  -  Nov 18, 2013

it's for different reasons

newbie28  -  Nov 18, 2013

:D

KilllerX  -  Nov 18, 2013

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.

KryptonCnR  -  Nov 18, 2013

Thanks Nos - That worked perfectly thanks very much

Yawhatnever  -  Nov 19, 2013

Only the first matching event will be triggered per script file.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.