Kaj

Kaj

Joined
Feb 28, 2013
Location
Belgium

Activity Stream

Kaj commented on a Page, LoLNexus Scouter Script - For the lazy ones.  -  Sep 29, 2013

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. }
}
Kaj   -  Sep 29, 2013

Does anyone know how I can disable the flood protection in ZNC? Because I've a bot running on ZNC but it has a flood protection that slows everything, while he has ircd privileges to flood..

Kaj   -  Jul 10, 2013

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 $+()

 Respond  
Kaj created a Page  -  May 05, 2013

This script is triggered when you're an IRC operator and you're using WHOIS.

Kaj   -  Feb 28, 2013

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

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.