Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[forums.alliedmods.net] [TF2] SourceIRC ItemBotLite (Item Relay)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 10.01.2012 07:58

<p>

[TF2] SourceIRC ItemBotLite
Version 1.1.0






Description:

Announces item transactions (found, traded, crafted, etc) to IRC with item name and quality.

Example:
Dołączona grafika

Requires SourceIRC.

Note:
ItemBotLite is a version of ItemBot that does not use the now nonfunctional Backpack hook extension. Since without Backpack hook the plugin must hook the item_found event, some features are not longer possible.

Commands:

sm_reloaditembot - Reloads configs

IRC Commands:

backpack or bp: Returns a TF2B backpack link for a user
Examples:

  • bp "Player on server"
  • bp STEAM_0:1:123456
  • bp CustomSteamURL

Cvars:
  • sm_itembot_version - Plugin Version
  • sm_itembot_debug "0" - Set to "1" to print name debugging info.
  • sm_itembot_timestamp "1" - Show/hide item timestamps
  • sm_itembot_showsteams "1" - Show steamids when players disconnect (for looking at backpacks later)
  • sm_itembot_timeoffset - number of seconds to correct server clock by
Install Instructions:
  • Place ItemBot.smx into your addons/sourcemod/plugins/ folder.
  • Place ItemBot_Items.kv in addons/sourcemod/configs/.
  • Edit your sourceirc.cfg and add "items" "1" to the channels where you want to see items.
  • Edit the cvars in the ItemBot.cfg file.
Notes:

ItemBot_Items.txt:

This file does not need to be edited except to add any new items Valve may add in the future.

It is a direct copy-paste of the (item) related bits in items_game.txt

sourceirc.cfg Example:



Code: "#MyChannel"
{
"relay" "1" // Tell the RelayAll module to relay messages to this channel
"cmd_prefix" "!" // Ontop of calling the bot by name, you can also use "!" in this channel
"items" "1"
}
"#MyOtherChannel"
{
"ticket" "1" // Tell the ticket module to send tickets to this channel
"items" "1" // Prints all items to this channel
}
"#Ninja"
{
"items" "1" // Prints all items to this channel
}

Version History:
  • V1.1.0
  • Initial release

Attached Files Dołączona grafika ItemBotLite v1.1.0.zip (80.4 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 1

0 użytkowników, 1 gości, 0 anonimowych