Ok, . None of them has a !trace command, I also searched this forum but couldn't find anything . I know there is a working one as I saw in the wankenstein 100% server . Thanks. Also how come this !pmute script doesnt work? I gathered the SLR permmute script, changed it up a bit and it mutes but doesn't auto mute them again when they join back. Help .
on *:SIGNAL:mta.command {
if ($3 == !pmute) {
var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$prs.getid($1,$4)),$2)
if ($4 == $null) mta.pm $1 $2 Error: !pmute <nick>
else {
if ($prs.level($1,$2) >= 3) {
!hadd -n prsbans mute $+ $mta.ip($1,%a) $mta.nick($1,%a)
!hadd -n prsbans mute $+ $mta.nick($1,%a) yes
mta.pm $1 $2 $mta.nick($1,%a) is now permuted.
mta.mute $1 %a
}
}
}
}
elseif ($3 == !unpmute) {
var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$prs.getid($1,$4)),$2)
if ($4 == $null) mta.pm $1 $2 Error: !unpmute <nick>
else {
if ($prs.level($1,$2) >= 3) {
!hdel -n prsbans mute $+ $mta.ip($1,%a)
!hdel -n prsbans mute $+ $mta.nick($1,%a)
mta.pm $1 $2 $mta.nick($1,%a) is unpermuted.
mta.unmute $1 %a
}
}
}
on *:SIGNAL:mta.join: {
if ($mta.nick($1,$2) isin $prs.ip($1,$2)) {
prs.cpmute $1-
=====
alias prs.cpmute {
var %a = $iif(($4 == $null),$2,$iif(($prs.getid($1,$4) == $null),$2,$v1))
if ($prs.muted($1,%a) == yes) && ($mta.nick($1,%a) isin $prs.ip($1,%a)) {
mta.text $1 $mta.nick($1,%a) is permuted. Muting..
mta.mute $1 %a
}
}
alias prs.ip !return $hget(prsbans,mute $+ $mta.ip($1,$2))
alias prs.muted !return $hget(prsbans,mute $+ $mta.nick($1,$2))