examples/urls.lua
changeset 58 aa3376776cf2
parent 33 db5396037b43
equal deleted inserted replaced
57:c8519242e045 58:aa3376776cf2
       
     1 
     1 -- SAVING URLS TO FILE
     2 -- SAVING URLS TO FILE
     2 
     3 
     3 hooks_d['hook-message-in'].urls =
     4 hooks_d['hook-message-in'].urls =
     4 	function ( args )
     5 	function ( args )
     5 		for url in args.message:gmatch ( "https?://[%w%p]+" ) do
     6 		for url in args.message:gmatch ( "https?://[%w%p]+" ) do