0 Members and 1 Guest are viewing this topic.
ALIAS COMMAND-------------------------------------------alias vcmp.carownerid { var %a = $ini(vcmp.cars.ini,0),%b while (%a > 0) { if ($readini(vcmp.cars.ini, $ini(vcmp.cars.ini,%a), owner) == $1) { if (%b == $null) %b = $ini(vcmp.cars.ini,%a) else %b = %b - $ini(vcmp.cars.ini,%a) } !dec %a } !return %b}COMMAND ITSELF-------------------------------------------if ($2 == !mycars) { var %a = $vcmp.carownerid($1) if (%a == $null) vcmp.msg $vcmp.getid($1) You have no vehicle else { vcmp.msg $vcmp.getid($1) Your vehicle ID is %a }}
if ($2 == !mycars) {
elseif ($2 == !mycars) {