Module:MessageTest2

From Wikipedia
Jump to navigation Jump to search

Documentation for this module may be created at Module:MessageTest2/doc

mmm = {}

function mmm.start( frame )
    require( "Module:MessageTest1" );
    return "";
end

function mmm.send_message( frame )
    require( "Module:MessageTest1" );
    _G.message.set_message( frame.args[1] );
    return "";
end

function mmm.get_message( frame )
    require( "Module:MessageTest1" );
    return _G.message.get_message();
end

return mmm;