How to check the number of a certain mob in script

mazz

Dedicated Member
Dedicated Member
Aug 6, 2008
193
2
65
Ive bin looking for a command for this for hours now
I wanna know how many darkdevils are on map 0 in script not gm command

this is all I have found so far

checkmonmap deathcavernkr 60
Checks how many mobs there are in all
I wanna know something like this
Checkmonmap deathcavernkr darkdevil 60

this dont work of course but is there a different command that does work?
TY
 
Last edited:

akacary2

LOMCN Veteran
Veteran
Loyal Member
Dec 11, 2008
274
1
44
Hartlepool
Think its other way round m8:
E.G

#IF
checkmonmap mapnumber 1 DarkDevil
#SAY
DarkDevil is still alive\
#ELSEACT
#SAY
DarkDevil is dead\\\
<Collect Prize/@prize>

[@prize]
#IF
checkitem item 1
#ACT
take item 1
give prize 1
#SAY
Here is your prize...\\\
<Thanks/@exit>
#ELSEACT
#SAY
Do not try and con me!!!
BREAK


Summit like that anyways lol :P
 
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
u mite wanna set a flag to the killer tho... cuz atm, anyone can claim the prize and over and over again aswell.

thats if u int already :p
 
Upvote 0

akacary2

LOMCN Veteran
Veteran
Loyal Member
Dec 11, 2008
274
1
44
Hartlepool
np m8.
If u dnt wana use flags maybe use namelists? Thats wot i tend 2 use as they are easier 2 keep track of lol

#IF
checkmonmap mapnumber 1 DarkDevil
#SAY
DarkDevil is still alive\
#ELSEACT
#SAY
DarkDevil is dead\\\
<Collect Prize/@prize>

[@prize]
#IF
CHECKNAMELIST Namelists/blah.txt

#ACT
goto @con
#ELSEACT
goto @prize2

[@con]
#SAY
Be Away With You!! You Have/
Already Had Your Prize

[@prize2]
#IF
checkitem item 1
#ACT
take item 1
give prize 1
ADDNAMELIST Namelists/blah.txt
#SAY
Here is your prize...\\\
<Thanks/@exit>
#ELSEACT
#SAY
Do not try and con me!!!
BREAK

Add something along those lines if u decide to do namelists. Think iv written that out correctly m8 lol
 
Upvote 0