forked from Mirrorlandia_minetest/emeraldbank
irc sin funcion S()
This commit is contained in:
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(name, S("Pay Successfully! You have transferred @1 Emeralds." , num) )
|
||||||
core.chat_send_player(playername2, S("Pay Successfully! You've gotten @1 Emeralds.", num) )
|
core.chat_send_player(playername2, S("Pay Successfully! You've gotten @1 Emeralds.", num) )
|
||||||
if core.get_modpath("irc") then
|
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
|
end
|
||||||
emeraldbank.add_emeralds(player1, -num)
|
emeraldbank.add_emeralds(player1, -num)
|
||||||
emeraldbank.add_emeralds(player2, num)
|
emeraldbank.add_emeralds(player2, num)
|
||||||
|
Loading…
Reference in New Issue
Block a user