Jump to content

Super Alias!


HouseMD

Recommended Posts

This script is nothing special, but its short and effective.

This scripts sends the persons alias to a admin when they join, so no-fooling for a person that can read fast!

   
on *:SIGNAL:mta.join: {
var %pma = 0,%ID = $2
while (%pma <= $mta.server($1).cmax) {
if ($gus.level($1,%pma) >= 4) {
if (%pma != %ID) mta.pm $1 %pma Alias for $mta.nick($1,%ID) $+ : $iif($readini($scriptdir $+ alias.ini,ALIAS,$mta.ip($1,%ID)),$v1,Not Found)
}
!inc %pma
}
}

This is for GUS script, you can change it to make it work with PRS.

Edited by Guest
Link to comment

i think you know that there are some noobs what couldnt edit anything. So, i make this script for PRS. There it goes:

on *:SIGNAL:mta.join: {
var %pma = 0,%ID = $2
while (%pma <= $mta.server($1).cmax) {
if ($mta.level($1,%pma) >= 2) {
if (%pma != %ID) mta.pm $1 %pma Alias for $mta.nick($1,%ID) $+ : $iif($readini($scriptdir $+ alias.ini,ALIAS,$mta.ip($1,%ID)),$v1,Not Found)
}
!inc %pma
}
} 

:lol:

Btw, as you can see, i put this only for lvl 2 admins...

Link to comment
i think you know that there are some noobs what couldnt edit anything. So, i make this script for PRS. There it goes:

on *:SIGNAL:mta.join: {
var %pma = 0,%ID = $2
while (%pma <= $mta.server($1).cmax) {
if ($mta.level($1,%pma) >= 2) {
if (%pma != %ID) mta.pm $1 %pma Alias for $mta.nick($1,%ID) $+ : $iif($readini($scriptdir $+ alias.ini,ALIAS,$mta.ip($1,%ID)),$v1,Not Found)
}
!inc %pma
}
} 

:lol:

Btw, as you can see, i put this only for lvl 2 admins...

This isnt for PRS, wont work so dont bother...

editing 1 or 2 words doesnt make u any better...

Link to comment
in Prs, Don't you have $prs.level or something... so if u you want it for PRS, just change the $gus.level to $prs.level

thats not the problem, the part that writes the aliases to this ini in GUS is not in PRS.

of course the line could be changed.

Link to comment

ok... how about this...

on *:SIGNAL:mta.join: { 
var %pma = 0,%ID = $2 
while (%pma <= $mta.server($1).cmax) { 
if ($mta.level($1,%pma) >= 2) {
if (%pma != %ID) mta.pm $1 %pma $iif(!$hget(prsalias,$mta.ip($1, %ID)),No Aliases Found For $mta.nick($1, %ID), $mta.nick($1, %ID) $+ 's Aliases: $replace($hget(prsalias,$mta.ip($1, %ID)),$chr(44),$chr(32), $mta.nick($1, %ID),$null)) 
} 
!inc %pma 
} 
} 

This should be for PRS, but i'll let Scooby check it ;)

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...