########### # TAC Config File # # Example ~/.tacrc # # This file is sourced after the internal commands are # registered but before log in. You can use this # file to set up default user and password, control # certian options within the program, and even create # your own commands. ########### # By setting either of these you will skip the matching prompt. #set SCREENNAME "myscreenname" #set PASSWORD "mypassword" # If you have buddies you talk to frequently, you can place them # here. Presets may now have 2 digits. You can then reference # them just by typing the number. # set ::TAC(defbud,1) buddy1 # set ::TAC(defbud,2) buddy2 # set ::TAC(defbud,10) buddy3 # You can register frequently used chat rooms here, just like the # buddies. Don't forget to join the room first! # set ::TAC(defchat,1) TicToc # set ::TAC(defchat,2) Linux # set ::TAC(defchat,10) ChatRoom # If there are away messages you use frequently, you can register # them here, in spots 0-9. So now you won't have to register the # messages each time you sign on to TAC. # set ::TAC(awaymessage,0) "At lunch, be back in an hour." # set ::TAC(awaymessage,1) "Be right back" # set ::TAC(awaymessage,2) "Sleeping. Be back when I wake up." # set ::TAC(awaydef) "I am away right now." ;# Default away message # If you want buddies who IM you to be automatically added to the list # (if there's room), uncomment the following line: # set ::TAC(autobud) 1 # This is used to set a chat preset automatically every time you # enter a chat room. set ::TAC(autochat) 1 # Want to set your info? Make sure info.tcl is in the packages directory. # tac_set_info "Info" # To add timestamps to your messages: # set ::TAC(time) 1 # To add timestamps on buddy arrive and leave: # set ::TAC(btime) 1 # To add timestamps to chat messages # set ::TAC(ctime) 1 # 12 or 24 Hour time in timestamps and /date command? set ::TAC(time12) 12 # set ::TAC(time12) 24 # Log your IM sessions to a file. set ::TAC(logfile) "~/.taclog" # these can be either 1 or 0. Defaults to ON for all options. set ::TAC(log) 1 ;# Whether or not to log at all set ::TAC(logwhat,iim) 1 ;# log incoming IMs set ::TAC(logwhat,oim) 1 ;# log outgoing IMs set ::TAC(logwhat,ichat) 1 ;# log incoming Chat messages set ::TAC(logwhat,ochat) 1 ;# log outgoing Chat messages set ::TAC(logwhat,achat) 1 ;# log chat room announcements set ::TAC(logwhat,session) 1 ;# log session start and end set ::TAC(logwhat,buddyin) 1 ;# log when buddies sign on set ::TAC(logwhat,buddyout) 1 ;# log when buddies sign off # This controls whether chat room names or IDs are displayed # (leave only one option uncommented) # set ::TAC(nameid) 0 ;# ID set ::TAC(nameid) 1 ;# name # set ::TAC(nameid) 2 ;# both # Pager options set ::TAC(morestring) "--MORE--" ;# String to be displayed in 'pager' set ::TAC(pagerlen) 23 ;# Number of lines to display # Registering new commands is simple. Just create a procedure that # the executes the action and register it with a regexp expression. # Always use tac_output to place output to the screen. You may place # as many as you like below. # See the packages for some examples.