[@LevelUp]

Play Now

Robert

Actual Jesus
VIP
Jan 1, 1970
4,652
97
104
Yes.
Hello all can anyone tell me why the following script placed in Qmanage doesnt work?:

[@LevelUp]
#IF
CHECKLEVELEX = 30
#SAY
Well Done You Have Reached Level 30!\
<Close/@exit>
#ACT
give gold 500000
 

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
[@LevelUp]
#IF
CHECKLEVELEX > 30
#SAY
Well Done You Have Reached Level 30!\
<Close/@exit>
#ACT
give gold 500000

edit fogot to say QFunction-0
 
Last edited:
Upvote 0

Mir2World

Dedicated Member
Dedicated Member
Oct 22, 2008
112
2
45
mstation, they will get 500k every level before 30. > smaller than.

shud be = 30 for persific level or < for higher > lower etc etc
 
Upvote 0

Robert

Actual Jesus
VIP
Jan 1, 1970
4,652
97
104
Yes.
Thanks guys, realised that the minute i posted this!

Server work can now continue at last =]

EDIT - Hang about how would i do multi levels?

The script runs every level with just the level 7 text and prize not the level 35
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
how do you want it rob ?

like a diffrent amount every level or like every 5 levels etc

lif
 
Upvote 0

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
QFunction-0.txt:
Code:
#IF
checklevelex = 18
#ACT
BONUSPOINT + 3
LineMSG 6 "Congratulations <$USERNAME>! You have reached level 18"
break
#IF
checklevelex = 19
#ACT
BONUSPOINT + 3
LineMSG 6 "Congratulations <$USERNAME>! You have reached level 19"
break
#IF
checklevelex = 20
#ACT
BONUSPOINT + 3
LineMSG 6 "Congratulations <$USERNAME>! You have reached level 20"
break
#IF
checklevelex = 21
#ACT
BONUSPOINT + 3
LineMSG 6 "Congratulations <$USERNAME>! You have reached level 21"
break

Thats what i use in my files. Hope it helps.

p
 
Upvote 0

Robert

Actual Jesus
VIP
Jan 1, 1970
4,652
97
104
Yes.
Trying to get it as follows:

Level 7
Fencing/Fireball/Healing

Level 11
LightArmour(M)/(F)
10,000 Gold

Level 22
Heavy/Magic/Soul Armour(M)/(F)
50,000 Gold

Level 33
WizardRobe/IronArmour/PearlArmour(M)/(F)
100,000 Gold

Level 35
500k

Level 40
Gold Bar

Level 45
GoldBarBundle

Level 50
Medal
GoldChest


My method is neglecting to work!
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
i can see loads of peeps on this post so i will leave for you guys

no point us all doing

lif
 
Upvote 0

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
Code:
[@LevelUp]
#IF
CHECKLEVELEX = 7
#ACT
GIVE Fencing 1
GIVE Fireball 1
GIVE Healing 1
BREAK
#IF
CHECKLEVELEX = 11
#ACT
GIVE LightArmour(M) 1
GIVE LightArmour(F) 1
GIVE Gold 10000
BREAK
#IF
CHECKLEVELEX = 22
#ACT
GIVE HeavyArmour(M) 1
GIVE HeavyArmour(F) 1
GIVE MagicArmour(M) 1
GIVE MagicArmour(F) 1 
GIVE Soul Armour(M) 1
GIVE Soul Armour(F) 1
GIVE Gold 50000
BREAK
#IF
CHECKLEVELEX = 33
#ACT
GIVE WizardRobe(M) 1
GIVE WizardRobe(F) 1
GIVE IronArmour(M) 1
GIVE IronArmour(F) 1  
GIVE PearlArmour(M) 1
GIVE PearlArmour(F) 1
GIVE Gold 100000
BREAK
#IF
CHECKLEVELEX = 35
#ACT
GIVE Gold 500000
BREAK
#IF
CHECKLEVELEX = 40
#ACT
GIVE GoldBar 1
BREAK
#IF
CHECKLEVELEX = 45
#ACT
GIVE GoldBarBundle 1
BREAK
#IF
CHECKLEVELEX = 50
#ACT
GIVE GoldBar 1
GIVE Medal 1
GIVE GoldChest 1
BREAK

That should be it, just add in the messages in the right places. Also you could call it into another script and filter it out so the player on recives the items relevent for his/her class and sex.

p
 
Upvote 0

Robert

Actual Jesus
VIP
Jan 1, 1970
4,652
97
104
Yes.
ρяєα¢нєя;644382 said:
QFunction-0.txt:
Code:
#IF
checklevelex = 18
#ACT
BONUSPOINT + 3
LineMSG 6 "Congratulations <$USERNAME>! You have reached level 18"
break
#IF
checklevelex = 19
#ACT
BONUSPOINT + 3
LineMSG 6 "Congratulations <$USERNAME>! You have reached level 19"
break
#IF
checklevelex = 20
#ACT
BONUSPOINT + 3
LineMSG 6 "Congratulations <$USERNAME>! You have reached level 20"
break
#IF
checklevelex = 21
#ACT
BONUSPOINT + 3
LineMSG 6 "Congratulations <$USERNAME>! You have reached level 21"
break

Thats what i use in my files. Hope it helps.

p

Thanks all this now works
 
Upvote 0

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
mstation, they will get 500k every level before 30. > smaller than.

shud be = 30 for persific level or < for higher > lower etc etc

as far as i know > is greater than and < is lower than..

10 > 5 TRUE

if CHECKLEVELEX > 30 means that if player is lvl 29 it does 29 > 30? says FALSE and jumps..
if player is 30 does 30 > 30 and says FALSE and jumps..
if player is 31 does 31 > 30 and says TRUE and ACTS.. this is how it should work..

anyhow, as i said.. this is wrong.. he needs = 30..
 
Last edited:
Upvote 0