Guest User

Untitled

a guest
Jun 19th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.70 KB | None | 0 0
  1. quest rates begin
  2.     state start begin
  3.         when letter with pc.is_gm() begin
  4.             send_letter("Rates")
  5.         end
  6.         when info or button with pc.is_gm() begin
  7.             say_title("Verwaltung der Rates")
  8.             say("")
  9.             say("Wie hoch sollen die Rates sein?")
  10.            
  11.             local s = select("Aus", "50", "100", "150", "200", "250", "500", "750", "1000")
  12.            
  13.             if s == 1 then
  14.             command("priv_empire 0 1:item_drop 0 48")
  15.             command("priv_empire 0 2:gold_drop 0 48")
  16.             command("priv_empire 0 3:gold10_drop 0 48")
  17.             command("priv_empire 0 4:exp 0 48")
  18.             command("e panel 1")
  19.             send_letter("Rates")
  20.             end
  21.             elseif s == 2 then
  22.             command("priv_empire 0 1:item_drop 50 48")
  23.             command("priv_empire 0 2:gold_drop 50 48")
  24.             command("priv_empire 0 3:gold10_drop 50 48")
  25.             command("priv_empire 0 4:exp 50 48")
  26.             command("e panel 1")
  27.             send_letter("Rates")
  28.             end
  29.             elseif s == 3 then
  30.             command("priv_empire 0 1:item_drop 100 48")
  31.             command("priv_empire 0 2:gold_drop 100 48")
  32.             command("priv_empire 0 3:gold10_drop 100 48")
  33.             command("priv_empire 0 4:exp 100 48")
  34.             command("e panel 1")
  35.             send_letter("Rates")
  36.             end
  37.             elseif s == 4 then
  38.             command("priv_empire 0 1:item_drop 150 48")
  39.             command("priv_empire 0 2:gold_drop 150 48")
  40.             command("priv_empire 0 3:gold10_drop 150 48")
  41.             command("priv_empire 0 4:exp 150 48")
  42.             command("e panel 1")
  43.             send_letter("Rates")
  44.             end
  45.             elseif s == 5 then
  46.             command("priv_empire 0 1:item_drop 200 48")
  47.             command("priv_empire 0 2:gold_drop 200 48")
  48.             command("priv_empire 0 3:gold10_drop 200 48")
  49.             command("priv_empire 0 4:exp 200 48")
  50.             command("e panel 1")
  51.             send_letter("Rates")
  52.             end
  53.             elseif s == 6 then
  54.             command("priv_empire 0 1:item_drop 250 48")
  55.             command("priv_empire 0 2:gold_drop 250 48")
  56.             command("priv_empire 0 3:gold10_drop 250 48")
  57.             command("priv_empire 0 4:exp 250 48")
  58.             command("e panel 1")
  59.             send_letter("Rates")
  60.             end
  61.             elseif s == 7 then
  62.             command("priv_empire 0 1:item_drop 500 48")
  63.             command("priv_empire 0 2:gold_drop 500 48")
  64.             command("priv_empire 0 3:gold10_drop 500 48")
  65.             command("priv_empire 0 4:exp 500 48")
  66.             command("e panel 1")
  67.             send_letter("Rates")
  68.             end
  69.             elseif s == 8 then
  70.             command("priv_empire 0 1:item_drop 750 48")
  71.             command("priv_empire 0 2:gold_drop 750 48")
  72.             command("priv_empire 0 3:gold10_drop 750 48")
  73.             command("priv_empire 0 4:exp 750 48")
  74.             command("e panel 1")
  75.             send_letter("Rates")
  76.             end
  77.             elseif s == 9 then
  78.             command("priv_empire 0 1:item_drop 1000 48")
  79.             command("priv_empire 0 2:gold_drop 1000 48")
  80.             command("priv_empire 0 3:gold10_drop 1000 48")
  81.             command("priv_empire 0 4:exp 1000 48")
  82.             command("e panel 1")
  83.             send_letter("Rates")
  84.             end
  85.         end
  86.     end
  87. end
Add Comment
Please, Sign In to add comment