Heroes goldbar ,bundle, and chest

Valhalla

Nexus Mir Developer
Veteran
Sep 7, 2012
1,952
3
452
150
127.0.0.1
Need to put in a little script into your Qfunction, I havent got my files in front of me atm but ill post when im home, someone else might beat me to it though
 
Upvote 0

KingOnMir

Dedicated Member
Dedicated Member
Sep 24, 2011
77
0
32
this is how mine is set up

change the func80 81 82 to what you have in your item db FLD_ANICOUNT , also make sure the item is stmode 31

::-Qfun part

[@StdModeFunc80]
#IF
checkgold 490000001
#SAY
You cannot Exchange goldbar into money.\
your bankbalance would exceed its limit.\ \
<Cancel/@exit>
#ACT
GIVE GoldBar 1
BREAK
#ELSEACT
give gold 1000000
SENDMSG 6 "GoldBar was Exchanged into money."


[@StdModeFunc81]
#IF
checkgold 450000001
#SAY
You cannot Exchange goldbarbundle into money.\
your bankbalance would exceed its limit.\ \
<Cancel/@exit>
#ACT
GIVE GoldBarBundle 1
BREAK
#ELSEACT
give gold 5000000
SENDMSG 6 "GoldBarBundle was Exchanged into money."


[@StdModeFunc82]
#IF
checkgold 400000001
#SAY
You cannot Exchange goldbarchest into money.\
your bankbalance would exceed its limit.\ \
<Cancel/@exit>
#ACT
GIVE GoldChest 1
BREAK
#ELSEACT
give gold 10000000
SENDMSG 6 "GoldChest was Exchanged into money."
 
Upvote 0

WargodSius

Dedicated Member
Dedicated Member
Aug 5, 2013
2,380
33
110
Step by step guide for you

1) Be on lomcn home page
2) Towards top - left locate the search field
3) type in 'qfunction'
4) Open the first result (literally the first result)
5) In thread, scroll down to last post on first page
6) Read from then on
 
Upvote 0