]> Provides an interface to the chat functions. Commands ======== chat:help <-- show this help screen For commands affecting a chat connection you can either use their name (eg. Nick) or their connection number (eg. 5). Both appear when you type "&prefix;chats". General ------- &prefix;chats <-- get connected chat list (note chat ID on left) &prefix;chatdetails [who] <-- shows full details for one or all connections &prefix;info <-- shows chat status and chat list Accept calls ------------ &prefix;accept <-- accept connections on current port &prefix;accept port <-- accept connections on 'port' eg. &prefix;accept 4052 &prefix;nocalls <-- stop accepting incoming calls Calling someone --------------- &prefix;call ip port <-- attempts to call user on at IP address and port &prefix;call ip <-- attempts to call user on at IP address, port 4050 &prefix;hangup who <-- hangs up a call &prefix;hangupall <-- hangs up all calls Chatting -------- &prefix;chat who xxx <-- sends message to person, eg. &prefix;chat Nick Hi there &prefix;chatall xxxx <-- sends message to all connections &prefix;cg group xxxx <-- sends message to everyone in group 'group' &prefix;emote who xx <-- emotes to one person, eg. &prefix;emote Nick laughs &prefix;emoteall xxx <-- emotes to all, eg. &prefix;emoteall sighs &prefix;eg group xxxx <-- emotes to everyone in group 'group' Other ----- &prefix;command who xxx <-- send command "xxx" to that person &prefix;group who xxx <-- places this person into group "xxx" &prefix;name newname <-- change your chat name, eg. &prefix;name Nick &prefix;peek who <-- peek this person's connections &prefix;paste who <-- paste clipboard to this connection &prefix;pasteall <-- paste clipboard to everybody &prefix;ping who <-- ping this connection &prefix;request who <-- try to connect to this person's connections &prefix;sendfile who <-- send a file to this connection &prefix;stopfile who <-- stop sending a file to this connection &prefix;snoop who <-- start/stop snooping this connection Flags ----- &prefix;allowcommands who <-- allow them to send me commands &prefix;allowfiles who <-- allow them to send me files &prefix;allowsnoop who <-- allow them to snoop me &prefix;ignore who <-- ignore them &prefix;private who <-- mark connection private &prefix;served who <-- mark them as incoming &prefix;noallowcommands who <-- turn off above options &prefix;noallowfiles who &prefix;noallowsnoop who &prefix;noignore who &prefix;noprivate who &prefix;noserved who ChatMessage (ChatGetID ("%1"), 30, "") ChatMessage (ChatGetID ("%1"), 105, "%2") if SetChatOption (ChatGetID ("%1"), "can_snoop", 1) == 0 then Note "Snooping for %1 enabled" end -- if if SetChatOption (ChatGetID ("%1"), "group", "%2") == 0 then Note "%1 is now in group '%2'" end -- if if SetChatOption (ChatGetID ("%1"), "can_snoop", 0) == 0 then Note "Snooping for %1 disabled" end -- if if SetChatOption (ChatGetID ("%1"), "can_send_files", 1) == 0 then Note "File sending for %1 enabled" end -- if if SetChatOption (ChatGetID ("%1"), "can_send_files", 0) == 0 then Note "File sending for %1 disabled" end -- if if SetChatOption (ChatGetID ("%1"), "can_send_commands", 1) == 0 then Note "Command sending for %1 enabled" end -- if if SetChatOption (ChatGetID ("%1"), "can_send_commands", 0) == 0 then Note "Command sending for %1 disabled" end -- if if SetChatOption (ChatGetID ("%1"), "ignore", 1) == 0 then Note "Now ignoring %1" end -- if if SetChatOption (ChatGetID ("%1"), "ignore", 0) == 0 then Note "Not ignoring %1" end -- if if SetChatOption (ChatGetID ("%1"), "private", 1) == 0 then Note "%1 is now marked private" end -- if if SetChatOption (ChatGetID ("%1"), "private", 0) == 0 then Note "%1 is now NOT private" end -- if if SetChatOption (ChatGetID ("%1"), "served", 1) == 0 then Note "%1 is now marked as served (incoming)" end -- if if SetChatOption (ChatGetID ("%1"), "served", 0) == 0 then Note "%1 is now NOT marked as served (ie. now outgoing)" end -- if ChatPasteText (ChatGetID ("%1")) ChatPasteEverybody () ChatPing (ChatGetID ("%1")) ChatSendFile (ChatGetID ("%1"), "") ChatStopFileTransfer (ChatGetID ("%1")) ChatPeekConnections (ChatGetID ("%1")) ChatRequestConnections (ChatGetID ("%1")) ChatAcceptCalls (%1) ChatAcceptCalls (0) ChatNameChange "%1" ChatStopAcceptingCalls () ChatPersonal ("%1", "%2", 0) ChatGroup ("%1", "%2", 0) ChatGroup ("%1", "%2", 1) ChatEverybody ("%1", 0) ChatList () ChatEverybody ("%1", 1) ChatDisconnect (ChatGetID ("%1")) ChatDisconnectAll () ChatInfo () ChatPersonal ("%1", "%2", 1) ChatCall ("%1", 0) ChatCall ("%1", %2) ChatDetails (ChatGetID ("%1")) ShowChats ()