Код: Выделить всё
automacro gmDetected {
console /^Remove perfectly hidden Player/
timeout 3
call gmAlert
}
macro gmAlert {
do eval WinUtils::playSound('C:\ZenyRo\sounds\alarm.wav');
do ai off
}
automacro nearGM {
delay 2
console /dist=unknown/
call {
$emo = @random ("wav", "omg", "dum", "pea",
"fst")
pause 2
do e $emo
pause 6
do quit
}
delay 6
run-once 1
}
automacro ban {
console /Your account has been banished/
call {
do eval
WinUtils::playSound('C:\ZenyRo\sounds\alarm.wav');
do quit
}
}
automacro ban2 {
console /GM has send you in jails/
call {
do eval
WinUtils::playSound('C:\ZenyRo\sounds\alarm.wav');
pause 10
do c ???
do ai off
pause 120
do quit
}
}
automacro gmheal {
console /\Unknown (.*)\ uses Heal on you:/
call {
do eval
WinUtils::playSound('C:\ZenyRo\sounds\alarm.wav');
pause 6
do c ???
do ai off
}
}
automacro nearGM {
delay 2
console /dist=unknown/
call {
$emo = @random ("wav", "omg", "dum", "pea", "fst")
pause 2
do e $emo
pause 6
do quit
}
delay 6
run-once 1
}
##################
###########Buff####
##################
automacro Buff {
pubm /buf|agi|bles/i,10
call {
pause 2
do sp 34 @player($.lastpub)
pause 0.5
do sp 29 @player($.lastpub)
pause 2
do sp 73 @player($.lastpub)
pause 2
do sp 66 @player($.lastpub)
pause 2
release Buff
}
run-once 1
}
automacro heal {
pubm /heal|hil/i,10
call {
pause 2
do sp 28 @player($.lastpub)
pause 0.5
do sp 28 @player($.lastpub)
pause 2
release heal
}
run-once 1
}
########End#######
##################################################
################
################### Detekt ###################
##################################################
################
automacro gmDetected {
console /^Remove perfectly hidden Player/
timeout 3
call gmAlert
}
macro gmAlert {
do eval WinUtils:laySound('C:\ZenyRo\sounds\alarm.wav' );
do ai off
}
##################################################
################
########################## !!!End!!!
###########################
##################################################
################
alertSound - {
eventList public gm chat
notInTown 1
inLockOnly 0
play sounds\alarm.wav
}
Добавлено спустя 45 минут 33 секунды:
Добавлю.... при добавлении всего этого у меня вышло вот что
Код: Выделить всё
Loading tables/skillslooks.txt...
Loading tables/skillsarea.txt...
Loading tables/skillsencore.txt...
Loading control/macros.txt...
control/macros.txt: ignoring line 'automacro loot {' (munch, munch, strange block)
control/macros.txt: ignoring '}' (munch, munch, strange food)
control/macros.txt: ignoring line 'alertSound - {' (munch, munch, strange block)
control/macros.txt: ignoring line 'alertSound - {' (munch, munch, strange block)
control/macros.txt: ignoring line 'alertSound - {' (munch, munch, strange block)
control/macros.txt: ignoring line 'alertSound - {' (munch, munch, strange block)
[macro] hooking to packet_pubMsg
[macro] hooking to AI_pre
[macro] hooking to log
No patchserver specified. Login will always be granted.
Generating session Admin Password...