A bit of npc help

Mu online season 21 - grand opening

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
ok this after it checks all the namelists,if your not on any i want to say that

[@warrbuff]
#IF
checknamelist ../Market_def/Gtkeys/RustyKeyGA01.txt
#ACT
INSTANTPOWERUP HP 200 3600
INSTANTPOWERUP MP 200 3600
goto @buff1
#ELSEACT
goto @buffed

[@buff1]
#IF
checknamelist ../Market_def/Gtkeys/ShineyKeyGA01.txt
#ACT
INSTANTPOWERUP DC 35 2500
INSTANTPOWERUP HITSPEED 4 2500
goto @buff2
#ELSEACT
goto @buffed

[@buff2]
#IF
checknamelist ../Market_def/Gtkeys/RedKeyGA01.txt
#ACT
INSTANTEXPDOUBLE 5000 5000
goto @ExpBuff
#ELSEACT
goto @buff3

[@buff3]
#IF
checknamelist ../Market_def/Gtkeys/GoldKeyGA01.txt
#ACT
mapmove ch001
goto @buffed
#ELSEACT
goto @nokeys


[@nokeys]
#SAY
You done have any keys saved!!!!\
<Exit/@main>
 
Last edited:

Hany

Golden Oldie
Golden Oldie
Feb 28, 2005
918
120
180
iceman said:
ok this after it checks all the namelists,if your not on any i want to say that

[@warrbuff]
#IF
checknamelist ../Market_def/Gtkeys/RustyKeyGA01.txt
#ACT
INSTANTPOWERUP HP 200 3600
INSTANTPOWERUP MP 200 3600
goto @buff1
#ELSEACT
goto @buffed

[@buff1]
#IF
checknamelist ../Market_def/Gtkeys/ShineyKeyGA01.txt
#ACT
INSTANTPOWERUP DC 35 2500
INSTANTPOWERUP HITSPEED 4 2500
goto @buff2
#ELSEACT
goto @buffed

[@buff2]
#IF
checknamelist ../Market_def/Gtkeys/RedKeyGA01.txt
#ACT
INSTANTEXPDOUBLE 5000 5000
goto @ExpBuff
#ELSEACT
goto @buff3

[@buff3]
#IF
checknamelist ../Market_def/Gtkeys/GoldKeyGA01.txt
#ACT
mapmove ch001
goto @buffed
#ELSEACT
goto @nokeys


[@nokeys]
#SAY
You done have any keys saved!!!!\
<Exit/@main>

What do you exactly want? as i didnt understand rly, do u want it to check if u have the buff?

If so theres 2 ways, flags / Namelists thats hwat i know of

namelists u will have to add the user to a list example


[@buff1]
#IF
checknamelist ../Market_def/Gtkeys/BuffedshineyKeyGA01.txt
#Act
goto @buffed.

#IF
checknamelist ../Market_def/Gtkeys/ShineyKeyGA01.txt
#ACT
INSTANTPOWERUP DC 35 2500
INSTANTPOWERUP HITSPEED 4 2500
addnamelist ../Market_def/Gtkeys/BuffedShineyKeyGA01.txt
goto @buff2
#ELSEACT
goto @buffed

[@Buffed]
#Say You have been already buffed.


Im not sure, u will need a robot to wipe out these namelists every 5mins , depending how ur doin it and the buff time.
 
Last edited:
Upvote 0

Nikx

LOMCN Veteran
Veteran
Loyal Member
Feb 1, 2008
353
0
43
Once you get this fixed :P fancy a realse if u dnt mind .. ty :P
 
Upvote 0

Avatar

Dedicated Member
Dedicated Member
Feb 3, 2010
75
0
33
RaGEZONE
#IF
checknamelist ../Market_def/Gtkeys/ShineyKeyGA01.txt
#ACT
INSTANTPOWERUP DC 35 2500
INSTANTPOWERUP HITSPEED 4 2500
addnamelist ../Market_def/Gtkeys/BuffedShineyKeyGA01.txt
goto @buff2
#ELSEACT
goto @buffed

regard that npc script, that wouldnt work as u put check command before add to list. i think he means to put add list on another NPC. then shud work. as for that script i i think u trying to do subclass but its all over i dunno what im reading.

if you post whole script including rebirth or subclass npc maybe i can help where you are going wrong. other wise sorry.
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
Code:
[@warrbuff]
#IF
checknamelist ../Market_def/Gtkeys/RustyKeyGA01.txt
checknamelist ../Market_def/Gtkeys/ShineyKeyGA01.txt
checknamelist ../Market_def/Gtkeys/RedKeyGA01.txt
checknamelist ../Market_def/Gtkeys/GoldKeyGA01.txt
#ACT
;carry on goin
#ELSEACT
break
#ELSESAY
You don't have any keys saved!!!!\ \ \ \
<Exit/@exit> 


#IF
checknamelist ../Market_def/Gtkeys/RustyKeyGA01.txt
#ACT
INSTANTPOWERUP HP 200 3600
INSTANTPOWERUP MP 200 3600
goto @buffed

#IF
checknamelist ../Market_def/Gtkeys/ShineyKeyGA01.txt
#ACT
INSTANTPOWERUP DC 35 2500
INSTANTPOWERUP HITSPEED 4 2500
goto @buffed

#IF
checknamelist ../Market_def/Gtkeys/RedKeyGA01.txt
#ACT
INSTANTEXPDOUBLE 5000 5000
goto @buffed

#IF
checknamelist ../Market_def/Gtkeys/GoldKeyGA01.txt
#ACT
mapmove ch001
goto @buffed

#ELSEACT
goto @buffed

[@buffed]
You have been buffed!

This is what i told him to use
 
Upvote 0

Madman

LOMCN Veteran
Veteran
Jan 16, 2010
490
17
44
Was waiting to see if ben had showed you that way of doing it as i looked thru this thread. But he has so i am not needed now lol, nice of u to share bennny boi
 
Upvote 0