brabopp 0 Postado Julho 24, 2009 Share Postado Julho 24, 2009 Alguemm Ajudaa Como Colocar Comando /ban na Versão 8.50 e Banir Nao Pelo IP, E Também Escolher os Dias Que Vai Ficar BAN! Antes era soh ir em CTRL+Y pelo Tibia..Mais Agora n da Mais.... Link para o comentário https://xtibia.com/forum/topic/116938-como-colocar-comando-ban-e-banir-nao-pelo-ip/ Compartilhar em outros sites More sharing options...
satan666 12 Postado Julho 24, 2009 Share Postado Julho 24, 2009 coloca por talkactions e por um script. vo ver se arrumo um tempo e faço o script pra voce. Link para o comentário https://xtibia.com/forum/topic/116938-como-colocar-comando-ban-e-banir-nao-pelo-ip/#findComment-767450 Compartilhar em outros sites More sharing options...
helinholima 13 Postado Julho 27, 2009 Share Postado Julho 27, 2009 Vou postar o script aqui mais vou deixar bem claro que ele não é meu. Primeiro va na pasta data/talckactions/talckactions.xml e adicione isto <talkaction log="yes" words="/ban" access="3" event="script" value="ban.lua"/> Depois pasta data/talckaction/scripts crie um arquivo .LUA renomei para ban e adicione isto. local default_comment = ""local default_lenght = 1 -- ban time in hours function onSay(cid, words, param) local parametres = string.explode(param, ",") if(parametres[1] ~= nil) then local accId = getAccountIdByName(parametres[1]) if(accId > 0) then local lenght = default_lenght local comment = default_comment if(parametres[2] ~= nil and tonumber(parametres[2]) > 0) then lenght = tonumber(parametres[2]) end if(parametres[3] ~= nil) then comment = parametres[3] end doAddBanishment(accId, lenght * 3600, 23, ACTION_BANISHMENT, comment, getPlayerGUID(cid), comment) local player = getPlayerByNameWildcard(parametres[1]) if(isPlayer(player) == TRUE) then doRemoveCreature(player) end else doPlayerSendCancel(cid, "Player with name " .. parametres[1] .. " doesn't exist.") end else doPlayerSendCancel(cid, "You must enter name.") end return true end Para usar é bem simples /ban Nick,35,AFK BOT (o 35 são as horas que o ban vai durar e o afk bot é um comentarios ambos voce pode por o que quiser. Mas é necessario o player Estar Offline. Espero Ter Ajudado. Link para o comentário https://xtibia.com/forum/topic/116938-como-colocar-comando-ban-e-banir-nao-pelo-ip/#findComment-768758 Compartilhar em outros sites More sharing options...
gugol1 0 Postado Setembro 12, 2009 Share Postado Setembro 12, 2009 APROVADOO VLW AE TAVA PROCURANDOxD Link para o comentário https://xtibia.com/forum/topic/116938-como-colocar-comando-ban-e-banir-nao-pelo-ip/#findComment-790625 Compartilhar em outros sites More sharing options...
japalee 0 Postado Dezembro 10, 2009 Share Postado Dezembro 10, 2009 Eaewww, man umilho com esse script neahh ? MUITO BOM!! Link para o comentário https://xtibia.com/forum/topic/116938-como-colocar-comando-ban-e-banir-nao-pelo-ip/#findComment-825200 Compartilhar em outros sites More sharing options...
Posts Recomendados