--[[ etc_motd.lua v0.03 by blastbeat - this script sends a message stored in a file to connecting users - changelog 0.03: - clean up - changelog 0.02: - updated script api ]]-- --// settings begin //-- local scriptname = "etc_motd" local scriptversion = "0.03" local motd = [[ This is the motd message ( etc_motd.lua ) ]] --// settings end //-- local hub_getbot = hub.getbot hub.setlistener( "onLogin", { }, function( user ) user:reply( motd, hub_getbot( ) ) return nil end ) hub.debug( "** Loaded "..scriptname.." "..scriptversion.." **" )