Script not working

Mu online season 21 - grand opening

forspinki

Legend
Legendary
Oct 23, 2006
3,431
115
190
Handan, China
when u click Yes at the start nothing happens


[@main]
#SAY
Ok do you want to do a quest?\
<Yes!/@Start1>--<No/@exit>\

[@Start1]
#IF
checkjob Warrior
#ACT
goto @Quest
#ELSEACT
goto @Start2

[@Start2]
#IF
checkjob Wizard
#ACT
goto @Quest1
#ELSEACT
goto @Start3

[@Start3]
#IF
checkjob Taoist
#ACT
goto @Quest2
#ELSEACT
goto @Start1

;========================================WARRIOR========================================;

[@Quest]
#IF
check [101] 1
#ACT
goto @beginpara4
#ELSEACT
goto @main3

[@main1]
#IF
check [101] 0
#ACT
goto @beginpara1

[@main3]
#IF
check [101] 1
#ACT
goto @beginpara4

[@beginpara1]
\ \
Hey <$USERNAME>,\
I have some quests where you can gain some rewards.\
You want to attempt these quests?\ \
First i need for you to kill Warrior, until you\
get a popup message - then return to me.\ \
<Okay, i shall go do that./@exit>\

[@beginpara2]
\ \
Congratulations on completing the Starter quest.\
If you want to begin a new set of quests simply collect your\
prize and continue on...\ \
<Collect prize.../@collect>\

;======================================WIZARD===========================================;

[@Quest3]
#IF
check [102] 1
#ACT
goto @beginpara41
#ELSEACT
goto @main33

[@main11]
#IF
check [102] 0
#ACT
goto @beginpara11

[@main33]
#IF
check [102] 1
#ACT
goto @beginpara41

[@beginpara11]
\ \
Hey <$USERNAME>,\
I have some quests where you can gain some rewards.\
You want to attempt these quests?\ \
First i need for you to kill Wizard, until you\
get a popup message - then return to me.\ \
<Okay, i shall go do that./@exit>\

[@beginpara41]
\ \
Congratulations on completing the Starter quest.\
If you want to begin a new set of quests simply collect your\
prize and continue on...\ \
<Collect prize.../@collect1>\

;===========================================TAOIST======================================;

[@Quest2]
#IF
check [103] 1
#ACT
goto @beginpara42
#ELSEACT
goto @main2

[@main2]
#IF
check [102] 0
#ACT
goto @beginpara12

[@main3]
#IF
check [102] 1
#ACT
goto @beginpara42

[@beginpara12]
\ \
Hey <$USERNAME>,\
I have some quests where you can gain some rewards.\
You want to attempt these quests?\ \
First i need for you to kill Taoist, until you\
get a popup message - then return to me.\ \
<Okay, i shall go do that./@exit>\

[@beginpara42]
\ \
Congratulations on completing the Starter quest.\
If you want to begin a new set of quests simply collect your\
prize and continue on...\ \
<Collect prize.../@collect2>\

;=======================================COLLECTION======================================;

[@collect]
#IF
check [101] 1
#ACT
GAMEPOINT + 100
set [104] 1
SENDMSG 5 "You were rewarded for your Starter quest completion."
break

[@collect1]
#IF
check [102] 1
#ACT
GAMEPOINT + 100
set [104] 1
SENDMSG 5 "You were rewarded for your Starter quest completion."
break

[@collect2]
#IF
check [103] 1
#ACT
GAMEPOINT + 100
set [104] 1
SENDMSG 5 "You were rewarded for your Starter quest completion."
break
 

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
The NPC seems pretty much fine, But if i was you i would take out the

Warrior ====
Wizard ====
Taoist ====
Collection ====

Also, When u use SET and CHECK

dont you need to put in a CHECKNAMELIST txt inside ur Npc_Def?
 
Upvote 0

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
The NPC seems pretty much fine, But if i was you i would take out the

Warrior ====
Wizard ====
Taoist ====
Collection ====

Those bits are fine and are actually quite useful as it makes it easier to understand.

Just by taking a quick look at it, it seems that some of your GOTO statements are pointing at things that don't exist. Double check that there actually being directed to the right places.

p
 
Upvote 0

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,357
55
335
England
Yea, I gave him a script where i'd used them (His sub-class), makes things much easier. Especially with things like that.

By the way Jack that script works fine on my server;

6820Images04.JPG
 
Last edited:
Upvote 0

Doddsy

LOMCN Veteran
Veteran
Loyal Member
Aug 2, 2005
456
2
45
Hartlepool
iv had same prob with 1 off mine and ppl have looke @ it and said its ok but wont do owt whn u click it and that is using checkjob. Might just try change it to check namelists
 
Upvote 0