Script-{Z}

Mu online season 21 - grand opening

twigletuk

Golden Oldie
Golden Oldie
Oct 17, 2005
589
8
155
Crewe Cheshire
I'll add my script problams in these post's.

[@Main]
Hello young hero, i have a\
Challenge fo r you do you\
Accept this challenge?\
<Yes/@Yes>\
<Nah/@Exit>\

[@Yes]
All i need you to do is\
collect me 50 Bug shells\
And slay the AncientBugKing\
for his heart!\
<Accept/@yes1>\
<Don't have/@Exit>\


[@Yes1]
#IF
CHECKITEM BugShell 50
CHECKITEM AncientHeart
#ACT
TAKE BugShell 50
TAKE AncientHeart
GIVE BugRing
#SAY
Kit is in inventory.\
#ELSESAY
-You have all ready got it.\
-You havent got my items.\

Exmaple:I want this npc to let thm get 1 Ring.
The players can do the quest more than once.
How do i stop this?
Any ideas?

Thnx.

\DarkLord
 
Last edited:

Lucafer

LOMCN Veteran
Veteran
May 15, 2008
419
1
45
Newbury,Berks
I'll add my script problams in these post's.

[@Main]
#IF
check [101] 0
#act
goto @main-1
#elseact
goto @sorry


[@sorry]
You have completed this quest.!
<exit/@exit>\

[@main-1]

Hello young hero, i have a\
Challenge fo r you do you\
Accept this challenge?\
<Yes/@Yes>\
<Nah/@Exit>\

[@Yes]
All i need you to do is\
collect me 50 Bug shells\
And slay the AncientBugKing\
for his heart!\
<Accept/@yes1>\
<Don't have/@Exit>\


[@Yes1]
#IF
CHECKITEM BugShell 50
CHECKITEM AncientHeart
#ACT
TAKE BugShell 50
TAKE AncientHeart
GIVE BugRing 1
SET [101] 1
#SAY
Kit is in inventory.\
#ELSESAY
-You have all ready got it.\
-You havent got my items.\

Exmaple:I want this npc to let thm get 1 Ring.
The players can do the quest more than once.
How do i stop this?
Any ideas?

Thnx.

\DarkLord

made changes in red hope this helps
 
Upvote 0

Ardbeg

Legend
Legendary
Aug 8, 2004
3,225
2
150
290
Southern England
Same actual script but with typos and grammar sorted.


[@sorry]
You have completed this quest!
<exit/@exit>\


[@main-1]
Hello young hero, I have a\
challenge for you. Do you\
accept this challenge?\
<Yes/@Yes>\
<Nah/@Exit>\

[@Yes]
All I need you to do is\
collect 50 Bug shells for me\
and slay the AncientBugKing\
for his heart!\
<Accept/@yes1>\
<Don't have/@Exit>\
 
Upvote 0

twigletuk

Golden Oldie
Golden Oldie
Oct 17, 2005
589
8
155
Crewe Cheshire
I have a problam.. It doesnt Take my items..
+
How do i make it go onto nxt quest?

[@Main]
#IF
check [145] 0
#ACT
goto @Main-1
#elseact
goto @sorry

[@sorry]
You have completed this quest.!
<exit/@exit>\

[@main-1]
Would you like to start the 1st quest?\
<More infomation/@Info>\
<Ye Sure/@Sure>\
<Nah thanx/@Exit>\

[@Info]
Every quest you do you gain.\
Either an Exp pot, Exp Token\
or Cash.Further you get better\
the tokens you get or pot's, Gold\
(The quests in the caves give's\
Items Don't miss them)\

[@Sure]
<~Quest 1~>\
Collect me, 1 BugScroll10 & 5 Bug Shells\
3 KnightScroll10 and WoomaHorn.\
<Done/@yes1>\
<ahhh/@Exit>\

[@yes1]
#IF
CHECKITEM BugScoll10 1
CHECKITEM BugShell 5
CHECKITEM KnightScroll10 3
CHECKITEM WoomaHorn 1
#ACT
TAKE BugScroll10
TAKE BugShell 5
TAKE KnightScroll10 3
TAKE WoomaHorn
GIVE GoldBar 2
GIVE ExpPot{S}
SET [145] 1
#SAY
Kit is in inventory.\
#ELSESAY
-You have all ready done this.\
-You havent got my items.\

Any ideas?

Thnx.

\DarkLord
 
Last edited:
Upvote 0