Not sure if this will work, didn't tested it..
on *:TEXT:!scout*:#:{
if ($2 == $null) { msg $chan syntax: !scout region nickname. }
if ($2 == euw || $2 == eune || $2 == na) {
if ($3 == $null) { msg $chan enter nickname. }
else {
if ($2 == euw) { msg $chan http://www.lolnexus.com/scouter/search?name= $+ $3 $+ &server=EUW }
elseif ($2 == eune) { msg $chan http://www.lolnexus.com/EUNE/search?name= $+ $3 $+ &server=EUNE }
elseif ($2 == na) { msg $chan http://www.lolnexus.com/NA/search?name= $+ $3 $+ &server=NA }
}
}
else { msg $chan only EUW/EUNE/NA are available. }
}
Yea, make elseif of the second if should fix this problem :)
on *:TEXT:!scout*:#:{
if ($2 == $null) { msg $chan syntax: !scout region nickname. }
elseif ($2 == euw || $2 == eune || $2 == na) {
if ($3 == $null) { msg $chan enter nickname. }
else {
if ($2 == euw) { msg $chan http://www.lolnexus.com/scouter/search?name= $+ $3 $+ &server=EUW }
elseif ($2 == eune) { msg $chan http://www.lolnexus.com/EUNE/search?name= $+ $3 $+ &server=EUNE }
elseif ($2 == na) { msg $chan http://www.lolnexus.com/NA/search?name= $+ $3 $+ &server=NA }
}
}
else { msg $chan only EUW/EUNE/NA are available. }
}
thanks. that works fine.