JS-скрипт Reply bot [v4]

Олдфаг
Статус
Оффлайн
Регистрация
28 Дек 2018
Сообщения
2,585
Реакции[?]
1,437
Поинты[?]
1K
1606739005897.png

JavaScript:
function fix_ui_behaviour( ) {
    for(var i in UI) {
        if(!~i.indexOf("Add"))
            continue;

        (function(cur) {
            UI[i] = function() {
                cur.apply(this, Array.prototype.slice.call(arguments));
                return arguments[0].concat(arguments[1]);
            }
        }(UI[i]));
    }
}
fix_ui_behaviour(  );

const path = [ "Misc.", "Helpers", "General" ]
const enable = UI.AddCheckbox( path, "Enable" )

function on_player_say(  )  {
    me = Entity.GetLocalPlayer()
    text = Event.GetString("text")
    userid = Event.GetInt("userid")
    chatter = Entity.GetEntityFromUserID(userid)
    var split_text = text.split("")
    var str = ""
  
    if ( UI.GetValue( enable ) ) {
        if ( Entity.IsEnemy( chatter ) ) {
            for ( i = 0; i < split_text.length; i++ )
            {
                str += split_text[ i ][ Math.round( Math.random(  ) ) ? 'toUpperCase' : 'toLowerCase' ](  )
            }
            Cheat.ExecuteCommand( "say " + str )
        }
    }
}

Cheat.RegisterCallback("player_say", "on_player_say")
Перезалив с форума вт, мб крякеры под себя перепишут
Пожалуйста, авторизуйтесь для просмотра ссылки.
 
Забаненный
Статус
Оффлайн
Регистрация
21 Апр 2020
Сообщения
29
Реакции[?]
2
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
v3 ?
 
Забаненный
Статус
Оффлайн
Регистрация
21 Апр 2020
Сообщения
29
Реакции[?]
2
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Продавец
Статус
Оффлайн
Регистрация
28 Окт 2019
Сообщения
1,145
Реакции[?]
302
Поинты[?]
3K
зачем это постить тут если тема с реплиботом весит в топе во фри скриптах на форуме вантапа?
 
Тут нихуя
Участник
Статус
Оффлайн
Регистрация
26 Фев 2019
Сообщения
2,120
Реакции[?]
392
Поинты[?]
0
Забаненный
Статус
Оффлайн
Регистрация
21 Апр 2020
Сообщения
29
Реакции[?]
2
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Пользователь
Статус
Оффлайн
Регистрация
24 Апр 2018
Сообщения
445
Реакции[?]
85
Поинты[?]
2K
Посмотреть вложение 115907

JavaScript:
function fix_ui_behaviour( ) {
    for(var i in UI) {
        if(!~i.indexOf("Add"))
            continue;

        (function(cur) {
            UI[i] = function() {
                cur.apply(this, Array.prototype.slice.call(arguments));
                return arguments[0].concat(arguments[1]);
            }
        }(UI[i]));
    }
}
fix_ui_behaviour(  );

const path = [ "Misc.", "Helpers", "General" ]
const enable = UI.AddCheckbox( path, "Enable" )

function on_player_say(  )  {
    me = Entity.GetLocalPlayer()
    text = Event.GetString("text")
    userid = Event.GetInt("userid")
    chatter = Entity.GetEntityFromUserID(userid)
    var split_text = text.split("")
    var str = ""
 
    if ( UI.GetValue( enable ) ) {
        if ( Entity.IsEnemy( chatter ) ) {
            for ( i = 0; i < split_text.length; i++ )
            {
                str += split_text[ i ][ Math.round( Math.random(  ) ) ? 'toUpperCase' : 'toLowerCase' ](  )
            }
            Cheat.ExecuteCommand( "say " + str )
        }
    }
}

Cheat.RegisterCallback("player_say", "on_player_say")
Перезалив с форума вт, мб крякеры под себя перепишут
Пожалуйста, авторизуйтесь для просмотра ссылки.
Можешь сделать что-бы rs или 1 не повторяло
А то за тебя кд сбрасывается))))
 
Nike.lua
Олдфаг
Статус
Оффлайн
Регистрация
13 Окт 2020
Сообщения
2,748
Реакции[?]
1,466
Поинты[?]
2K
JavaScript:
const enable = UI.AddCheckbox("Enable")

function on_player_say(  )  {
    me = Entity.GetLocalPlayer()
    text = Event.GetString("text")
    userid = Event.GetInt("userid")
    chatter = Entity.GetEntityFromUserID(userid)
    var split_text = text.split("")
    var str = ""
 
    if ( UI.GetValue( enable ) ) {
        if ( Entity.IsEnemy( chatter ) ) {
            for ( i = 0; i < split_text.length; i++ )
            {
                str += split_text[ i ][ Math.round( Math.random(  ) ) ? 'toUpperCase' : 'toLowerCase' ](  )
            }
            Cheat.ExecuteCommand( "say " + str )
        }
    }
}

Cheat.RegisterCallback("player_say", "on_player_say")
Харашо, только не бейте:cry:
 
Олдфаг
Статус
Оффлайн
Регистрация
14 Сен 2018
Сообщения
5,781
Реакции[?]
1,666
Поинты[?]
8K
JavaScript:
const enable = UI.AddCheckbox("Enable")

function on_player_say(  )  {
    me = Entity.GetLocalPlayer()
    text = Event.GetString("text")
    userid = Event.GetInt("userid")
    chatter = Entity.GetEntityFromUserID(userid)
    var split_text = text.split("")
    var str = ""

    if ( UI.GetValue( enable ) ) {
        if ( Entity.IsEnemy( chatter ) ) {
            for ( i = 0; i < split_text.length; i++ )
            {
                str += split_text[ i ][ Math.round( Math.random(  ) ) ? 'toUpperCase' : 'toLowerCase' ](  )
            }
            Cheat.ExecuteCommand( "say " + str )
        }
    }
}

Cheat.RegisterCallback("player_say", "on_player_say")
Харашо, только не бейте:cry:
спс
 
Начинающий
Статус
Оффлайн
Регистрация
25 Сен 2019
Сообщения
295
Реакции[?]
17
Поинты[?]
0
JavaScript:
const enable = UI.AddCheckbox("Enable")

function on_player_say(  )  {
    me = Entity.GetLocalPlayer()
    text = Event.GetString("text")
    userid = Event.GetInt("userid")
    chatter = Entity.GetEntityFromUserID(userid)
    var split_text = text.split("")
    var str = ""

    if ( UI.GetValue( enable ) ) {
        if ( Entity.IsEnemy( chatter ) ) {
            for ( i = 0; i < split_text.length; i++ )
            {
                str += split_text[ i ][ Math.round( Math.random(  ) ) ? 'toUpperCase' : 'toLowerCase' ](  )
            }
            Cheat.ExecuteCommand( "say " + str )
        }
    }
}

Cheat.RegisterCallback("player_say", "on_player_say")
Харашо, только не бейте:cry:
не робит
 
Олдфаг
Статус
Оффлайн
Регистрация
14 Сен 2018
Сообщения
5,781
Реакции[?]
1,666
Поинты[?]
8K
JavaScript:
const enable = UI.AddCheckbox("Enable")

function on_player_say(  )  {
    me = Entity.GetLocalPlayer()
    text = Event.GetString("text")
    userid = Event.GetInt("userid")
    chatter = Entity.GetEntityFromUserID(userid)
    var split_text = text.split("")
    var str = ""

    if ( UI.GetValue( enable ) ) {
        if ( Entity.IsEnemy( chatter ) ) {
            for ( i = 0; i < split_text.length; i++ )
            {
                str += split_text[ i ][ Math.round( Math.random(  ) ) ? 'toUpperCase' : 'toLowerCase' ](  )
            }
            Cheat.ExecuteCommand( "say " + str )
        }
    }
}

Cheat.RegisterCallback("player_say", "on_player_say")
Харашо, только не бейте:cry:
кста да
не робит
 
Похожие темы
Сверху Снизу