Skip to content
View in the app

A better way to browse. Learn more.

Learn more

lineup-partners/README.txt

README.txt
45 lines · 2.1 KB · Text
Raw
Lineup Partners 1.0.0 (olds.ro)
===============================

Jailbreak: the warden says /pairs and the living prisoners are paired at
random for an activity. Each pair gets one readable token such as RED-LAMP,
so partners can find each other by calling it out. With an odd number, one
prisoner is "waiting". Each prisoner is told privately in chat and on screen;
/partner repeats it to them alone.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - The Jailbreak core "[JB] Core" (library "jailbreak",
    github.com/al1k24/JailBreak-ReAPI), which provides jb_get_simon_id()

Install
  1. Compile scripting/olds_pairs.sma and copy olds_pairs.amxx to
     addons/amxmodx/plugins/, below the Jailbreak core in plugins.ini.
     The compiler needs ReAPI's include files next to the stock includes.
  2. Copy data/lang/olds_pairs.txt to addons/amxmodx/data/lang/.
  3. Copy configs/olds_pairs.txt to addons/amxmodx/configs/ and edit the
     tokens if you like.

Use
  say /pairs            warden only: pair the living prisoners now; saying it
                        again makes new pairs
  say /partner          your token and your partner (only you see it)
  olds_pairs_status     the current lineup (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_pairs.cfg, created on first run)
  olds_pairs_max 24     most prisoners in one lineup (2-32); extra prisoners
                        are left out and told they are not in it

Details
  - The warden is whoever jb_get_simon_id() names; anyone else is refused
    with a warden-only message. Prisoners are the living terrorists.
  - Seven prisoners make three pairs, and one prisoner is waiting.
  - Tokens come from configs/olds_pairs.txt (letters, digits and '-', up to
    23 characters); each pair gets a different one. If the file has too few,
    PAIR-1, PAIR-2... are used.
  - The lineup is cleared when another player becomes warden (checked every
    second) and at every round restart. A prisoner whose partner dies or
    leaves is told they are now waiting.

No downloads: tokens appear in chat and a DHUD line.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.