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