Browse Source

Added all public channels. Refactored action listener to use a list for ease of maintenance.

pull/2/head
Thorsten Pfister 6 years ago
parent
commit
fb955f0162
  1. 66
      src/channels.tin

66
src/channels.tin

@ -17,27 +17,55 @@
#ACTION {^You cre-tell:%1} {#LINE {LOG} {$chat_file}};
#ACTION {^(Playerkillers) %1 wisps{:|} %2} {
#if {"$talker_log_toggle" == "1"} {
#LINE {LOG} {$chat_file}
};
};
#ACTION {^(Thieves) %1 wisps{:|} %2} {
#if {"$talker_log_toggle" == "1"} {
#LINE {LOG} {$chat_file}
};
};
#ACTION {^(Wizards) %1 wisps{:|} %2} {
#if {"$talker_log_toggle" == "1"} {
#LINE {LOG} {$chat_file}
};
};
#ACTION {^(Igame) %1 wisps{:|} %2} {
#if {"$talker_log_toggle" == "1"} {
#LINE {LOG} {$chat_file}
};
#VAR {talker_channels} {
{adventurers}{^(Adventurers)}
{amPalaceGuard}{^(Ankh-MorporkPalaceGuard)}
{apex}{^(Apex)}
{assassins}{^(Assassins)}
{atuin}{^(A'Tuin)}
{conlegiumSicariorum}{^(ConlegiumSicariorum)}
{dead}{^(Dead)}
{djelianGuard}{^(DjelianGuard)}
{duchessSaturdaysMusketeers}{^(DuchessSaturday'sMusketeers)}
{fish}{^(Fish)}
{gapp}{^(Gapp)}
{gufnork}{^(Gufnork)}
{hashishim}{^(Hashishim)}
{hat}{^(Hat)}
{hublandishBarbarians}{^(HublandishBarbarians)}
{hunters}{^(Hunters)}
{igame}{^(Igame)}
{imperialGuard}{^(ImperialGuard)}
{intermud}{^(Intermud)}
{klatchianForeignLegion}{^(KlatchianForeignLegion)}
{lancreHighlandRegiment}{^(LancreHighlandRegiment)}
{manoRossa}{^(ManoRossa)}
{ninjas}{^(Ninjas)}
{one}{^(One)}
{pishe}{^(Pishe)}
{playerkillers}{^(Playerkillers)}
{playtesters}{^(Playtesters)}
{priests}{^(Priests)}
{quiz}{^(Quiz)}
{samurai}{^(Samurai)}
{sandelfon}{^(Sandelfon)}
{sek}{^(Sek)}
{thieves}{^(Thieves)}
{two}{^(Two)}
{warriors}{^(Warriors)}
{weaponMastersCourt}{^(WeaponMasters'Court)}
{witches}{^(Witches)}
{wizards}{^(Wizards)}
};
#FOREACH {$talker_channels[%*]} {talker_channel} {
#ACTION {$talker_channel %1 wisps{:|} %2} {
#if {"$talker_log_toggle" == "1"} {
#LINE {LOG} {$chat_file}
};
};
}
#ALIAS {talker log %1} {
#if {%1 == "on"} {
#var {talker_log_toggle} {1};

Loading…
Cancel
Save