This rite to a content

Play Now

twigletuk

Golden Oldie
Golden Oldie
Oct 17, 2005
589
8
155
Crewe Cheshire
this is in my qfunction

[@key7]
#IF
CHECK [200] 1
#ACT
TEMPPOWERUP DC 100 300
SENDMSG 6 "DC increased by 100 for 5 mins"
break
#IF
CHECK [201] 1
#ACT
TEMPPOWERUP HP 75 300
TEMPPOWERUP MP 75 300
TEMPPOWERUP AC 25 300
TEMPPOWERUP AMC 25 300
SENDMSG 6 "Health Mana Ac and Amc increaced for 5 mins"
break
[@key7]
#IF
CHECK [203] 1
#ACT
TEMPPOWERUP MC 65 300
SENDMSG 6 "MC increased by 65 for 5 mins"
break
#IF
CHECK [204] 1
#ACT
TEMPPOWERUP HP 300 300
TEMPPOWERUP MP 200 300
TEMPPOWERUP AC 25
SENDMSG 6 "Health Mana and ac increaced by for 5 mins"
break
[@key7]
#IF
CHECK [205] 1
#ACT
TEMPPOWERUP SC 65 300
SENDMSG 6 "SC increased by 65 for 5 mins"
break
#IF
CHECK [206] 1
#ACT
TEMPPOWERUP HP 150 300
TEMPPOWERUP MP 150 300
TEMPPOWERUP DC 65 300
SENDMSG 6 "Health Mana and dc increaced by 150 for 5 mins"
break


and this is the npc

[@main]
#IF
CHECKLEVEL 45
#SAY
hello there, do you want to pick a SubClass <$USERNAME> ?\
<Yes./@1>\<No/@exit>
#ELSESAY
You Are not level 45 <$USERNAME!\ \
[@1]
What is you class <$USERNAME>?\
<Warrior/@Warr>\<Wizard/@wizz>\<Tao/@Tao>
[@warr]
#IF
CHECKJOB Warrior
CHECK [200] 0
CHECK [200] 0
#SAY
Choose your subclass <$USERNAME>\
<Knight/@knight>
<Assassin/@assassin>
#ELSEACT
goto @error
[@wizz]
#IF
CHECKJOB Wizard
CHECK [203] 0
CHECK [203] 0
#SAY
Choose your subclass <$USERNAME>\
<Sorcerer/@sorcerer>
<Mage/@mage>
#ELSEACT
goto @error
[@tao]
#IF
CHECKJOB Taoist
CHECK [205] 0
CHECK [205] 0
#SAY
Choose your subclass <$USERNAME>\
<Priest/@priest>
<Paladin/@paladin>
#ELSEACT
goto @error
[@no]
You are Level 45 or you have chosen already
[@knight]
#IF
CHECK [200] 0
CHECK [200] 0
#ACT
SET [200] 1
SENDMSG noidea "<$USERNAME> has Chosen Knight as their Subclass, Congrats."
#ELSEACT
goto @no
[@assassin]
#IF
CHECK [201] 0
CHECK [201] 0
#ACT
SET [201] 1
SENDMSG noidea "<$USERNAME> has Chosen Assassin as their Subclass, Congrats."
#ELSEACT
goto @no
[@sorcerer]
#IF
CHECK [203] 0
CHECK [203] 0
#ACT
SET [203] 1
SENDMSG noidea "<$USERNAME> has Chosen Sorcerer as their Subclass, Congrats."
#ELSEACT
goto @no
[@mage]
#IF
CHECK [204] 0
CHECK [204] 0
#ACT
SET [204] 1
SENDMSG noidea "<$USERNAME> has Chosen Mage as their Subclass, Congrats."
#ELSEACT
goto @no
[priest]
#IF
CHECK [205] 0
CHECK [205] 0
#ACT
SET [205] 1
SENDMSG noidea "<$USERNAME> has Chosen Priest as their Subclass, Congrats."
#ELSEACT
goto @no
[@paladin]
#IF
CHECK [206] 0
CHECK [206] 0
#ACT
SET [206] 1
SENDMSG noidea "<$USERNAME> has Chosen Paladin as their Subclass, Congrats."
#ELSEACT
goto @no
[@error]
you are the wrong class <$USERNAME> \


1st time i tryd t do it it works to a content and fuks up t lol
wont it so u get titles t. when i pick etc assassin after i done it can pick knight t lol

can any 1 correct this 4 me plz :)


/Clipper
 

lordatrox

Dedicated Member
Dedicated Member
Aug 28, 2008
164
0
42
[@key7]
#IF
CHECK [200] 1
#ACT
TEMPPOWERUP DC 100 300
SENDMSG 6 "DC increased by 100 for 5 mins"
break
#IF
CHECK [201] 1
#ACT
TEMPPOWERUP HP 75 300
TEMPPOWERUP MP 75 300
TEMPPOWERUP AC 25 300
TEMPPOWERUP AMC 25 300
SENDMSG 6 "Health Mana Ac and Amc increaced for 5 mins"
break
[@key7]
#IF
CHECK [203] 1
#ACT
TEMPPOWERUP MC 65 300
SENDMSG 6 "MC increased by 65 for 5 mins"
break
#IF
CHECK [204] 1
#ACT
TEMPPOWERUP HP 300 300
TEMPPOWERUP MP 200 300
TEMPPOWERUP AC 25
SENDMSG 6 "Health Mana and ac increaced by for 5 mins"
break
[@key7]
#IF
CHECK [205] 1
#ACT
TEMPPOWERUP SC 65 300
SENDMSG 6 "SC increased by 65 for 5 mins"
break
#IF
CHECK [206] 1
#ACT
TEMPPOWERUP HP 150 300
TEMPPOWERUP MP 150 300
TEMPPOWERUP DC 65 300
SENDMSG 6 "Health Mana and dc increaced by 150 for 5 mins"
break



[@main]
#IF
CHECKLEVEL 45
#SAY
hello there, do you want to pick a SubClass <$USERNAME> ?\
<Yes./@1>\<No/@exit>
#ELSESAY
You Are not level 45 <$USERNAME!\ \
[@1]
What is you class <$USERNAME>?\
<Warrior/@Warr>\<Wizard/@wizz>\<Tao/@Tao>
[@warr]
#IF
CHECKJOB Warrior
CHECK [200] 0
CHECK [200] 0
#SAY
Choose your subclass <$USERNAME>\
<Knight/@knight>
<Assassin/@assassin>
#ELSEACT
goto @error
[@wizz]
#IF
CHECKJOB Wizard
CHECK [203] 0
CHECK [203] 0
#SAY
Choose your subclass <$USERNAME>\
<Sorcerer/@sorcerer>
<Mage/@mage>
#ELSEACT
goto @error
[@tao]
#IF
CHECKJOB Taoist
CHECK [205] 0
CHECK [205] 0
#SAY
Choose your subclass <$USERNAME>\
<Priest/@priest>
<Paladin/@paladin>
#ELSEACT
goto @error
[@no]
You are Level 45 or you have chosen already
[@knight]
#IF
CHECK [200] 0
CHECK [200] 0
#ACT
SET [200] 1
SENDMSG noidea "<$USERNAME> has Chosen Knight as their Subclass, Congrats."
#ELSEACT
goto @no
[@assassin]
#IF
CHECK [201] 0
CHECK [201] 0
#ACT
SET [201] 1
SENDMSG noidea "<$USERNAME> has Chosen Assassin as their Subclass, Congrats."
#ELSEACT
goto @no
[@sorcerer]
#IF
CHECK [203] 0
CHECK [203] 0
#ACT
SET [203] 1
SENDMSG noidea "<$USERNAME> has Chosen Sorcerer as their Subclass, Congrats."
#ELSEACT
goto @no
[@mage]
#IF
CHECK [204] 0
CHECK [204] 0
#ACT
SET [204] 1
SENDMSG noidea "<$USERNAME> has Chosen Mage as their Subclass, Congrats."
#ELSEACT
goto @no
[priest]
#IF
CHECK [205] 0
CHECK [205] 0
#ACT
SET [205] 1
SENDMSG noidea "<$USERNAME> has Chosen Priest as their Subclass, Congrats."
#ELSEACT
goto @no
[@paladin]
#IF
CHECK [206] 0
CHECK [206] 0
#ACT
SET [206] 1
SENDMSG noidea "<$USERNAME> has Chosen Paladin as their Subclass, Congrats."
#ELSEACT
goto @no
[@error]
you are the wrong class <$USERNAME> \



try removin the red lines
 
Upvote 0

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
105
[@key7]
#IF
CHECK [200] 1
#ACT
TEMPPOWERUP DC 100 300
SENDMSG 6 "DC increased by 100 for 5 mins"
break
#ELSEACT
goto #check1
[@check1]
#IF
CHECK [201] 1
#ACT
TEMPPOWERUP HP 75 300
TEMPPOWERUP MP 75 300
TEMPPOWERUP AC 25 300
TEMPPOWERUP AMC 25 300
SENDMSG 6 "Health Mana Ac and Amc increaced for 5 mins"
break
#ELSEACT
goto @check2
[@check2]
#IF
CHECK [203] 1
#ACT
TEMPPOWERUP MC 65 300
SENDMSG 6 "MC increased by 65 for 5 mins"
break
#ELSEACT
goto @check3
[@check3]
#IF
CHECK [204] 1
#ACT
TEMPPOWERUP HP 300 300
TEMPPOWERUP MP 200 300
TEMPPOWERUP AC 25
SENDMSG 6 "Health Mana and ac increaced by for 5 mins"
break
#ELSEACT
goto @check4
[@check4]
#IF
CHECK [205] 1
#ACT
TEMPPOWERUP SC 65 300
SENDMSG 6 "SC increased by 65 for 5 mins"
break
#ELSEACT
goto @check5
[@check5]
#IF
CHECK [206] 1
#ACT
TEMPPOWERUP HP 150 300
TEMPPOWERUP MP 150 300
TEMPPOWERUP DC 65 300
SENDMSG 6 "Health Mana and dc increaced by 150 for 5 mins"
break
#ELSEACT
break

===========================================================

[@main]
#IF
CHECKLEVEL 45
#SAY
Hello there, do you want to pick a SubClass <$USERNAME> ?\
<Yes./@1>\<No/@exit>
#ELSESAY
You Are not level 45 <$USERNAME>!\ \
<Close/@exit>
[@1]
What is your class <$USERNAME>?\
<Warrior/@Warr>\<Wizard/@wizz>\<Tao/@Tao>
[@warr]
#IF
CHECKJOB Warrior
CHECK [200] 0
CHECK [201] 0
#ACT
goto @war1
#ELSEACT
goto @error
[@war1]
Choose your subclass <$USERNAME>\
<Knight/@knight>\
<Assassin/@assassin>\
<Close/@exit>
[@wizz]
#IF
CHECKJOB Wizard
CHECK [203] 0
CHECK [204] 0
#ACT
goto @wiz1
#ELSEACT
goto @error
[@wiz1]
Choose your subclass <$USERNAME>\
<Sorcerer/@sorcerer>\
<Mage/@mage>\
<Close/@exit>
[@tao]
#IF
CHECKJOB Taoist
CHECK [205] 0
CHECK [206] 0
#ACT
goto @tao1
#ELSEACT
goto @error
[@tao1]
Choose your subclass <$USERNAME>\
<Priest/@priest>\
<Paladin/@paladin>\
<Close/@exit>
[@error]
You already have chosen a subclass or you chose\
the wrong class.\
<Close/@exit>
[@knight]
#ACT
SET [200] 1
SETRANKLEVELNAME %s\*<Knight>*
SENDMSG 1 "%s has Chosen Knight as their Subclass, Congrats."
break
[@assassin]
#ACT
SET [201] 1
SETRANKLEVELNAME %s\*<Assassin>*
SENDMSG 1 "%s has Chosen Assassin as their Subclass, Congrats."
Break
[@sorcerer]
#ACT
SET [203] 1
SETRANKLEVELNAME %s\*<Sorcerer>*
SENDMSG 1 "%s has Chosen Sorcerer as their Subclass, Congrats."
break
[@mage]
#ACT
SET [204] 1
SETRANKLEVELNAME %s\*<Mage>*
SENDMSG 1 "%s has Chosen Mage as their Subclass, Congrats."
break
[@priest]
#ACT
SET [205] 1
SETRANKLEVELNAME %s\*<Priest>*
SENDMSG 1 "%s has Chosen Priest as their Subclass, Congrats."
break
[@paladin]
#ACT
SET [206] 1
SETRANKLEVELNAME %s\*<Paladin>*
SENDMSG 1 "%s has Chosen Paladin as their Subclass, Congrats."
break


You will also want to add the following to QManage for when they log in to
get their ranks back. (remeber everything goes under ONE [@LOGIN]!!
So if you have other things under [@login], just add them without what?
without another [@login]. =p

QMANAGE
[@LOGIN]
#IF
CHECK [200] 1
#ACT
SETRANKLEVELNAME %s\*<Knight>*
#IF
CHECK [201] 1
#ACT
SETRANKLEVELNAME %s\*<Assassin>*
#IF
CHECK [203] 1
#ACT
SETRANKLEVELNAME %s\*<Sorcerer>*
#IF
CHECK [204] 1
#ACT
SETRANKLEVELNAME %s\*<Mage>*
#IF
CHECK [205] 1
#ACT
SETRANKLEVELNAME %s\*<Priest>*
#IF
CHECK [206] 1
#ACT
SETRANKLEVELNAME %s\*<Paladin>*
break<----only use this if its the very last entry under [@login]
 
Last edited:
Upvote 0

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
105
oh btw, temppowerup ac, amc aren't valid commands. (don't work)
and it all works cept the ac,amc bits cause I tested it.

What doesn't work for you exactly?
 
Upvote 0