Script help

RazzleDazzle

LOMCN Veteran
Veteran
Mar 23, 2009
394
2
45
~{Aylesbury}~
Hi, im trying to make a box pop up once a mob dies.

For example, i kill a hooking cat in the GM room and a box pops up telling me ive killed a hooking cat.

I know i have to edit the MapQuest info , which i have done :

GM [1] 1 [MonDie] HookingCat * [MapQuest_Def\Mon_TEST] [@Main]

im just really not sure what to do next (or what to edit in the actual Mon_TEST txt file)

any help be appreciated
 
Last edited:

greatbat

Dedicated Member
Dedicated Member
Sep 8, 2007
13
0
47
GM [1] 1 [MonDie] HookingCat * [MapQuest_Def\Mon_TEST] [@Main]

Map [flag] flag_state

So this one will work only if your 1 flag is ON

Try this one if it will be only 1 time kill.
Code:
GM [1] 0 [MonDie] HookingCat * [MapQuest_Def\Mon_TEST] [@Main]

And this one if you want to check it everytime you kill the mob
Code:
GM [0] 0 [MonDie] HookingCat * [MapQuest_Def\Mon_TEST] [@Main]

PS. Use Edit

@edit
[@main]
#IF
CHECK [1] 1
#SAY
u killed it

should be ?
#IF
CHECK [1] 0
#SAY
u killed it
#ACT
SET [1] 1
 
Last edited:
Upvote 0

greatbat

Dedicated Member
Dedicated Member
Sep 8, 2007
13
0
47
MapQuest:
GM [0] 0 [MonDie] HookingCat * [MapQuest_Def\Mon_TEST] [@Main]

Mon_TEST
[@main]
#IF
#SAY
u killed it

should work regardles of flags

Also check flag 1 on your character by GM commands
@flag Name - to check flag
@setflag Name flag flag_state - to change flag state
 
Last edited:
Upvote 0

greatbat

Dedicated Member
Dedicated Member
Sep 8, 2007
13
0
47
Last thing that i can think about is that you didnt reload mapquest by command @reloadmapuqest on the map where the mapquest should work.
 
Upvote 0