Advertisement
thespeedy

lvlup.lua

Oct 25th, 2016
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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, 20, 30) == 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