Não testei todos as funções desse macro,mas ta bem funcional.
--------------------------------------------------------------------------------------------------------
Se Um GM Escondido Te Der BUFF
Obs: Ache a linha "anti GM" e apague a tudo q estiver abaixo disso,somente caso apresente problemas.Para configurar o som,abra o arquivo acima,e ache a seguinte linha.
'C:\Arquivos de programas\Teamspeak2_RC2\sounds\50.fatalerror.wav'
Substitua pelo seu som desejado se encontra.O som tem que ser formato .WAV.
--------------------------------------------------------------------------------------------------------
Se Um GM Escondido Te Der BUFF
automacro GMBHideuffs {
console /^(Algo desconhecido|O jogador [GM])(.*) (usou) (.*) (em você)/i
exclusive 1
macro_delay 0.1
priority 1
call {
do conf logConsole 1
do eval Utils::Win32::playSound('C:\Arquivos de programas\Teamspeak2_RC2\sounds\50.fatalerror.wav')
log ------------------------------------
log ------ Evento GM Ativado -----------
log ------ GM esta te bufando ----------
log ------------------------------------
log $.datetime
log $.lastLogMsg
do conf logConsole 0
do relog 2000
}
}
console /^(Algo desconhecido|O jogador [GM])(.*) (usou) (.*) (em você)/i
exclusive 1
macro_delay 0.1
priority 1
call {
do conf logConsole 1
do eval Utils::Win32::playSound('C:\Arquivos de programas\Teamspeak2_RC2\sounds\50.fatalerror.wav')
log ------------------------------------
log ------ Evento GM Ativado -----------
log ------ GM esta te bufando ----------
log ------------------------------------
log $.datetime
log $.lastLogMsg
do conf logConsole 0
do relog 2000
}
}
--------------------------------------------------------------------------------------------------------
Se Algum GM Te Der MUTE
automacro Muted {
run-once 1
exclusive 1
priority 1
status muted
call {
do conf logConsole 1
log ------------------------------------
log ------ Evento GM Ativado -----------
log ------ GM te deixou mudo -----------
log ------------------------------------
do eval Utils::Win32::playSound('C:\Arquivos de programas\Teamspeak2_RC2\sounds\50.fatalerror.wav')
log $.datetime
log Voce esta com status $.status
do conf logConsole 0
do quit
}
}
run-once 1
exclusive 1
priority 1
status muted
call {
do conf logConsole 1
log ------------------------------------
log ------ Evento GM Ativado -----------
log ------ GM te deixou mudo -----------
log ------------------------------------
do eval Utils::Win32::playSound('C:\Arquivos de programas\Teamspeak2_RC2\sounds\50.fatalerror.wav')
log $.datetime
log Voce esta com status $.status
do conf logConsole 0
do quit
}
}
--------------------------------------------------------------------------------------------------------
Se Algum Player Perguntar o LVL Ao BOT
automacro pmLVL {
pm /(lvl|lv|nivel|nível|level|leveu|nv)/i
macro_delay 0.1
priority 2
exclusive 1
orphan reregister
call resp_PMLVL
}
macro resp_PMLVL {
$lastpmlvl = $.lastpm lvl
log -- Algum Player disse : LVL via PM
log -- Mensagem Console : $.lastLogMsg
log -- Mensagem Privada : $.lastpmMsg
log -- Nome do Player : $.lastpm
log -- Numero de Vezes : $lastpmlvl
if (${$lastpmlvl} = 1) goto pmLVLum
if (${$lastpmlvl} = 2) goto pmLVLdois
if (${$lastpmlvl} = 3) goto pmLVLtres
if (${$lastpmlvl} > 3) goto pmLVLfim
:pmLVLzero
${$lastpmlvl} = 1
goto pmLVLum
:pmLVLum
pause 8
do pm '$.lastpm' $.lvl $.joblvl xD
pause 8
do pm '$.lastpm' flw ae
do c flg6
${$lastpmlvl}++
goto pmLVLfim
:pmLVLdois
pause 10
do pm "$.lastpm" ja disse lvl $.lvl job $.joblvl
${$lastpmlvl}++
goto pmLVLfim
:pmLVLtres
pause 8
do pm "$.lastpm" aff... para -.- !
${$lastpmlvl}++
goto pmLVLfim
:pmLVLfim
do conf attackAuto 0
do conf route_randomWalk 1
}
pm /(lvl|lv|nivel|nível|level|leveu|nv)/i
macro_delay 0.1
priority 2
exclusive 1
orphan reregister
call resp_PMLVL
}
macro resp_PMLVL {
$lastpmlvl = $.lastpm lvl
log -- Algum Player disse : LVL via PM
log -- Mensagem Console : $.lastLogMsg
log -- Mensagem Privada : $.lastpmMsg
log -- Nome do Player : $.lastpm
log -- Numero de Vezes : $lastpmlvl
if (${$lastpmlvl} = 1) goto pmLVLum
if (${$lastpmlvl} = 2) goto pmLVLdois
if (${$lastpmlvl} = 3) goto pmLVLtres
if (${$lastpmlvl} > 3) goto pmLVLfim
:pmLVLzero
${$lastpmlvl} = 1
goto pmLVLum
:pmLVLum
pause 8
do pm '$.lastpm' $.lvl $.joblvl xD
pause 8
do pm '$.lastpm' flw ae
do c flg6
${$lastpmlvl}++
goto pmLVLfim
:pmLVLdois
pause 10
do pm "$.lastpm" ja disse lvl $.lvl job $.joblvl
${$lastpmlvl}++
goto pmLVLfim
:pmLVLtres
pause 8
do pm "$.lastpm" aff... para -.- !
${$lastpmlvl}++
goto pmLVLfim
:pmLVLfim
do conf attackAuto 0
do conf route_randomWalk 1
}
--------------------------------------------------------------------------------------------------------
Se Desequiparem Sua Arma
Se Desequiparem Sua Arma
automacro relogastrip {
status Strip Weapon
call {
do relog
pause 5
}
}
status Strip Weapon
call {
do relog
pause 5
}
}
Nenhum comentário:
Postar um comentário