Advertisement
P3NG3R

levelup_notice.lua

Oct 23rd, 2016
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. quest levelup_notice begin
  2.     state start begin
  3.         when levelup with not pc.is_gm() begin
  4.             if math.mod(pc.level, 10) == 0 then
  5.                 notice_all(string.format("Congratulations! %s reached the %d level!", pc.get_name(), pc.level))
  6.             end
  7.         end
  8.     end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement