Heroes help please

smoochy boys on tour

killerboy123

Loyal Member
Loyal Member
Feb 5, 2015
409
0
44
Burj-Village
How do i make it so i can make a npc wich gives x2

---------- Post Merged at 05:15 PM ---------- Previous Post was at 05:13 PM ----------

i need help with this please
Use [ Then code then ]
[@main]Hello <$USERNAME>\
You've heard mighty things?\
Well you've heard no lie..\
Yes, it is true I can bring mobs\
Into your power...\
But it isn't free!\
Whatcha' say?\
<Yes/@next> <Crazy man/@exit>


[@next]
Right, a believer eh?\
Good for you son\
What pets would you like?\
The better, the more expensive..\
Hope you've got some cash there <$USERNAME>\
<Aye I do/@pet> <No, Sorry./@exit>


[@pet]
#SAY
What level are you?\
<1-22/@22> <23-33/@33>\
<33-40/@40> <40-50/@50>\
<50-60/@60> <60-70/@70>\
<Or 70+/@80>\


[@22]
#SAY
Oh ok\
Best get leveling\
I have something for you\
It will only cost...\
Well, have it for free!\
<Ok/@ok> <Hmm, No ty/@exit>


[@ok]
#IF
checklevel 1
#ACT
RECALLMOB OmaWarrior 7
RECALLMOB OmaWarrior 7
#SAY
Enjoy Your New Pet <$USERNAME>!
#IF
CHECKSLAVECOUNT<2
#ACT
RECALLMOB OmaWarrior 2
#ELSESAY
you already having 2 pet dont be greedy
[@33]
#SAY
Oh, nice!\
Here, I hope it helps..\
At such a small fee of\
25k, it will pour the levels\
in... Whatcha' say?\
<Yeah SURE!/@sure> <No, FO./@exit>


[@sure]
#IF
checklevel 33
checkgold 25000
#ACT
Take gold 25000
RECALLMOB FireMinotaur 7
RECALLMOB FireMinotaur 7
#SAY
Enjoy Your New Pet <$USERNAME>!
#IF
CHECKSLAVECOUNT<2
#ACT
RECALLMOB FireMinotuar 2
#ELSESAY
you already having 2 pet dont be greedy


[@40]
#SAY
Very good <$USERNAME>\
Well, at a fee of 100k\
I can summon 2 strong pets\
Well, I havent got all day!\
<Soz, Yeah Please!/@please> <Erm, No./@exit>


[@please]
#IF
checklevel 40
Checkgold 100000
#ACT
Take gold 100000
RECALLMOB AxeOma 7
RECALLMOB AxeOma 7
#SAY
Enjoy Your New Pet <$USERNAME>!
#IF
CHECKSLAVECOUNT<2
#ACT
RECALLMOB AxeOma 2
#ELSESAY
you already having 2 pet dont be greedy


[@50]
#SAY
You've been geeking it then eh?\
Only joking mate!\
Want some uber pets?\
These truely help alot!\
At a small fee of 250k\
Yeah?\
<hellYEAH/@50yes> <Lol, Or not./@exit>#IF




[@50yes]
#IF
checklevel 50
checkgold 250000
#ACT
take gold 250000
RECALLMOB KingHog 7
#SAY
Enjoy Your New Pet <$USERNAME>!
#IF
CHECKSLAVECOUNT<1
#ACT
RECALLMOB KingHob 1
#ELSESAY
you already having 1 pet dont be greedy


[@60]
#SAY
Pfft, I look up to people like you..\
Anyways, back on buisness\
I can give you a NICE, lushious\
Kick ass mob, at a fee of 500k\
Well?\
<Hmph, OK/@60yes> <Maybe not../@exit>


[@60yes]
#IF
checklevel 60
checkgold 500000
#ACT
take gold 500000
RECALLMOB DarkDevil 7
#SAY
Enjoy Your New Pet <$USERNAME>!
#IF
CHECKSLAVECOUNT<1
#ACT
RECALLMOB DarkDevil 1
#ELSESAY
you already having 2 pet dont be greedy


[@70]
#SAY
Not much of a change now your this high\
But I can give you 2 DarkDevils now!\
Instead of 1... And, <$USERNAME>,\
At only 750k, And ermm\
Shh, I'll make them level 7!\
.....Well?\
<YEAH!/@70yes> <I'll stick with solo/@exit>


[@70yes]
#IF
checklevel 70
checkgold 750000
#ACT
take gold 750000
RECALLMOB DarkDevil 7
RECALLMOB DarkDevil 7
#SAY
Enjoy Your New Pet <$USERNAME>!
#IF
CHECKSLAVECOUNT<2
#ACT
RECALLMOB DarkDevil 2
#ELSESAY
you already having 2 pet dont be greedy


[@80]
#SAY
My god sir <$USERNAME>\
You've grown so much!\
How can I help you my might friend?\
Pets you say?\
No problem, I'm feeling nice you see\
I'll give you a level 7 MinotaurKing\
You WON'T regret it.\
At such a price of 1million\
<Yes you little rat/@80yes> <No, get some money!/@exit>


[@80yes]
#IF
checklevel 80
checkgold 1000000
#ACT
take gold 1000000
RECALLMOB MinotaurKing 7
RECALLMOB MinotaurKing 7
#SAY
Enjoy Your New Pet <$USERNAME>!


#IF
CHECKSLAVECOUNT<2
#ACT
RECALLMOB MinotuarKing 2
#ELSESAY
you already having 2 pet dont be greedy
then [ / then code then ]
 
Last edited:

killerboy123

Loyal Member
Loyal Member
Feb 5, 2015
409
0
44
Burj-Village
Dont no how yo put in code thing lol

---------- Post Merged at 05:58 PM ---------- Previous Post was at 05:54 PM ----------

Cant find exp thing
 
Upvote 0

Ardbeg

Legend
Legendary
Aug 8, 2004
3,211
1
144
260
Southern England
This is one entry I found.
changeexp - Usage: - CHANGEEXP - 50 - what it does: - makes you lose 50 exp, options: =, +, -


Use [ then CODE then ]
Your code
then [ / then CODE then ]
 
Upvote 0

WargodSius

Dedicated Member
Dedicated Member
Aug 5, 2013
2,380
33
110
I think he means he wants the nlc to work where it gives x2 pets? The script doesnt have anything about exp in it.
 
Upvote 0

killerboy123

Loyal Member
Loyal Member
Feb 5, 2015
409
0
44
Burj-Village
For 1 hr

---------- Post Merged at 06:23 PM ---------- Previous Post was at 06:22 PM ----------

Nope im making a npc wich gives x2 exp for 1hr each day and i need help

---------- Post Merged at 06:41 PM ---------- Previous Post was at 06:23 PM ----------

that code aint working have a look
 
Upvote 0

WargodSius

Dedicated Member
Dedicated Member
Aug 5, 2013
2,380
33
110
As i said in the other thread, i was doing it but have deleted it based on your attitude.

Wish you luck with it. There are enough resources around.
 
Upvote 0

Ardbeg

Legend
Legendary
Aug 8, 2004
3,211
1
144
260
Southern England
My knowledge of Heroes scripts is limited I'm afraid.
I've also seen AdjustExp but how you use it I don't know.
I've looked though many server files but can't find an example.
 
Upvote 0

BurningTao

Dedicated Member
Dedicated Member
Oct 17, 2008
51
1
34
How do i make it so i can make a npc wich gives x2
If you mean x2 exp the code would be like this...

Code:
[@Main]
#SAY
Hello there <$USERNAME> would you like double exp for\
half an hour?\ \

<Yes please/@yes>\
<No thanks./@exit>

[@Yes]
 #ACT
KILLMONEXPRATE 200 1800
SENDMSG 6 "Your exp rate has been increased by x2 for 30 mins."
 
Upvote 0

BurningTao

Dedicated Member
Dedicated Member
Oct 17, 2008
51
1
34
Messy but oh well, suppose it'll do the job... Would've taken 5 mins to lob this together if you looked at the link Ardbeg gave you.
Code:
[@Main]
#SAY
Hello there <$USERNAME> would you like double exp for\
half an hour a day?\ \


<Yes please/@yes>\
<No thanks./@exit>




[@Yes]
#IF
DAYOFWEEK MON
#ACT
reset [101] 7 
GOTO @Mon
#ELSEACT
GOTO @Check1


[@Mon]
#IF
CHECK [101] 0
#ACT
SET [101] 1
KILLMONEXPRATE 200 1800
SENDMSG 6 "Your exp rate has been increased by x2 for 30 mins."
#ELSEACT
GOTO @Error


[@Check1]
#IF
DAYOFWEEK TUE
#ACT 
GOTO @Tue
#ELSEACT
goto @Check2


[@Tue]
#IF
CHECK [102] 0
#ACT
SET [102] 1
KILLMONEXPRATE 200 1800
SENDMSG 6 "Your exp rate has been increased by x2 for 30 mins."
#ELSEACT
GOTO @Error




[@Check2]
#IF
DAYOFWEEK WED
#ACT
GOTO @Wed
#ELSEACT
goto @Check3


[@Wed]
#IF
CHECK [103] 0
#ACT
SET [103] 1
KILLMONEXPRATE 200 1800
SENDMSG 6 "Your exp rate has been increased by x2 for 30 mins."
#ELSEACT
GOTO @Error


[@Check3]
#IF
DAYOFWEEK THU
#ACT 
GOTO @THU
#ELSEACT
goto @Check4


[@THU]
#IF
CHECK [104] 0
#ACT
SET [104] 1
KILLMONEXPRATE 200 1800
SENDMSG 6 "Your exp rate has been increased by x2 for 30 mins."
#ELSEACT
GOTO @Error


[@Check4]
#IF
DAYOFWEEK FRI
#ACT 
GOTO @FRI
#ELSEACT
goto @Check5


[@FRI]
#IF
CHECK [105] 0
#ACT
SET [105] 1
KILLMONEXPRATE 200 1800
SENDMSG 6 "Your exp rate has been increased by x2 for 30 mins."
#ELSEACT
GOTO @Error


[@Check5]
#IF
DAYOFWEEK SAT
#ACT 
GOTO @SAT
#ELSEACT
goto @Check6


[@SAT]
#IF
CHECK [106] 0
#ACT
SET [106] 1
KILLMONEXPRATE 200 1800
SENDMSG 6 "Your exp rate has been increased by x2 for 30 mins."
#ELSEACT
GOTO @Error


[@Check6]
#IF
DAYOFWEEK SUN
#ACT 
GOTO @SUN


[@SUN]
#IF
CHECK [107] 0
#ACT
SET [107] 1
KILLMONEXPRATE 200 1800
SENDMSG 6 "Your exp rate has been increased by x2 for 30 mins."
#ELSEACT
GOTO @Error




[@Error]
#SAY
You have had your experience today\
<$USERNAME>!!!\ \
 
Upvote 0