Jump to content

Super Alias!


HouseMD

Recommended Posts

Posted (edited)

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

Always Remember, Everyone Lies and Trust No-one

House.png

Posted

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...

Finnish Multi Theft Auto Networks Community @ http://fin-mta.net

233040547.png

OWNED :D 100mbit fiber linez ownz :)

Posted
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...

ScoobySig.gif

[UVA]Scooby

Founder Of UVA - Ultimate Vice Assassins

http://www.uvaclan.com/

Posted

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

Always Remember, Everyone Lies and Trust No-one

House.png

Posted
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.

ScoobySig.gif

[UVA]Scooby

Founder Of UVA - Ultimate Vice Assassins

http://www.uvaclan.com/

Posted

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 ;)

Always Remember, Everyone Lies and Trust No-one

House.png

Posted

oh good... Because i thought i was about to lose touch with my scriptive side :o

Always Remember, Everyone Lies and Trust No-one

House.png

  • Recently Browsing   0 members

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