Skript zum töten von Doppelspielern.

This commit is contained in:
Enno Rehling 2005-07-23 20:38:14 +00:00
parent 3daf4a78ec
commit 3ca3afad78
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,10 @@
function kill_multis()
local multis = [ "ogq", "idan", "e8L1" ]
for key in multis do
local f = get_faction(atoi36(multis[key]))
if f~=nil then
f.email="doppelspieler@eressea.de"
f.password=""
end
end
end

View File

@ -25,7 +25,8 @@ function run_scripts()
scripts = { scripts = {
"eternath.lua", "eternath.lua",
"wedding-jadee.lua", "wedding-jadee.lua",
"ponnuki.lua" "ponnuki.lua",
"eressea-multis.lua"
} }
for index in scripts do for index in scripts do
loadscript(scripts[index]) loadscript(scripts[index])
@ -60,6 +61,9 @@ function process(orders)
end end
init_summary() init_summary()
-- kill multi-players (external script)
kill_multis()
-- run the turn: -- run the turn:
if read_orders(orders) ~= 0 then if read_orders(orders) ~= 0 then
print("could not read " .. orders) print("could not read " .. orders)