mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2014
Posts: 65
E
Exuviax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Mar 2014
Posts: 65
So, I have a code that blocks spam protection like so.

Code:
if ($($+(%,spamcaps.,$chan),2)) { 
    if ($($+(%,spam1.,$nick),2)) { RETURN }
    if ($($+(%,silent.,$chan),2)) { RETURN }
    if ($($+(%,permit.,$nick),2)) { RETURN }
    IF (($len($1-) < 9) || ($nick isop #)) { RETURN }


There is more, but it is unimportant.

So I want to take something like this

Code:
if ($($+(%,permit.,$nick),2)) { RETURN }


And add $chan into it. So, I assumed I would write it like this

Code:
($($+(%,Permit.,$nick.,$chan),3))


But I can't seem to get it to work. Basically all I need to know, is how to log the word Regular, $nick and $chan of a person, then also how to do the Set on it. So for the permit I have the set command look like

Code:
set -u120 %permit. $+ $nick On


So to do one with all three, what would it look like?


I do things with stuff that makes other things do stuff.
Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
You have a period touching the $nick identifier, you can't have that.

Code:
$+(%,Permit.,$nick,.,$chan)

set -u120 %permit. $+ $nick $+ . $+ $chan On


Link Copied to Clipboard