Results 1 to 10 of 21

Thread: Install Nanny (bot)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    IIRC you need to find the position which says say $msg and replace it with tell $playerid $msg... and hack that into Perl code ^^

    Edit:

    I checked the source now, this seems to be it: https://github.com/voron00/Nanny/blo...nanny.pl#L2749

    Try to replace this:

    PHP Code:
    &rcon_command("say $name^7: Вы можете использовать ^1!stats ^7чтобы узнать свою подробную статистику"); 
    With:

    PHP Code:
    &rcon_command("tell $slot $name^7: Вы можете использовать ^1!stats ^7чтобы узнать свою подробную статистику"); 
    But since the !say $name scheme is like over 20 times there, you gotta replace it in every line.
    Last edited by kung foo man; 12th March 2017 at 02:13. Reason: checked actual source
    timescale 0.01

  2. The Following User Says Thank You to kung foo man For This Useful Post:

    sttte93 (12th March 2017)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •