examples/attention.lua
changeset 121 75a7d595817c
parent 111 5bcdb71ef2f2
equal deleted inserted replaced
120:1be9411caf31 121:75a7d595817c
    32 		else
    32 		else
    33 			who = main.full_jid ()
    33 			who = main.full_jid ()
    34 		end
    34 		end
    35 		attention.send ( lm.connection.bless ( connection ), who, args[1] )
    35 		attention.send ( lm.connection.bless ( connection ), who, args[1] )
    36 	end, true, 'jid' )
    36 	end, true, 'jid' )
    37 
       
    38 commands_help['attention'] = "[-t to] [message]\n\nTries to get buddy's attention."
       
    39 
    37 
    40 local attention_handler = lm.message_handler.new ( attention.message_handler )
    38 local attention_handler = lm.message_handler.new ( attention.message_handler )
    41 local attention_handler_registered = false
    39 local attention_handler_registered = false
    42 
    40 
    43 local attention_pc_handler =
    41 local attention_pc_handler =