Hi Badboy.
If you'd like people to be level 1 when they register, the register alias has to be altered slightly. Change the following
alias WSV.Register {
if ($4) {
if (!$WSV.pass($2)) {
hadd -m WSV.pass $WSV.name($2) $md5($4,0)
hadd -m WSV.ip $WSV.name($2) $WSV.ip($2)
hadd -m WSV.loggedin $WSV.name($2) YES
WSV.msg $2 Your nick-name has been registered.
WSV.say >> $WSV.name($2) is now a registered nick-name.
WSV.msg $2 Do not forget your password; $4
WSV.setcash $2 100
hadd WSV.money $WSV.name($2) 100
}
else WSV.msg $2 This nickname is already registered.
}
else WSV.msg $2 Please type in a password after "/c register"
}
to this;
alias WSV.Register {
if ($4) {
if (!$WSV.pass($2)) {
hadd -m WSV.pass $WSV.name($2) $md5($4,0)
hadd -m WSV.ip $WSV.name($2) $WSV.ip($2)
hadd -m WSV.loggedin $WSV.name($2) YES
WSV.msg $2 Your nick-name has been registered.
WSV.say >> $WSV.name($2) is now a registered nick-name.
WSV.msg $2 Do not forget your password; $4
WSV.setcash $2 100
hadd WSV.money $WSV.name($2) 100
hadd WSV.Admins $WSV.name($2) 1
}
else WSV.msg $2 This nickname is already registered.
}
else WSV.msg $2 Please type in a password after "/c register"
}
You'll have to alter the !admins command as it'll show all registered players.
Change the following;
elseif (admin* iswm $3) {
var %a = 0
while (%a <= %maxplayers) {
if ($WSV.levels(%a) > 0) && ($WSV.loggedin(%a)) {
if (%b) var %b = %b , $WSV.name(%a) $+ ( $+ $WSV.levels(%a)) $+ )
elseif (!%b) var %b = $WSV.name(%a) $+ ( $+ $WSV.levels(%a) $+ )
}
inc %a
}
if (%b) WSV.say > Admins Online: %b
else WSV.say > No Admins Are Currently Online
}
to this;
elseif (admin* iswm $3) {
var %a = 0
while (%a <= %maxplayers) {
if ($WSV.levels(%a) > 1) && ($WSV.loggedin(%a)) {
if (%b) var %b = %b , $WSV.name(%a) $+ ( $+ $WSV.levels(%a)) $+ )
elseif (!%b) var %b = $WSV.name(%a) $+ ( $+ $WSV.levels(%a) $+ )
}
inc %a
}
if (%b) WSV.say > Admins Online: %b
else WSV.say > No Admins Are Currently Online
}