All pastes #930507 Raw Edit

Something

public text v1 · immutable
·published 2008-03-06 17:29 UTC
rendered paste body
Procura por:

dron_fight($username, $arg[4]);


substitui por:

$LvlMin += $rps{$username}{level}-5
$LvlMax += $rps{$username}{level}+5
elseif ( $rps{$arg[4]}{level} < $LvlMin ) {
  privmsg("You can´t fight with the user $arg[4] lvl $rps{$arg[4]}{level} to low .";
}
elseif ( $rps{$arg[4]}{level} > $LvlMax ) {
  privmsg("You can´t fight with the user $arg[4] lvl $rps{$arg[4]}{level} to hight .";
}
elseif ( $rps{$arg[4]}{level} < $LvlMax ) && ( $rps{$arg[4]}{level} > $LvlMin ) {
  dron_fight($username, $arg[4]);
}