Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

5. Commands

Radek Valášek edited this page Feb 22, 2020 · 10 revisions

Weechat Remote Control (WRECON) commands and options:

--- ADD botid botkey [a note]

Add remote bot for your control. By command ADVERTISE you will know botid, but the botkey you need receive by safe way. Opposite of command ADD is command DEL.

/wrecon ADD jgex64T7p7W8K8Eh WtXWfsyQEy8BkbuyCh8Eyp2eRjcjApsKs3yQYa5nrz91YEHyfz0phgXRshC7CnwG
/wrecon ADD RCeKqWVbIUXNIP9E GAd5IJ6i25LRZVRXks4B0tEn3UnRA77LMeg80r1P9PcE7V0okuneyoUT7Yt3YAN9 ronnie

--- ADV[ERTISE]

Show your botid in Channel and also other bots will show their IDs

/wrecon ADV
/wrecon ADVERTISE

--- DEL botid

Delete remote bot from your control.

/wrecon DEL 1cDKnpGB3tyN2uMd

--- G[RANT] botid [a note]

Grant access to your system for remote bot by botid. For update of note of GRANTed bot you can do execute GRANT command again with a new note. Opposite of command GRANT is command REVOKE.

/wrecon GRANT I57r6Qba0DCIrIaB
/wrecon G SINdphEIQ4qILRZO
/wrecon G SYQnJUt4NJhLB2Kh Alice from Wonderland

--- H[ELP]

Command will show short help of commands (overview). For detailed help use /help wrecon.

/wrecon h
/wrecon help

--- L[IST] A[DDED]|G[RANTED]

List of ADDED bots you can control, or GRANTED bots which can control your system.

/wrecon LIST ADDED
/wrecon L A
/wrecon LIST G
/wrecon L GRANTED

--- M[E]

Show information about your bot Name, ID and KEY. In case you have registered Server and Channel, these informations will be shown as well. Information is displayed only to your buffer and not send to the Channel.

/wrecon M
/wrecon ME

--- REG[ISTER] channel_key encrypt_key

Register current channel for controlling remote bot's. You have to be actively connected to server and joined in channel you need register. Opposite of command REGISTER is command UNREGISTER.

/wrecon REG raFQPmFB tSoOxFlpkaoF02dL
/wrecon REGISTER CPiPZ9TJ N8Ee24wERuG2FuWi

--- REN[AME] M[YBOT]|botid a new name

Rename bot. For local bot use option M or MYBOT, for remote botid.

/wrecon RENAME MYBOT johny depp
/wrecon RENAME 9xUhXBgawdW87KsF little pirate
/wrecon REN M fred

--- REV[OKE] botid

Revoke granted access to your system of remote bot.

/wrecon REVOKE tjVoHSPaMzHvAp3T
/wrecon REV 67ZGcnHzqbBf7RMs

--- SSH botid

Start remote SSH for your access on remote bot.

/wrecon SSH fcrvXsk98RkUSPKc

--- UNREG[ISTER]

Unregister channel of controlling remote bot's.

/wrecon UNREG
/wrecon UNREGISTER

--- UP[DATE] [botid]

(since version 1.10)

Update script from github. This will check new released version, and in case newest version is found, it will trigger update. You can also update remote BOT if you are GRANTED to do. With no argument it will trigger update of local BOT, else update for remote BOT will be called.

/wrecon UP
/wrecon UPDATE jsIv4m8V8939PCwy