The last man turns off the light.
This commit is contained in:
parent
8252826d5e
commit
0fe753592d
@ -23,10 +23,15 @@ sc.registered_commands[cname] = function(player)
|
||||
|
||||
end -- if(not privs.channelmod
|
||||
|
||||
if(not sc.irc_on) then
|
||||
sc.print(player, sc.red .. S("Sorry, the own IRC is off."))
|
||||
return
|
||||
end
|
||||
|
||||
if(sc.automatic_reconnect) then
|
||||
sc.reconnect = 0
|
||||
sc.print(player, sc.green .. S("Automatic reconnect started."))
|
||||
|
||||
|
||||
else
|
||||
sc.irc_connect()
|
||||
sc.print(player, sc.green .. S("New connect to irc started."))
|
||||
|
6
lib.lua
6
lib.lua
@ -339,7 +339,7 @@ function lib.chat(playername, text)
|
||||
end -- if(channel == nil
|
||||
|
||||
end -- for _,players
|
||||
|
||||
|
||||
if(channel == nil) then
|
||||
if(lib.irc_on) then
|
||||
lib.send_2_irc(playername, text)
|
||||
@ -350,9 +350,9 @@ function lib.chat(playername, text)
|
||||
lib.send_2_bridge(playername, text)
|
||||
|
||||
end -- if(lib.matterbridge)
|
||||
|
||||
|
||||
end -- if(channel == nil)
|
||||
|
||||
|
||||
return true
|
||||
|
||||
end -- function chat
|
||||
|
@ -121,8 +121,8 @@ Moves a player to <channel> or to self.=Verschiebt einen Spieler in <Kanal> oder
|
||||
|
||||
Automatic reconnect started.=Automatische Neuverbindung gestartet
|
||||
Error: You are not a channelmod.=Fehler: Du bist kein Kanalmoderator.
|
||||
IRC is already connected.=IRC ist schon verbunden.
|
||||
New connect to irc started.=Neue Verbindung zu IRC gestartet.
|
||||
Sorry, the own IRC is off.=Entschuldigung, aber der eigene IRC ist offline.
|
||||
Starts the counter for automatic reconnect.=Startet den Zähler für automatische Neuverbindungen.
|
||||
|
||||
### cmd_status.lua ###
|
||||
@ -198,5 +198,6 @@ Unknown Command. No helpsystem available.=Unbekanntes Kommando. Hilfssystem nich
|
||||
|
||||
##### not used anymore #####
|
||||
|
||||
IRC is already connected.=IRC ist schon verbunden.
|
||||
joins the World=betritt die Welt.
|
||||
leaves the World=verlässt die Welt.
|
||||
|
@ -121,8 +121,8 @@ Moves a player to <channel> or to self.=
|
||||
|
||||
Automatic reconnect started.=
|
||||
Error: You are not a channelmod.=
|
||||
IRC is already connected.=
|
||||
New connect to irc started.=
|
||||
Sorry, the own IRC is off.=
|
||||
Starts the counter for automatic reconnect.=
|
||||
|
||||
### cmd_status.lua ###
|
||||
|
Loading…
x
Reference in New Issue
Block a user