examples/mcabberrc.lua
changeset 41 9e39fd8a20df
parent 37 b438d630a556
child 45 ff175dcd79cd
equal deleted inserted replaced
40:4e598287dec4 41:9e39fd8a20df
   151 	function ( args )
   151 	function ( args )
   152 		if commands_help[args] then
   152 		if commands_help[args] then
   153 			print ( "\n /" .. args .. ' ' .. commands_help[args] )
   153 			print ( "\n /" .. args .. ' ' .. commands_help[args] )
   154 		else
   154 		else
   155 			print ( "No help for this command." )
   155 			print ( "No help for this command." )
   156 			list = "Help available for commands: "
   156 			local list = "Help available for commands: "
   157 			for k in pairs (commands_help) do
   157 			for k in pairs (commands_help) do
   158 				list = list .. k .. ', '
   158 				list = list .. k .. ', '
   159 			end
   159 			end
   160 			print ( list:sub ( 1, -3 ) )
   160 			print ( list:sub ( 1, -3 ) )
   161 			print ( "For built-in mcabber commands see /help" )
   161 			print ( "For built-in mcabber commands see /help" )
   255 
   255 
   256 -- SERVICE DISCOVERY (XEP-0030)
   256 -- SERVICE DISCOVERY (XEP-0030)
   257 
   257 
   258 dopath 'xep0030'
   258 dopath 'xep0030'
   259 
   259 
   260 -- IN-BOUND BYTESTREAMS (XEP-0047)
   260 -- IN-BAND BYTESTREAMS (XEP-0047)
   261 
   261 
   262 dopath 'xep0047'
   262 dopath 'ibb'
   263 
   263 
   264 -- PUBLISH-SUBSRIBE (XEP-0060)
   264 -- PUBLISH-SUBSRIBE (XEP-0060)
   265 
   265 
   266 dopath 'xep0060'
   266 dopath 'xep0060'
   267 
   267