can this be done ?

Join Discord

™blade™

Golden Oldie
Golden Oldie
Oct 31, 2004
799
1
125
hello all just want a bit of help can u add a script to qmange so when i new player join it will add them to a guild and give them 5% exp increase but when they get to say lvl 30 it will kick them out off the guild ?
 

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
65
™blade™;713996 said:
hello all just want a bit of help can u add a script to qmange so when i new player join it will add them to a guild and give them 5% exp increase but when they get to say lvl 30 it will kick them out off the guild ?

it isnt possible to add them to guild but the exp boost till leel 30 is very easy

add this to the Qmanage
(this will increase there exp by 5% for an hour.change it according to your exp table and the length of time it takes to get to 30)

#IF
ISNEWHUMAN
#ACT
KILLMONEXPRATE 105 3600
SET [1] 1
SENDMSG 6 "Welcome to <$SERVERNAME> <$USERNAME>.Your Exp rate has been adjusted to + 5%"
BREAK
CLOSE

Also add this under this part

#IF
CHECK [1] 1
#ACT
KILLMONEXPRATE 105 3600
SET [1] 1
SENDMSG 6 "Welcome to <$SERVERNAME> <$USERNAME>.Your Exp rate has been adjusted to + 5%"
BREAK
CLOSE

the above part will allow them to regain there exp boost if they log out and back in before they are level 30

then add this to the Qfunction

[@LevelUp]
#IF
CHECKLEVELEX = 30
#ACT
SENDMSG 0 "%s has just reached level 30"
KILLMONEXPRATE 100 100
SET [1] 0
MESSAGEBOX "You Exp + 5% has now ended."
BREAK

this should do exactly what your looking for.
just make sure the flag you choose to use is free and not been used for any thing else.

i used flag [1] for this but you can use any you wish just edit copy and paste.
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,726
330
300
Kent, UK
why would u waste a flag for that?

#IF
checklevelex < 31
#ACT
KILLMONEXPRATE 105 3600
SENDMSG 6 "As your still under level 30, Your starter Exp rate has been adjusted to + 5%"
BREAK





[@LevelUp]
#IF
CHECKLEVELEX = 30
#ACT
SENDMSG 0 "%s has just reached level 30"
KILLMONEXPRATE 100 1
SENDMSG 6 "You Exp + 5% has now ended."
BREAK



i wouldnt use message box's on level up scripts... purely because when they pop up.. u technically "lag" until u press the OK button

could be very annoyin if ur levelin and say u leveld up in a lure, by time u pressed OK u could be dead
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
65
diffrent people = diffrent ways.
they both work just as well.

and yeah the message box is good advice
 
Upvote 0

Omen_lom

Golden Oldie
Golden Oldie
May 29, 2006
1,761
14
144
= gutted :).

You did add the top part to Q Manage and the bottom part to Q function didnt you :S ?
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
65
they both will work 100%.
you must reboot your server when you add anything to the Qfunction

if you add to the qmanage you can get away with out a reboot
simply go ingame and type @reloadmanage

but i can guarentee these both work 100%
 
Upvote 0