Vote for Islands of Myth on Top Mud Sites
firstprevious1nextlast
channel captureSun May 22 03:36:32 2011 MST
Snoop
player
offline
Here are some triggers to capture channels to a seprate chat window.



Triggers:



#TRIGGER {PARTY_LINE} {#cap chat} "channels" {mxp}

#TRIGGER {CLAN_LINE} {#cap chat} "channels" {mxp}



#TRIGGER {PLAYER_BOUGHT_LINE} {#if (%ismember( %mxp.channel_name, @logged_channels)) {#cap chat}} "channels" {mxp}



#TRIGGER {GUILD_LINE} {#if (%ismember( %mxp.guild_name, @logged_channels)) {#cap chat}} "channels" {mxp}



#TRIGGER {CHANNEL_LINE} {#if (%ismember( %mxp.channel_name, @logged_channels)) {#cap chat}} "channels" {mxp}



And an alias:

#ALIAS monitor {#if (%ismember( %1, @logged_channels)) {#var logged_channels %delitem( %1, @logged_channels) _nodef channels;#sa Stopped logging %1} {#var logged_channels %additem( %1, @logged_channels) _nodef channels;#sa Started logging %1}} "channels"



Party and clan channels will automatically get captured to a 'chat' window with this setup. For other channels you can do monitor <channel_name> and it will capture that channel for you.



Monitor toggles capture on/off so monitor myth will start capture, and monitor myth again will end it.
>channel captureMon May 23 21:05:26 2011 MST
Korthrun
player
online
On Sun May 22 03:36:32 2011 Snoop wrote post #8:
>
> #ALIAS monitor {#if (%ismember( %1, @logged_channels)) {#var
logged_channels %delitem( %1, @logged_channels) _nodef channels;#sa Stopped
logging %1} {#var logged_channels %additem( %1, @logged_channels) _nodef
channels;#sa Started logging %1}} "channels"
>
>
>
> Party and clan channels will automatically get captured to a 'chat' window
with this setup. For other channels you can do monitor <channel_name> and it
will capture that channel for you.
>
>
>
> Monitor toggles capture on/off so monitor myth will start capture, and
monitor myth again will end it.
This is sexy
Well done sir
>channel captureFri Sep 25 14:02:39 2015 MST
Abeo
admin
offline
avatar
You can add something like the following to the trigger before the '#cap':

:chat:#SAYP %ansi( grey)%time( "hh:mm:ss")%char( 32)



This will add a timestamp before the msg in the chat window. Might want to change the ansi color to whatever you want to use.
firstprevious1nextlast