irc sin funcion S()

This commit is contained in:
GNU Hacker 2021-12-17 19:12:28 +01:00
parent 154a6ec921
commit ad107b55c1

@ -43,7 +43,7 @@ core.register_chatcommand("pay", {
core.chat_send_player(name, S("Pay Successfully! You have transferred @1 Emeralds." , num) )
core.chat_send_player(playername2, S("Pay Successfully! You've gotten @1 Emeralds.", num) )
if core.get_modpath("irc") then
irc.saysec( S("@1 has transferred @2 emeralds to @3", playername, num, playername2) )
irc.saysec(playername.." has transferred "..num.." emeralds to "..playername2)
end
emeraldbank.add_emeralds(player1, -num)
emeraldbank.add_emeralds(player2, num)