Skocz do zawartości
  • Drogi gościu!

    Tutaj możesz się zarejestrować lub zalogować:

[RSS Pluginy] [ANY] Simple Learning Bot


GLOBALELITE.pl

Rekomendowane odpowiedzi

  • GLOBALELITE.PL
Simple Learning Bot
Explain in easy way: This Bot can learn chat message from texts from players.
Description:
  • A bot that automatically learning chat messege from texts of players.
Console Variables:
  • sm_slbt "" - The interval between each chat. Default: "15.0"
  • sm_slbnv "" - The name of simple learning bot.(using for visible) Default: "*SPEC* {#CDCDCD}YUI <3{default}"
  • sm_slbnt "" - The name of simple learning bot.(using for trigger) Default: "YUI"
Commands:
  • sm_reloadslb - reload the configs learn.cfg and learn_a.cfg.
  • sm_add - add a string from learn.cfg.
  • sm_get - get a string from learn.cfg.
Installation:
  • Put the slb.smx in the addons/sourcemod/plugins/.
  • Put the learn.cfg and learn_a.cfg in the addons/sourcemod/configs/.
  • Put the plugin.slb.cfg in the cfg/sourcemod/.
Requirement: How it works?
Quote:
Player[1] : YUI
Player[1] : Hi
Then the "Hi" string will be added in config learn.cfg question address.

YUI <3 : Player[1], HI
Player[1] : Bye
Then the "Bye" string will be added in config learn.cfg answer address and config learn_a.cfg question address.

Player[1] : YUI
Player[1] : Hi
YUI <3 : Bye <- If "Hi" question(learn.cfg) having an answer, plugin will get answer from config learn.cfg answer address and print it out.
Player[1] : LOL
Then "LOL" string will be added in config config learn_a.cfg answer address.

YUI <3 : Player[1], HI
Player[1] : Bye
YUI <3 : LOL <- If "Bye" question(learn_a.cfg) having an answer, plugin will get answer from config learn_a.cfg and print it out.

YUI <3 : Player[1], Hi
After 15 seconds later.
YUI <3 : Player[2], Hi
Player[1] : Bye <- This answer will not be record because prevent not relative answer.
Changelog:
  • 1.0.0 Prototype of plugins
GitHub:
https://github.com/STARLITENAMO/Simple-Learning-Bot

Attached Files zip.gifSimple-Learning-Bot.zip (162.6 KB) sp.gifGet Plugin or Get Source (slb.sp - 18.1 KB)


Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=301003&goto=newpost

Odnośnik do odpowiedzi
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający

    Brak zarejestrowanych użytkowników przeglądających tę stronę.


O GLOBALELITE.PL


Chcemy pokazać absolutnie wszystkim, że człowiek jest zdolny do rzeczy wielkich! Potrzebujemy tylko waszej pomocy. Dzięki ciężkiej pracy chcemy udowodnić, że razem możemy wszystko! Szukamy ludzi ambitnych i skorych do poświeceń, ludzi którzy są godni, aby dołączyć do globalnej elity społeczności, którą traktuje się jak drugą rodzinę!

Istniejemy od 2014 r.

Motyw zrobiony przez doc

Strona zarządzana przez: Adam Plicha

Linki społecznościowe

Gdzie można nas znaleźć?


Facebook Teamspeak Discord

Linki forumowe

Linki z różnego rodzaju podaniami


Podanie o admina Prośba o unbana Propozycja Złóż skargę

Administracja

Oni odpowiedzą na Twoje pytania ;)


×
×
  • Dodaj nową pozycję...