Small Question.

Jamie

LOMCN Developer
Developer
Mar 29, 2003
4,864
428
350
United Kingdom
How do i get an npc script to run when someone levels up.

I have seen it on some 1.5+ Servers, Would just like to know what i need for it to run a script.

i have used the search.

Thx in advance
 

Jamie

LOMCN Developer
Developer
Mar 29, 2003
4,864
428
350
United Kingdom
I have found out and incase future needs ill post how.

In Market_def there will be a file called QFunction-0.txt, If not make it.

then.

[@PlayLevelup]
#IF
CHECKLEVELEX = 7
#ACT
SENDMSG 6 "Congratulations on your level up"

In game when you hit level 7 it will Say in green writing Congratulations on your level up.

I hope this helps
 
Upvote 0

lust

LOMCN Veteran
Veteran
Sep 11, 2005
293
2
45
Ive already posted this.
ect.

[@PlayLevelup]
#IF
CHECKLEVELEX = 7
#ACT
SENDMSG 6 "Congratulations on your level up"

But with it being like that it will only say

in the txt box

"Congratulations

The other stuff wont apper.
so u will need to have it like this

[@PlayLevelup]
#IF
CHECKLEVELEX = 7
#ACT
SENDMSG 6 Congratulations.on.your.level.up

or like this

[@PlayLevelup]
#IF
CHECKLEVELEX = 7
#ACT
SENDMSG 6 Congratulations'on'your'level'up
or this

[@PlayLevelup]
#IF
CHECKLEVELEX = 7
#ACT
SENDMSG 6 Congratulations_on_your_level_up

Maby even this

[@PlayLevelup]
#IF
CHECKLEVELEX = 7
#ACT
SENDMSG 6 Congratulations-on-your-level-up


As i shall no because i have used it this way on Diamond server.
 
Upvote 0