📓
TFS Guide
  • Preface
  • Progress
  • Unique TFS Concepts
  • Interface - Actions
    • Registration
    • Scripting
    • Revscriptsys
  • Interface - Chatchannels
    • Registration
    • Scripting
  • Interface - Creaturescripts
    • Registration
    • Scripting
    • Revscriptsys
  • Interface - Events
    • Registration
    • Scripting
  • Interface - Globalevents
    • Registration
    • Scripting
    • Revscriptsys
  • Interface - Monster
    • Registration
    • Scripting
    • Revscriptsys
  • Interface - Movements
    • Registration
    • Scripting
    • Revscriptsys
  • Interface - NPC
    • Registration
    • Scripting
  • Interface - Spells
    • Registration
    • Scripting
  • Interface - Talkactions
    • Registration
    • Scripting
  • Interface - Weapons
    • Registration
    • Scripting
  • Source Editing
    • Creating new events
    • Creating new Lua functions
  • Function Documentation
    • Game
Powered by GitBook
On this page
  • Structure
  • Example

Was this helpful?

  1. Interface - Chatchannels

Registration

Structure

  • id: Unique channel ID.

  • name: Channel name.

  • public: Values (1 or 0), if 1, the channel is public and thus can be joined by any player.

  • script: Lua script file name & location (base directory is data/chatchannels/scripts).

Example

<channel id="10" name="New Channel" public="1" script="new_channel_script.lua" />
PreviousRevscriptsysNextScripting

Last updated 5 years ago

Was this helpful?