Archive > 0.3.x Custom/Unofficial Modules
Fixed Alts.php for 0.3.4
Temar:
This is the Alts.php found in the Modules Folder
You only need this if you have Usealts on under security Settings
* This will Prevent Any 1 adding an Alt with Higher User/Admin level to there name giving them the higher level
* This is also Prevent the use of !altadmin on any 2 characters unless the person doing it has same or better admin level.
* Useing !altadmin will Override the Req for main to be same or higher than alt
30/06/07
Fixed Bug were normal !alts add command wasnt working
01/07/07
Got SVN version and Altered the settings to set so it works with 0.3.4
Khalem:
Modified slightly to allow disabling if desired and committed to SVN.
Temar:
ive looked as SVN and it looks like it still does the check
--- Code: --- if ($security)
{
// Check if the Alt being Added has Higher Security
if ($this -> bot -> security -> get_access_level($name) < $this -> bot -> security -> get_access_level($alt))
{
return "##error##Character ##highlight##$alt##end## is Higher User Level and Cannot be Added as your Alt.##end##";
}
}
--- End code ---
even if its !altadmin
which means the owner cant add an alt with admin to a main with nothing for example
Khalem:
Fixed (i think) :P
Temar:
ok i got the SVN version altered the settings to set to work with 0.3.4
but
--- Quote ---[Leet] Chris05: !alts
[Leet] Leetboss2: ' Chris05' (214 / 11 Doctor) -
--- End quote ---
not posting my alts
Navigation
[0] Message Index
[#] Next page
Go to full version