3 seperated messages 2 for the if ($nick == ) functions And 1 for the user that will join

By Avelion on Mar 06, 2020

on *:join:#: { 
  if ($nick == Name1 ) { msg $chan  Text for your own} 
  if ($nick == Name2 ) { msg $chan  Text for your own }
  else { 
    if ($nick join # ) { msg $chan Text for your own}

  }

}

I hope there's somebody who can help me fix this script so i can use it.

You can send me a message on Hawkee

Greetz Avelion

Comments

Sign in to comment.
gennarino   -  26 days ago

try:
on *:join:#: {
if ( $nick == Name1 ) { msg $chan Text for your own 1 | exit }
if ( $nick == Name2 ) { msg $chan Text for your own 2 | exit }

msg $chan Text for your own 3

}

ovelayer  -  23 days ago

i would change the 2nd if to and elseif

on *:join:#: {
  if ( $nick == Name1 ) { msg $chan Text for your own 1 | exit }
  elseif ( $nick == Name2 ) { msg $chan Text for your own 2 | exit }
else {
  msg $chan Text for your own 3
 }
}
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.