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. }
}
Hey, I'm trying to make sort of a talker where every character is reversed color of the previous character and I have this script now:
alias cow {
var %input = $1-
var %output
while ($len(%input) > 0) {
%output = $+(%output,,$left(%input,1))
%input = $right(%input,-1)
}
return %output
}
Problem is that when there is a space in the %input, it is ignored in the %output. How can i solve this? A space character gets lost in the $+()
Hi there!
I was wondering if it's possible to make a menu itemlist in mIRC dynamic.
I've the next menu:
menu channel {
Talker
.Inschakelen
..Stijl 1 (Groen): {
writeini -n talker.ini chans $+($network,,$chan) 1
echo -a De talker[1] is ingeschakeld voor $chan $+ .
}
..Stijl 2 (Rozegeel): {
writeini -n talker.ini chans $+($network,,$chan) 2
echo -a De talker[2] is ingeschakeld voor $chan $+ .
}
..Stijl 3 (Noodelz): {
writeini -n talker.ini chans $+($network,,$chan) 3
echo -a De talker[3] is ingeschakeld voor $chan $+ .
}
..Stijl 4 (Regenboog): {
writeini -n talker.ini chans $+($network,,$chan) 4
echo -a De talker[4] is ingeschakeld voor $chan $+ .
}
But is it possible to make it dependent of data in an ini file? That I can read this ini and create for each row a menu item by a for loop?
~Kaj