npc help, where have i gone wrong?

Desolation Mir2 (Med Rate Server)

koni

V.I.P
VIP
Mar 14, 2006
1,111
1
165
Southampton UK
ok,

iam trying to make a rank change npc, i know how to sort the bit out where u log in and the title is changed, but for some reason the npc wont let me get as far as setting the actual flag, and ive tried all sorts of stuff and iam just out of ideas now, can someone have a looky and see if they can help

npc script is here

http://www.upload.mirheros.com/file/15/Herc.txt

thanks in advance
 
Last edited:

koni

V.I.P
VIP
Mar 14, 2006
1,111
1
165
Southampton UK
not sure about script but doesnt the script work for this go in Qmanage or QFunction?

yeh the flags are linked in the qmanage, but i know how to do that bit

basicly whats happening when i click the title i want, insted of setting the flag, it pushes me onto the to low level bit and doesnt actually set the flag or take the potion from my bag, so there is something wrong with the way i have scripted it but god knows what lol
 
Upvote 0

MentaL

Jev For Admín!
VIP
Mar 3, 2004
3,845
553
385
Cardiff
use namelists ^__^.

PS.. reason why ur think is bolloxed is because on rank upgrade the old flag is still in place.. you got

300
301
302

it should be

302
301
300

OR at least reset the previous flags and thus it would work..
 
Upvote 0

jasper

Golden Oldie
Golden Oldie
Sep 10, 2005
890
3
105
maybe late and uve already sorted it but shouldnt the checklevel be
#IF
Checklevel >125
#ACT
goto @main-1
#ELSEACT
goto @nh
 
Upvote 0

Playboy

LOMCN Veteran
Veteran
Loyal Member
Jun 20, 2006
1,054
0
123
Grantham / Lincolnshire
Re: npc help, where have i gone wrong*

maybe late and uve already sorted it but shouldnt the checklevel be
#IF
Checklevel >125
#ACT
goto @main-1
#ELSEACT
goto @nh


I am rite you have the checklevel wrong.

It how ever should be like this

Code:
[@MAIN]
#IF
checklevel 125
#ACT
[EMAIL="goto@main-1"]goto@main-1[/EMAIL]
goto @nh
 
[@main-1]
Hello <$USERNAME> my name is Herc i hold the powers 
to change your rank , But to be able to do this for you i ask\
that your level is 125+ and you have the rankpotion that\
i need, as without it i cannot do the magic required to change\
your title\
<I have the potion/@ct1>\
<where can i get the potion/@where>\\

[@where]
ok <$USERNAME> so you want to know where to find my\ 
secret potion* , well it lies in the clutches of the\
wolf lord, who is in wolfvalley , on prajna island\
go and look at the caves my friend you may find the evil wolf lord\
<ok ile get your potion/@exit> <na iam to lazy to look/@exit>\\

[@ct1]
here is where you pick your rank ,once you click one\
your title will be , changed instantly, so choose carefully\
as no refund of the potion will be given , if you choose foolishly\
<ok let me see the titles/@ct2>\\

[@ct2]
#SAY
<Guardian/@g> <Wonderer/@w> [EMAIL="Healer/@h"]Healer/@h[/EMAIL]> ,<[EMAIL="Assasin/@a"]Assasin/@a[/EMAIL]> <Paladin/@p> <Knight/@k>\
<Mage/@m> <StormMaster/@sm> [EMAIL="Master/@ma"]Master/@ma[/EMAIL]> <Slave/@sl> <BoneCrusher/@bc> <Gladiator/@gl>\
<DayWalker/@dw> <WildOne/@wo> <ImperialGuard/@ig>\
there is more titles coming soon.\
<ok ile wait/@exit>\\

[@g]
#IF
Check [300] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [300] 1
#ELSEACT
goto @nopo

[@w]
#IF
Check [301] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [301] 1
goto @rc
#ELSEACT
goto @nopo
break

[@h]
#IF
Check [302] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [302] 1
goto @rc
#ELSEACT
goto @nopo
break

[@a]
#IF
Check [303] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [303] 1
goto @rc
#ELSEACT
goto @nopo
break

[@p]
#IF
Check [304] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [304] 1
goto @rc
#ELSEACT
goto @nopo
break

[@k]
#IF
Check [305] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [305] 1
goto @rc
#ELSEACT
goto @nopo
break

[@m]
#IF
Check [306] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [306] 1
goto @rc
#ELSEACT
goto @nopo
break

[@sm]
#IF
Check [307] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [307] 1
goto @rc
#ELSEACT
goto @nopo
break

[@ma]
#IF
Check [308] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [308] 1
goto @rc
#ELSEACT
goto @nopo
break

[@sl]
#IF
Check [309] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [309] 1
goto @rc
#ELSEACT
goto @nopo
break

[@bc]
#IF
Check [310] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [310] 1
goto @rc
#ELSEACT
goto @nopo
break

[@gl]
#IF
Check [311] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [311] 1
goto @rc
#ELSEACT
goto @nopo
break

[@dw]
#IF
Check [312] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [312] 1
goto @rc
#ELSEACT
goto @nopo
break

[@wo]
#IF
Check [313] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [313] 1
goto @rc
#ELSEACT
goto @nopo
break

[@ig]
#IF
Check [314] 0
Check RankPotion 1
#ACT
Take RankPotion 1
SET [314] 1
goto @rc
#ELSEACT
goto @nopo
break

[@rc]
Your rank has been changed\
Log out and back in again for changes\
to take effect\
<ok thanks/@exit>\\

[@nh]
#SAY
Sorry <$USERNAME> you need to be lvl 125+\
<ok/@exit>\\

[@nopo]
You Have Already Had That title or\
You do not have my potion go and get it\\
<ok/@exit>
 
Upvote 0