")
format(line, 255, "
%s %s (SCM)
", PLUGIN, VERSION)
add(motd, 2047, line)
format(line, 255, "
%L rhin0
", id, "MOTD_CREDITS")
add(motd, 2047, line)
format(line, 255, "
%L www.CounterServer.cz
", id, "MOTD_INFO")
add(motd, 2047, line)
format(line, 255, "
%L
", id, "MOTD_GEN_CMD")
add(motd, 2047, line)
format(line, 255, "
say /start
// %L ", id, "MOTD_START_MATCH")
add(motd, 2047, line)
format(line, 255, "say /stop
// %L ", id, "MOTD_STOP_MATCH")
add(motd, 2047, line)
format(line, 255, "say /rr
// %L ", id, "MOTD_RESTART_MATCH")
add(motd, 2047, line)
format(line, 255, "say /scmhelp
// %L
", id, "MOTD_SHOW_HELP")
add(motd, 2047, line)
format(line, 255, "
%L
", id, "MOTD_MAPS_CMD")
add(motd, 2047, line)
add(motd, 2047, "
")
new i = 0
while (i < g_mapcount) {
new mapcmd[128], trash[16], mapname[32]
strtok(g_mapnames[i], trash, 15, mapname, 31, '_')
format(mapcmd, 127, "say /%s
// %L %s ", mapname, id, "MOTD_CHANGELEVEL", g_mapnames[i])
add(motd, 2047, mapcmd)
++i
}
add(motd, 2047, "
")
add(motd, 2047, "
")
format(title, 63, "%s %s", PLUGIN, VERSION)
show_motd(id, motd, title)
return PLUGIN_HANDLED
}