What The ****** I Am Doing Wrong?

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
[@main]
Hello i am a SpeicalTeleport this are\
the SpecialMaps where can i teleport you :
MAP: [<HeroMap/@hero>]

[@hero]
At this Special map you will must be neccesarly\
1WIZZ 1TAO and 1WART, also the wizz will need\
a GoldMedal , war a IronMedal & Tao a SilverMedal\ \
<OK/@ok>

[@ok]
#IF
CHECKGROUPLEADER
#ACT
goto @groupowner
break
#ELSESAY
Sorry but you have to be a group leader!\ \
<Okay/@exit>

[@groupowner]
#IF
CHECKGROUPCLASS Warrior = 1
CHECKGROUPCLASS Taoist = 1
CHECKGROUPCLASS Wizard = 1
checkitem GoldMedal
#SAY
Well now you have all the Medals you may enter.\ \
<Ok let me in/@next4>

#ELSESAY
Sorry but you dont have all the required members\
or Medals to enter! Come back when you do.\ \
<Okay,I will/@exit>

[@next4]
#IF
checkitem GoldMedal
checkitem IronMedal
checkitem SilverMedal
#ACT
GROUPMOVEMAP f010 32 161
close

#ELSEACT
break

whzt i am doing wrong because this npc **** dont check if he haves GoldMedal or not ,the npc teleport players without check if the group plader haves GoldMedal , i am very very angryy because i worked alot at that special map and now that **** npc dont works !!!
 

Nightrider

~{GoD}~
VIP
Feb 21, 2004
1,122
19
265
Southampton,Uk
not really done much Npc work, usually do DB's myself but i'm not sure but this might be the problem.

[@next4]
#IF
checkitem GoldMedal
checkitem IronMedal
checkitem SilverMedal
#ACT
GROUPMOVEMAP f010 32 161
close

i think your going to have to do it like

[@next4]
#IF
CHECKCLASS Wizard
CHECKITEM GoldMedal 1
#act
goto @next5
#elsesay
You don't have the gold medal wizard\
please aquire it\
<Ok i will/@exit>

[@next5]
#IF
CHECKCLASS Warrior
CHECKITEM CopperMedal 1
#act
goto @next6
#elsesay
You don't have the Copper medal Warrior\
please aquire it\
<Ok i will/@exit>

[@next6]
#IF
CHECKCLASS Taoist
CHECKITEM Silver Medal 1
#act
goto @Final
#elsesay
You don't have the Silver medal Taoist\
please aquire it\
<Ok i will/@exit>

[@Final]
#say
Get ready to enter the special map\
#ACT
GROUPMOVEMAP f010 32 161
close


this is just because in yours you've got it to check all the medals at once, you need to do it via class i belive


might help i'm not sure
-Dan
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
[@main]
Hello i am a SpeicalTeleport this are\
the SpecialMaps where can i teleport you :
MAP: [<HeroMap/@hero>]

[@hero]
At this Special map you will must be neccesarly\
1WIZZ 1TAO and 1WART, also the wizz will need\
a GoldMedal , war a IronMedal & Tao a SilverMedal\ \
<OK/@ok>

[@ok]
#IF
CHECKGROUPLEADER
#ACT
goto @groupowner
break
#ELSESAY
Sorry but you have to be a group leader!\ \
<Okay/@exit>

[@groupowner]
#IF
CHECKGROUPCLASS Warrior = 1
CHECKGROUPCLASS Taoist = 1
CHECKGROUPCLASS Wizard = 1
checkitem GoldMedal 1
checkitem IronMedal 1
checkitem SilverMedal 1
#SAY
Well now you have all the Medals you may enter.\ \
<Ok let me in/@next4>

#ELSESAY
Sorry but you dont have all the required members\
or Medals to enter! Come back when you do.\ \
<Okay,I will/@exit>

[@next4]
#IF
checkitem GoldMedal 1
checkitem IronMedal 1
checkitem SilverMedal 1
#ACT
take GoldMedal 1
take IronMedal 1
take SilverMedal 1
GROUPMOVEMAP f010 32 161
close

#ELSEACT
You dont have the correct medals, sorry. u must bring me these\
GoldMedal x1\
IronMedal x1 \
SilverMedal x1\ \

<Exit/@exit>

try that .
 
Upvote 0

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
and night rider i changed now so :

[@hero]
#IF
CHECKITEM GoldMedal
checkgold 500000
checklevel 43
#ACT
Take Gold 500000
mapmove f010 32 161
Give item Townteleport
Break


( need just 1 player ) but still dont work :((
 
Upvote 0

Nightrider

~{GoD}~
VIP
Feb 21, 2004
1,122
19
265
Southampton,Uk
hmmm maybe i should start working on a server again, when i get home tomoz (because i'm off out tonight) when i get in from work i'll set up my server and try get the script working. i'll have ago quick and try make you a npc that will only teleport one person in but dunno if it will work :P
-Dan
 
Upvote 0

Nightrider

~{GoD}~
VIP
Feb 21, 2004
1,122
19
265
Southampton,Uk
[@main]
Hello, Welcome to the special Teleporter Npc\
So your looking to go to a special map?\
Ok this is what you do\\
<lets begin/@begin>

[@begin]
Ok to enter this map first you need\
to be level 43, have 500,000 cash\
and have a gold medal\\
<carry on/@start>

[@start]
#IF
CHECKITEM GoldMedal 1
checkgold 500000
checklevel 43
#ACT
Take Gold 500000
mapmove f010 32 161
Give Townteleport
Break

#ELSESAY
Sorry Friend, your either not level 43\
don't have 500,000 cash or the gold medal\
Aquire thease items, or gain the level\
then come back\\
<Exit/@exit>
 
Last edited:
Upvote 0

neo1uk

Dedicated Member
Dedicated Member
Feb 12, 2007
95
0
32
you made an error at the bottom its not #ELSEACT its meant to be #ELSESAY
And theres no need for the give item townteleport
all you need is give townteleport

just thought i would point that out

[@main]
Hello, Welcome to the special Teleporter Npc\
So your looking to go to a special map?\
Ok this is what you do\\
<lets begin/@begin>

[@begin]
Ok to enter this map first you need\
to be level 43, have 500,000 cash\
and have a gold medal\\
<carry on/@start>

[@start]
#IF
CHECKITEM GoldMedal 1
checkgold 500000
checklevel 43
#ACT
Take Gold 500000
mapmove f010 32 161
Give item Townteleport
Break

#ELSEACT
Sorry Friend, your either not level 43\
don't have 500,000 cash or the gold medal\
Aquire thease items, or gain the level\
then come back\\
<Exit/@exit>
 
Last edited:
Upvote 0