chiba222 0 Posted January 19, 2016 Hi anyone, I have a new script which need to check player level stat, if player level 90, there is a self announce to show them information. But I'm not sure it is possible. Can anyone tell me what is that command or is it possible? Thank you Quote Share this post Link to post Share on other sites
0 Kubix 83 Posted January 19, 2016 (edited) Check when what?When login?When level up?When click on NPC? When login: OnPCLoginEvent: if(BaseLevel == 90) announce "announce", bc_self; end; When levelup: OnPCBaseLvUpEvent: if(BaseLevel == 90) announce "announce", bc_self; end; When Click: npc_header { if(BaseLevel == 90) { announce "announce", bc_self; } else { // not 90 lvl } } Edited January 19, 2016 by Kubix 2 chiba222 and butasro reacted to this Quote Share this post Link to post Share on other sites
0 chiba222 0 Posted January 19, 2016 Check when what? When login? When level up? When click on NPC? When login: OnPCLoginEvent: if(BaseLevel == 90) announce "announce", bc_self; end; When levelup: OnPCBaseLvUpEvent: if(BaseLevel == 90) announce "announce", bc_self; end; When Click: npc_header { if(BaseLevel == 90) { announce "announce", bc_self; } else { // not 90 lvl } } Thank you so much! Quote Share this post Link to post Share on other sites
Hi anyone,
I have a new script which need to check player level stat,
if player level 90, there is a self announce to show them information.
But I'm not sure it is possible.
Can anyone tell me what is that command or is it possible?
Thank you
Share this post
Link to post
Share on other sites