18435
if carries $n gsloot
if var $i golchk == 3
var $i golchk = 0
var $i sctalk = 0
mob oload 18447
put all sack
give bag $n
say There you go, $n!
mob remove $n 18409 1
emote puts the box away.
break
else
if var $i sctalk == 0
say Well, let's see what we can get you.
emote whips out a box and ruffles through it.
var $i sctalk = 1
endif
mob call 18436 $n
endif
else
mob echoat $n $i {gsays,'{GYou don't have any gold loot on you.{g'{x
endif
18436
var $i scrchk = rand 1 27
if var $i scrchk < 14
mob call 18437 $n
else
mob call 18438 $n
endif
18437
if var $i scrchk == 1
mob oload 18414
scrchk = 0
endif
if var $i scrchk == 2
mob oload 18415
scrchk = 0
endif
if var $i scrchk == 3
mob oload 18416
scrchk = 0
endif
if var $i scrchk == 4
mob oload 18417
scrchk = 0
endif
if var $i scrchk == 5
mob oload 18418
scrchk = 0
endif
if var $i scrchk == 6
mob oload 18419
scrchk = 0
endif
if var $i scrchk == 7
mob oload 18420
scrchk = 0
endif
if var $i scrchk == 8
mob oload 18421
scrchk = 0
endif
if var $i scrchk == 9
mob oload 18422
scrchk = 0
endif
if var $i scrchk == 10
mob oload 18423
scrchk = 0
endif
if var $i scrchk == 11
mob oload 18424
scrchk = 0
endif
if var $i scrchk == 12
mob oload 18425
scrchk = 0
endif
if var $i scrchk == 13
mob oload 18426
scrchk = 0
endif
var $i golchk + 1
mob call 18435 $n
18438
if var $i scrchk == 14
mob oload 18427
scrchk = 0
endif
if var $i scrchk == 15
mob oload 18428
scrchk = 0
endif
if var $i scrchk == 16
mob oload 18429
scrchk = 0
endif
if var $i scrchk == 17
mob oload 18430
scrchk = 0
endif
if var $i scrchk == 18
mob oload 18431
scrchk = 0
endif
if var $i scrchk == 19
mob oload 18432
scrchk = 0
endif
if var $i scrchk == 20
mob oload 18433
scrchk = 0
endif
if var $i scrchk == 21
mob oload 18434
scrchk = 0
endif
if var $i scrchk == 22
mob oload 18435
scrchk = 0
endif
if var $i scrchk == 23
mob oload 18436
scrchk = 0
endif
if var $i scrchk == 24
mob oload 18437
scrchk = 0
endif
if var $i scrchk == 25
mob oload 18438
scrchk = 0
endif
if var $i scrchk == 26
mob oload 18439
scrchk = 0
endif
if var $i scrchk == 27
mob oload 18440
scrchk = 0
endif
var $i golchk + 1
mob call 18435 $n
var $i scrchk = rand 18414 18440
mob showvar 1 $i scrchk
mob oload $1
var $i scrchk = 0
var $i golchk + 1
mob call 18435 $n
I'm pretty sure this is the mprog's built in anti-infinite loop kicking in… but I need moar mob calls to make this stuff work.
Is MAX_CALL_LEVEL a variable somewhere, and can it be bumped up a few notches?