Advertisement
Terrah

getstream

Dec 6th, 2014
1,642
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. return function(msg,usr,chan)
  2.  
  3. if not msg or msg == "" then
  4. msg = chan:sub(2):lower();
  5. end
  6.  
  7. local ok,bad = MOD.GetStream(msg);
  8.  
  9. if not ok then
  10. print("Stream: " .. tostring(msg) .. " was not found ("..bad..")");
  11. else
  12. for k,v in pairs(ok) do
  13. print(tostring(k) .. ": " .. tostring(v));
  14. end
  15. end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement