ixi isso é dificil eu sempre procurei mas nunca achei... espero que vc ache ai vai ser util pra mim tbm e estou aproveitando meu primeiro POST xD
- Fórum
- xTibia - Notícias e Suporte
- Soluções
- Archived
- [Talkaction]Preciso !deathlist /unban
3
739
20 de junho de 2011 às 21:23
1 mês depois...
info
Grupo: Campones
Registrado: 25/06/11
Posts: 2
Reputação: 0
Char no Tibia: [GOD] Gregnanin

13 de julho de 2011 às 10:21
Não é meu! É do mapa Slayer Yourots
unban.lua :
function onSay(cid, words, param) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return TRUE end local tmp = getAccountIdByName(param) if(tmp == 0) then tmp = getAccountIdByAccount(param) if(tmp == 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player or account '" .. param .. "' does not exists.") return TRUE end end if(isAccountBanished(tmp) == TRUE and doRemoveBanishment(tmp) == TRUE) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, tmp .. " has been unbanned.") end if(isAccountDeleted(tmp) == TRUE and doRemoveDeletion(tmp) == TRUE) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, tmp .. " has been undeleted.") end if(getPlayerViolationAccess(cid) > 2) then local ip = getIpByName(param) if(isIpBanished(ip) == TRUE and doRemoveIpBanishment(ip) == TRUE) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "IpBanishment on " .. doConvertIntegerToIp(ip) .. " has been lifted.") end if(isPlayerNamelocked(param) == TRUE and doRemoveNamelock(param) == TRUE) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Namelock from " .. param .. " has been removed.") end end return TRUE end
talkactions.xml :
<talkaction log="yes" words="/unban" access="5" script="unban.lua"/>
o !deathlist está em um mapa chamado PhylpsWorld Server!
Um ótimo mapa!
Editado Julho 13 por Gregnanin


info
Grupo: Barão
Registrado: 27/04/09
Posts: 242
Reputação: +83
Gênero: Masculino
Char no Tibia: Askators
ola a todos vim pedir scripts de talkactions se alguem puder me ajudar...
no meu ot não veio comando !deathlist e eu tentei adicionar e quando usava o ot caia então desfiz tudo e deletei a talkactions e queria saber se alguem tem algum que funcione...
e queria saber se alguem tem o comando /unban que não esteja bugado e que de para fazer os 2 jeitos assim:
/unban Lindo
/unban 127.0.0.1
ou seja que de para desbanir ip e tbm a conta do char que eu colocar ali e se precisar pode ser em comandos separados
e será que alguem tem um comando /bantodos para banir todos do ot???
vlw ae gente
Editado Junho 20 por ADM_Forever