keys 7,8,9

Mu online season 21 - grand opening

twigletuk

Golden Oldie
Golden Oldie
Oct 17, 2005
589
8
155
Crewe Cheshire
i got this in my q function n put @key7 @key8 @key9 in custom commands

this is whts in ma q function

[@key7]
#IF
CHECK [200] 1
#ACT
TEMPPOWERUP DC 50 300
SENDMSG 6 "DC increased by 50 for 5 mins"
break
#IF
CHECK [201] 1
#ACT
TEMPPOWERUP HP 50 300
SENDMSG 6 "Health increaced by 50 for 5 mins"
break
#IF
CHECK [202] 1
#ACT
TEMPPOWERUP HP 25 300
TEMPPOWERUP DC 25 300
SENDMSG 6 "Health and DC increased by 25 for 5 min"
break


but nowt works. any 1 no whts up?

/Clipper
 

Spoon666

LOMCN Veteran
Veteran
Feb 12, 2005
292
0
43
South West Wales
[@key7]
#IF
CHECK [200] 1
#ACT
TEMPPOWERUP DC 50 300
SENDMSG 6 "DC increased by 50 for 5 mins"
break
#IF
CHECK [201] 1
#ACT
TEMPPOWERUP HP 50 300
SENDMSG 6 "Health increaced by 50 for 5 mins"
break
#IF
CHECK [202] 1
#ACT
TEMPPOWERUP HP 25 300
TEMPPOWERUP DC 25 300
SENDMSG 6 "Health and DC increased by 25 for 5 min"
break


m8 thats bloody simple if your checking for flags obviously those flags needs to be enabled on chars that want to use them

[200] for DC
[201] for HP
[202] for HP/DC

So you need to set those flags like this

SET [200] 1
SET [201] 1
SET [202] 1
 
Upvote 0

IceSlice

Golden Oldie
Golden Oldie
May 24, 2005
1,320
207
250
Habs head rent free
You make a npc (SubClass npc)

Basic basic guide

[@Main]
#SAY
You want subclass ?
-\
<DcSubClass./@1>\

[@1]
#ACT
SET [200] 1
#SAY
Your now a DcSubClass

======

So then in Qfunct

[@key7]
#IF
CHECK [200] 1
#ACT
TEMPPOWERUP DC 50 50
BREAK

#IF
CHECK [201] 1 <<--- You set this flag for a McSubClass on the Npc that sets the Flag.
#ACT
TEMPPOWERUP MC 50 50
BREAK
 
Upvote 0

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
u need an npc where u can choose if u want hp, dc or both as a power up.. if u choose any of them the npc must set the flag so that the char will respond yes at the question CHECK [200] 1.. unless when u run that code u will only have a script saying.. has your char flag 200 = 1 ? then it says no and does nothing.. goes to the part saying, so it may have flag 201 = 1? then it says no again and does nothing.. goes to the part asking if you have a flag 202 = 1? then it says no and just quits because u dont have nothing..

so read iceslice post and use his idea of subclass npc to make your script work properly.. unless make it so that @key7 makes only one function which everyone ingame can use.. for example:

[@key7]
#ACT
TEMPPOWERUP DC 50 300
TEMPPOWERUP HP 50 300
SENDMSG 6 "HP and DC increased by 50 for 5 mins"
break
 
Upvote 0