|
@@ -9,11 +9,7 @@
|
|
|
!! If ARGS[1] is not set it defaults to zero, so you can use the variables it sets with or without [0] e.g. dick or dick[0] are equivalent
|
|
|
|
|
|
if ($ARGS[0] = '' and ARGS[0] > 0) or (isnum(mid($ARGS[0],1,1)) and val(mid($ARGS[0],1,1)) < 10):
|
|
|
- if ARGS[0] > 0:
|
|
|
- npclastcalledn = ARGS[0]
|
|
|
- else
|
|
|
- npclastcalledn = val($ARGS[0])
|
|
|
- end
|
|
|
+ npclastcalledn = iif(isnum($ARGS[0]),val($ARGS[0]),ARGS[0])
|
|
|
$npcboytemp = 'A' + npclastcalledn
|
|
|
else
|
|
|
$npcboytemp = $ARGS[0]
|
|
@@ -103,7 +99,7 @@ elseif $ARGS[1] = 'f':
|
|
|
$dick_girth6 = $bstemp[3]
|
|
|
silavag6 = bstemp[4]
|
|
|
else
|
|
|
- boyStat_i = max(ARGS[1], val($ARGS[1]))
|
|
|
+ boyStat_i = iif(isnum($ARGS[1]),val($ARGS[1]),ARGS[1])
|
|
|
$boy[boyStat_i] = $npclastcalled
|
|
|
$boydesc[boyStat_i] = $bstemp[1]
|
|
|
dick[boyStat_i] = bstemp[2]
|