Advertisement
thespeedy

announcement_levelup.lua

Feb 7th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 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  -- Alle 10 Level :D
  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