i want to display all my channel & servers that i`m on like this
Server: irc2.mirc.com
Channel: #animerev
Channel: #xsiteclub
Server: irc.aniverse.com
Channel: #sysreset
this is what i have
alias servchan {
/servers
}
alias -l servers {
var %connection.serv.tmp $scon(0)
var %connection.serv.start 1
var %loop 1
:loop
if (%connection.serv.tmp > 0) {
.msg $nick Server: $scon(%connection.serv.tmp).server
/channel
dec %connection.serv.tmp
}
else {
unset %connection.serv.*
inc %loop
}
if (%loop == 1) {
goto loop
}
}
alias -l channels {
var %connection.chan.tmp $chan(0)
var %connection.chan.start 1
var %loop 1
:loop
if (%connection.chan.tmp > 0) {
.msg $nick Channel: $chan(%connection.chan.tmp)
dec %connection.chan.tmp
}
else { Server: irc2.mirc.com
Channel: #animerev
Channel: #xsiteclub
Server: irc.aniverse.com
Channel: #sysreset
unset %connection.chan.*
inc %loop
}
if (%loop == 1) {
goto loop
}
}
but it doesn`t display it the way i want
it displays like this
Server: irc2.mirc.com
Channel: #animerev
Channel: #xsiteclub
Server: irc.aniverse.com
[color:red]
Channel: #animerev
Channel: #xsiteclub
[/color]
(the red part is the wrong part)
so can some1 help me with this