HELPME CHEK [999] and SET [999]

Play Now

Mukai

LOMCN Veteran
Veteran
Feb 15, 2008
383
0
43
Tenerife
My idea is to make an NPC CHECK several FLAGS and some MOBS on those flag.

¿ Sample ?

- MAPQUEST

oxmapx [0] 0 [MonDie] Ghoul * [MapQuest_Def\GhoulX] [@SET]

[@set]
#act
set [999] 1
BREAK


--- npC

[@mgain]
#IF
check [991] 1
#SAY
NO CORRECT\\
<Yes/@BLAVLA>\
<No/@exit>\
#ELSESAY
OK\
<OK/@exit>

IS CORRECT?
 

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
My idea is to make an NPC CHECK several FLAGS and some MOBS on those flag.

¿ Sample ?

- MAPQUEST

oxmapx [0] 0 [MonDie] Ghoul * [MapQuest_Def\GhoulX] [@SET]

[@set]
#act
set [999] 1
BREAK


--- npC

[@mgain]
#IF
check [999] 1
#SAY
NO CORRECT\\
<Yes/@BLAVLA>\
<No/@exit>\
#ELSESAY
OK\
<OK/@exit>

IS CORRECT?
Everything there looks fine apart from your activitaing 999 flag then checking 991 flag, other than that looks fine.
 
Upvote 0

Mukai

LOMCN Veteran
Veteran
Feb 15, 2008
383
0
43
Tenerife
I would like to put that to kill mob SET [990] 1 and PCP to chekear who have [990] 1, a gold .. for sample. this code no working :(
 
Upvote 0

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
Code:
##Script for Mondie-
 
#IF
CHECK [999] 0
#ACT
SET [999] 1
break
 
##Script for NPC-
#IF
CHECK [999] 1
#SAY
You have earned a reward\
<Thanks/@Exit>\\
#ACT
GIVE GOLD 1000
SET [999] 0
#ELSESAY
You have not earned a reward\
<EXIT/@EXIT>\\

That should work no bother, if it still is not working then you are proberbly not setting the mapquest right or you may be already using the flag for something else
 
Upvote 0

Mukai

LOMCN Veteran
Veteran
Feb 15, 2008
383
0
43
Tenerife
perfect im use 5 mondie in diferents mobs , npc check 5 flags and "$$$$$" :P sorry my english , very thx friend :)=
 
Upvote 0