TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

xchat (irc) in tmux

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Finished Scripts
View previous topic :: View next topic  
Author Message
goofy



Joined: 24 Mar 2008
Posts: 164

PostPosted: Fri Feb 14, 2014 10:43 pm    Post subject: xchat (irc) in tmux Reply with quote

A how to:
First go to xchat and enter preferences
(xchat is the default irc client for linuxmint)
set up logging and figure out where the log file is being saved
use tmux and -tail to keep up with xchat log

Here is the goods

Code:
Code:

#nop chat.tt

#class chat kill
#class chat open

#act {xchat %1} {
        #sys {mate-terminal -e 'xchat --minimize=2 --no-auto --existing --url=irc://irc.quakenet.org:6667/#spoon'};
        } {1}
    #script {path} {xchat -v}
    #show $path[1]

#alias {xchat %1} {
    #sys {context=`dbus-send --dest=org.xchat.service --print-reply --type=method_call /org/xchat/Remote org.xchat.plugin.FindContext string:"QuakeNet" string:"" | tail -n1 | awk '{print $2}'`};
    #sys {dbus-send --dest=org.xchat.service --type=method_call /org/xchat/Remote org.xchat.plugin.SetContext uint32:$context};
    #sys {dbus-send --dest=org.xchat.service --type=method_call /org/xchat/Remote org.xchat.plugin.Command string:"msg #spoon %1"};
    }

#class chat close


References:
http://www.alex.ballas.org/2010/11/16/sending-commands-to-xchat-from-the-command-line/
_________________
www.abandonedrealms.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Finished Scripts All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group