Npc Help

smoochy boys on tour

mirlin6

Golden Oldie
Golden Oldie
Aug 11, 2004
532
3
124
United Kingdom
Hi,

I have been searching the forums for 2 days searching for a script but can't find it what i am trying to make is a script that i can type in a map / monster and have the cave cleared or respawned i have used one that someone posted a while back but can't find it now i am thinking i will need to use variables to make the script but any help would be apreciated. anyway i will have a go making it myself

Thanks
 

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
[@main]
#say
Do you want to start a random event?\\
<yes/@yes> <no/@exit>

[@yes]
#act
MongenP "D1901,150,150,10" Oma 50
#say
it's started
<exit/@exit>


D1901 = map

150,150 coordinates
10 = spawn range
oma = mob name
50 = number of mobs


And to clear map of Oma's.....

#ACT
eventmsg [grobal] "The attack of Numa Village is over"
monclear "D1901" Oma
 
Upvote 0

mirlin6

Golden Oldie
Golden Oldie
Aug 11, 2004
532
3
124
United Kingdom
I'm trying to get the %Inputstr command to work but having no joy maybe it is something i am doing wrong here's what i've got

[@clear]
#say
Map: <%OUTPUT(D1)>! \
Coord's: \
Mob: \
< Clear Cave/@ClearMap> \

[@ClearMap]
#ACT
mov D1 %INPUTSTR
;At which point here i would like to send it back to the first part of the script. i am assuming it would just be a simple goto @clear but how would i check if imformation has been inputed? or will the variable store that for me?
 
Upvote 0

Serane

Dedicated Member
Dedicated Member
Feb 18, 2012
246
5
45
bud do you searching for something like, you spawn mobs in a map and after you kill all mobs map get clear?
i am thinking tht should be a mapquest if i am not wrong
 
Upvote 0

Zisha

Dedicated Member
Dedicated Member
Feb 23, 2012
165
5
44
If you like Kill Boss, the map clear.

add mapquest in boss:

[@Main]
#IF
#ACT
monclear "Map" Moob
Mapting ; If you want this pj go to out kingroom.
MongenP "D1901,150,150,10" Oma 50 ; If you want new respawn.


Serane if you explain what you need i help in pm.

;)
 
Upvote 0

Serane

Dedicated Member
Dedicated Member
Feb 18, 2012
246
5
45
If you like Kill Boss, the map clear.

add mapquest in boss:

[@Main]
#IF
#ACT
monclear "Map" Moob
Mapting ; If you want this pj go to out kingroom.
MongenP "D1901,150,150,10" Oma 50 ; If you want new respawn.


Serane if you explain what you need i help in pm.

;)

thank you

i was thinking mirlin needs a mapquest :P
 
Upvote 0