Diff
checker
Testo
Testo
Immagini
Documenti
Excel
Cartelle
Legal
Enterprise
Applicazione per desktop
Prezzi
Accedi
Scarica Diffchecker Desktop
Confronta il testo
Trova la differenza tra due file di testo
Strumenti
Cronologia
Editor live
Comprimi invariate
Senza a capo
Layout
Diviso
Unificato
Livello di dettaglio
Intelligente
Parola
Carattere
Evidenziazione sintassi
Scegli sintassi
Ignora
Trasforma testo
Vai alla prima modifica
Modifica input
Diffchecker Desktop
Il modo più sicuro per usare Diffchecker. Ottieni l'app Diffchecker Desktop: i tuoi diff non lasciano mai il tuo computer!
Ottieni Desktop
diff talkaction
Creato
5 anni fa
Il diff non scade mai
Eliminare
Esporta
Condividere
Spiegare
3 rimozioni
Linee
Totale
Rimosso
Caratteri
Totale
Rimosso
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
55 linee
Copia tutti
26 aggiunte
Linee
Totale
Aggiunto
Caratteri
Totale
Aggiunto
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
58 linee
Copia tutti
local testatalk = TalkAction("!testatalk")
local testatalk = TalkAction("!testatalk")
function testatalk.onSay(player, words, param)
function testatalk.onSay(player, words, param)
local player = Player(player)
local player = Player(player)
local inbox = player:getSlotItem(CONST_SLOT_STORE_INBOX)
local inbox = player:getSlotItem(CONST_SLOT_STORE_INBOX)
if param == "" then
if param == "" then
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "text")
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "text")
return false
return false
end
end
if player:getStorageValue(1769359) > os.time() then
if player:getStorageValue(1769359) > os.time() then
player:sendCancelMessage("exaust")
player:sendCancelMessage("exaust")
else
else
if param == "nome1" then
if param == "nome1" then
player:setStorageValue(1769359, os.time() + (60 * 1200))
player:setStorageValue(1769359, os.time() + (60 * 1200))
player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED)
player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED)
Copia
Copiato
Copia
Copiato
elseif
player:getVocation():getId() == 1 or player:getVocation():getId() == 5 then
if
player:getVocation():getId() == 1 or player:getVocation():getId() == 5 then
inbox:addItem(32129, 100)
inbox:addItem(32129, 100)
elseif player:getVocation():getId() == 2 or player:getVocation():getId() == 6 then
elseif player:getVocation():getId() == 2 or player:getVocation():getId() == 6 then
inbox:addItem(32128, 100)
inbox:addItem(32128, 100)
elseif player:getVocation():getId() == 3 or player:getVocation():getId() == 7 then
elseif player:getVocation():getId() == 3 or player:getVocation():getId() == 7 then
inbox:addItem(32127, 100)
inbox:addItem(32127, 100)
elseif player:getVocation():getId() == 4 or player:getVocation():getId() == 8 then
elseif player:getVocation():getId() == 4 or player:getVocation():getId() == 8 then
inbox:addItem(32124, 100)
inbox:addItem(32124, 100)
inbox:addItem(32125, 100)
inbox:addItem(32125, 100)
inbox:addItem(32126, 100)
inbox:addItem(32126, 100)
end
return true
return true
end
end
if param == "nome2" then
if param == "nome2" then
player:setStorageValue(1769359, os.time() + (60 * 1200))
player:setStorageValue(1769359, os.time() + (60 * 1200))
player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED)
player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED)
Copia
Copiato
Copia
Copiato
elseif
player:getVocation():getId() == 1 or player:getVocation():getId() == 5 then
if
player:getVocation():getId() == 1 or player:getVocation():getId() == 5 then
inbox:addItem(32129, 100)
inbox:addItem(32129, 100)
elseif player:getVocation():getId() == 2 or player:getVocation():getId() == 6 then
elseif player:getVocation():getId() == 2 or player:getVocation():getId() == 6 then
inbox:addItem(32128, 100)
inbox:addItem(32128, 100)
elseif player:getVocation():getId() == 3 or player:getVocation():getId() == 7 then
elseif player:getVocation():getId() == 3 or player:getVocation():getId() == 7 then
inbox:addItem(32127, 100)
inbox:addItem(32127, 100)
elseif player:getVocation():getId() == 4 or player:getVocation():getId() == 8 then
elseif player:getVocation():getId() == 4 or player:getVocation():getId() == 8 then
inbox:addItem(32124, 100)
inbox:addItem(32124, 100)
inbox:addItem(32125, 100)
inbox:addItem(32125, 100)
inbox:addItem(32126, 100)
inbox:addItem(32126, 100)
end
return true
return true
end
end
Copia
Copiato
Copia
Copiato
return
end
end
return false
return false
end
end
testatalk:separator(" ")
testatalk:separator(" ")
testatalk:register()
testatalk:register()
Diff salvati
Testo originale
Apri file
local testatalk = TalkAction("!testatalk") function testatalk.onSay(player, words, param) local player = Player(player) local inbox = player:getSlotItem(CONST_SLOT_STORE_INBOX) if param == "" then player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "text") return false end if player:getStorageValue(1769359) > os.time() then player:sendCancelMessage("exaust") else if param == "nome1" then player:setStorageValue(1769359, os.time() + (60 * 1200)) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) elseif player:getVocation():getId() == 1 or player:getVocation():getId() == 5 then inbox:addItem(32129, 100) elseif player:getVocation():getId() == 2 or player:getVocation():getId() == 6 then inbox:addItem(32128, 100) elseif player:getVocation():getId() == 3 or player:getVocation():getId() == 7 then inbox:addItem(32127, 100) elseif player:getVocation():getId() == 4 or player:getVocation():getId() == 8 then inbox:addItem(32124, 100) inbox:addItem(32125, 100) inbox:addItem(32126, 100) return true end if param == "nome2" then player:setStorageValue(1769359, os.time() + (60 * 1200)) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) elseif player:getVocation():getId() == 1 or player:getVocation():getId() == 5 then inbox:addItem(32129, 100) elseif player:getVocation():getId() == 2 or player:getVocation():getId() == 6 then inbox:addItem(32128, 100) elseif player:getVocation():getId() == 3 or player:getVocation():getId() == 7 then inbox:addItem(32127, 100) elseif player:getVocation():getId() == 4 or player:getVocation():getId() == 8 then inbox:addItem(32124, 100) inbox:addItem(32125, 100) inbox:addItem(32126, 100) return true end return end return false end testatalk:separator(" ") testatalk:register()
Testo modificato
Apri file
local testatalk = TalkAction("!testatalk") function testatalk.onSay(player, words, param) local player = Player(player) local inbox = player:getSlotItem(CONST_SLOT_STORE_INBOX) if param == "" then player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "text") return false end if player:getStorageValue(1769359) > os.time() then player:sendCancelMessage("exaust") else if param == "nome1" then player:setStorageValue(1769359, os.time() + (60 * 1200)) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) if player:getVocation():getId() == 1 or player:getVocation():getId() == 5 then inbox:addItem(32129, 100) elseif player:getVocation():getId() == 2 or player:getVocation():getId() == 6 then inbox:addItem(32128, 100) elseif player:getVocation():getId() == 3 or player:getVocation():getId() == 7 then inbox:addItem(32127, 100) elseif player:getVocation():getId() == 4 or player:getVocation():getId() == 8 then inbox:addItem(32124, 100) inbox:addItem(32125, 100) inbox:addItem(32126, 100) end return true end if param == "nome2" then player:setStorageValue(1769359, os.time() + (60 * 1200)) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) if player:getVocation():getId() == 1 or player:getVocation():getId() == 5 then inbox:addItem(32129, 100) elseif player:getVocation():getId() == 2 or player:getVocation():getId() == 6 then inbox:addItem(32128, 100) elseif player:getVocation():getId() == 3 or player:getVocation():getId() == 7 then inbox:addItem(32127, 100) elseif player:getVocation():getId() == 4 or player:getVocation():getId() == 8 then inbox:addItem(32124, 100) inbox:addItem(32125, 100) inbox:addItem(32126, 100) end return true end end return false end testatalk:separator(" ") testatalk:register()
Trovare la differenza