Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Red scripts - ScoutLink
# Woggle Scripts - ScoutLink

ChanOp- og IRCop-script for ScoutLink Scandinavia, på dansk, norsk, svensk og engelsk.<br>
mIRC · ZoiteChat/HexChat · HexDroid · WeeChat · irssi · Halloy · [Woggle](docs/install/no.md#woggle)

**[Last ned](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest)** · [Bidra](docs/CONTRIBUTING.md) · [Plan](docs/PLAN.md)
**[Last ned](https://github.com/WoggleSL/woggle-scripts/releases/latest)** · [Bidra](docs/CONTRIBUTING.md) · [Plan](docs/PLAN.md)

Basert på Oppdagerens ScoutLink-script og R3ds gamle mIRC-script, skrevet om og utvidet for flere klienter. Takk til Oppdageren for grunnlaget.

Vedlikeholdes av [WoggleSL](https://github.com/WoggleSL) sammen med [Woggle](https://github.com/WoggleSL/woggle), IRC-klienten vår for ScoutLink-chanops. Ikke et offisielt ScoutLink-produkt.

| | Installer | Guide | Funksjoner | Støttenivå |
|---|---|---|---|---|
Expand Down
2 changes: 1 addition & 1 deletion dist/hexchat/scoutlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@
'mask': None,
'index': 48},
{'label': 'Liste', 'raw': 'STATS G', 'ask': None, 'mask': None, 'index': 49}]}],
'base_url': 'https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download',
'base_url': 'https://github.com/WoggleSL/woggle-scripts/releases/latest/download',
'update_mode': 'ask',
'update_hours': 24}

Expand Down
4 changes: 2 additions & 2 deletions dist/hexdroid/scoutlink.hex
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ on NUMERIC {
on SIGNAL:sl_unban { raw MODE $1 -b $2 }

on SIGNAL:sl_updcheck {
http.get https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/version.txt sl_updgot
http.get https://github.com/WoggleSL/woggle-scripts/releases/latest/download/version.txt sl_updgot
timer 86400000 sl_updcheck
}

Expand All @@ -434,7 +434,7 @@ on SIGNAL:sl_updgot {
while (%i < 3) {
if ($get(%new, %i) > $get(%old, %i)) {
toast ScoutLink: ny versjon er klar
echo -s ScoutLink $trim($httpbody) er klar. Last ned https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.hex og importer den i Scripts.
echo -s ScoutLink $trim($httpbody) er klar. Last ned https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.hex og importer den i Scripts.
return
}
if ($get(%new, %i) < $get(%old, %i)) { return }
Expand Down
10 changes: 5 additions & 5 deletions dist/installer-config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"repository": "R3disme/Red-Scripts---Scoutlink",
"repository": "WoggleSL/woggle-scripts",
"version": "0.0.10",
"base_url": "https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download",
"release_url": "https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest",
"api_latest": "https://api.github.com/repos/R3disme/Red-Scripts---Scoutlink/releases/latest",
"guide_url": "https://github.com/R3disme/Red-Scripts---Scoutlink/blob/main/docs/guide/{lang}.md",
"base_url": "https://github.com/WoggleSL/woggle-scripts/releases/latest/download",
"release_url": "https://github.com/WoggleSL/woggle-scripts/releases/latest",
"api_latest": "https://api.github.com/repos/WoggleSL/woggle-scripts/releases/latest",
"guide_url": "https://github.com/WoggleSL/woggle-scripts/blob/main/docs/guide/{lang}.md",
"title": "ScoutLink Scripts",
"publisher": "ScoutLink Scandinavia",
"texts": {
Expand Down
2 changes: 1 addition & 1 deletion dist/irssi/scoutlink.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@
"If you just want to chat, please use the channels instead of private messages (see https://www.scoutlink.net/rules/)"
]
},
"base_url": "https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download",
"base_url": "https://github.com/WoggleSL/woggle-scripts/releases/latest/download",
"update_mode": "ask",
"update_hours": 24,
"starter_order": {
Expand Down
2 changes: 1 addition & 1 deletion dist/mirc-install.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
//if ($version < 7.56) { echo -a ScoutLink: mIRC 7.56+ | halt } | var %d = $mircdir $+ scripts | var %f = %d $+ \scoutlink.mrc | if (!$isdir(%d)) mkdir $qt(%d) | var %b = %d $+ \slboot.mrc | write -c $qt(%f) | write -c $qt(%b) alias sl.boot $chr(123) if ( $chr(36) $+ urlget( $+ $chr(36) $+ 1).state == ok) .load -rs $qt(%f) $chr(124) echo -a ScoutLink $chr(36) $+ iif( $+ $chr(36) $+ isalias(sl),OK - høyreklikk på et nick / right-click a nick,: nedlasting feilet / download failed) $chr(124) .timer 1 1 .unload -rs $qt(%b) $chr(125) | .load -rs $qt(%b) | noop $urlget(https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.mrc,gf,%f,sl.boot) | .timersl.upd 0 86400 sl.upd.check | echo -a ScoutLink: laster ned / downloading ...
//if ($version < 7.56) { echo -a ScoutLink: mIRC 7.56+ | halt } | var %d = $mircdir $+ scripts | var %f = %d $+ \scoutlink.mrc | if (!$isdir(%d)) mkdir $qt(%d) | var %b = %d $+ \slboot.mrc | write -c $qt(%f) | write -c $qt(%b) alias sl.boot $chr(123) if ( $chr(36) $+ urlget( $+ $chr(36) $+ 1).state == ok) .load -rs $qt(%f) $chr(124) echo -a ScoutLink $chr(36) $+ iif( $+ $chr(36) $+ isalias(sl),OK - høyreklikk på et nick / right-click a nick,: nedlasting feilet / download failed) $chr(124) .timer 1 1 .unload -rs $qt(%b) $chr(125) | .load -rs $qt(%b) | noop $urlget(https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.mrc,gf,%f,sl.boot) | .timersl.upd 0 86400 sl.upd.check | echo -a ScoutLink: laster ned / downloading ...
2 changes: 1 addition & 1 deletion dist/mirc/scoutlink.mrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; DA: Lavet ud fra scripts.yaml af tools/build.py. Ret YAML-filen, ikke denne fil.
; EN: Generated from scripts.yaml by tools/build.py. Edit the YAML, not this file.
alias -l sl.ver return 0.0.10
alias -l sl.base return https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download
alias -l sl.base return https://github.com/WoggleSL/woggle-scripts/releases/latest/download
alias -l sl.ini return $scriptdir $+ scoutlink.ini
alias -l sl.ircop return $iif($readini($sl.ini,n,settings,ircop) == 1,$true,$false)
alias -l sl.autoreply return $iif($readini($sl.ini,n,settings,autoreply) == 0,$false,$true)
Expand Down
2 changes: 1 addition & 1 deletion dist/weechat/scoutlink-weechat.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@
'#help) or tell me what you need help with.',
'If you just want to chat, please use the channels instead of private messages (see '
'https://www.scoutlink.net/rules/)']},
'base_url': 'https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download',
'base_url': 'https://github.com/WoggleSL/woggle-scripts/releases/latest/download',
'update_mode': 'ask',
'update_hours': 24}

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/da.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ScoutLink Scripts - Sådan bruger du ScoutLink

Denne installation er version 0.0.10 · [Åbn downloadsiden](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest) · [Norsk](no.md) · [Svenska](sv.md) · [English](en.md)
Denne installation er version 0.0.10 · [Åbn downloadsiden](https://github.com/WoggleSL/woggle-scripts/releases/latest) · [Norsk](no.md) · [Svenska](sv.md) · [English](en.md)

<a id="features"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ScoutLink Scripts - How to use ScoutLink

This installer is version 0.0.10 · [Open the download page](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest) · [Norsk](no.md) · [Dansk](da.md) · [Svenska](sv.md)
This installer is version 0.0.10 · [Open the download page](https://github.com/WoggleSL/woggle-scripts/releases/latest) · [Norsk](no.md) · [Dansk](da.md) · [Svenska](sv.md)

<a id="features"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/no.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ScoutLink Scripts - Slik bruker du ScoutLink

Denne installasjonen er versjon 0.0.10 · [Åpne nedlastingssiden](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest) · [Dansk](da.md) · [Svenska](sv.md) · [English](en.md)
Denne installasjonen er versjon 0.0.10 · [Åpne nedlastingssiden](https://github.com/WoggleSL/woggle-scripts/releases/latest) · [Dansk](da.md) · [Svenska](sv.md) · [English](en.md)

<a id="features"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/sv.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ScoutLink Scripts - Så använder du ScoutLink

Den här installationen är version 0.0.10 · [Öppna nedladdningssidan](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest) · [Norsk](no.md) · [Dansk](da.md) · [English](en.md)
Den här installationen är version 0.0.10 · [Öppna nedladdningssidan](https://github.com/WoggleSL/woggle-scripts/releases/latest) · [Norsk](no.md) · [Dansk](da.md) · [English](en.md)

<a id="features"></a>

Expand Down
14 changes: 7 additions & 7 deletions docs/install/da.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n

🥇 Guld · Windows, Linux

1. Hent [ScoutLink-Setup-Windows.exe](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Windows.exe) eller [ScoutLink-Setup-Linux](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Linux) og kør det.
1. Hent [ScoutLink-Setup-Windows.exe](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Windows.exe) eller [ScoutLink-Setup-Linux](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Linux) og kør det.
2. Sæt kryds ved din klient og tryk Installer. Programmet tjekker at Python-tilføjelsen er på plads.
3. Uden programmet: læg [scoutlink.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.py) i mappen `addons` og genstart klienten.
3. Uden programmet: læg [scoutlink.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.py) i mappen `addons` og genstart klienten.

> 📷 *Skærmbillede fra ZoiteChat kommer.*

Expand All @@ -64,7 +64,7 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n

🥈 Sølv · Android · Knappanel i stedet for højreklik. Siger til, når en ny version er ude.

1. Hent [scoutlink.hex](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.hex) på telefonen.
1. Hent [scoutlink.hex](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.hex) på telefonen.
2. I HexDroid: menuen, **Scripts**, **Import file**, og vælg scoutlink.hex.
3. Skriv `/sl nick` i en kanal for at åbne panelet med knapper.

Expand All @@ -76,7 +76,7 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n

🥈 Sølv · Linux, macOS

1. Kør ScoutLink-Setup-Linux, eller hent [scoutlink-weechat.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-weechat.py) og gem den som `~/.local/share/weechat/python/scoutlink.py`.
1. Kør ScoutLink-Setup-Linux, eller hent [scoutlink-weechat.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-weechat.py) og gem den som `~/.local/share/weechat/python/scoutlink.py`.
2. Lav et link i `python/autoload`, så starter den af sig selv: `ln -s ../scoutlink.py ~/.local/share/weechat/python/autoload/`
3. Skriv `/python load scoutlink.py`, og så `/sl lang da`.

Expand All @@ -88,7 +88,7 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n

🥈 Sølv · Linux, macOS

1. Kør ScoutLink-Setup-Linux, eller hent [scoutlink.pl](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.pl) til `~/.irssi/scripts/`.
1. Kør ScoutLink-Setup-Linux, eller hent [scoutlink.pl](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.pl) til `~/.irssi/scripts/`.
2. Lav et link i `autorun`, så starter den af sig selv: `ln -s ../scoutlink.pl ~/.irssi/scripts/autorun/`
3. Skriv `/script load scoutlink`, og så `/sl lang da`.

Expand All @@ -100,8 +100,8 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n

🥉 Bronze · Windows, Linux, macOS · Kommer med ScoutLink-temaet (lyst og mørkt).

1. Kør installationsprogrammet, eller indsæt indholdet af [scoutlink-halloy.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-halloy.toml) i Halloys `config.toml`.
2. Vil du have ScoutLink-farverne: læg [scoutlink-dark.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-dark.toml) og [scoutlink-light.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-light.toml) i `themes`, og skriv `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` øverst i `config.toml`.
1. Kør installationsprogrammet, eller indsæt indholdet af [scoutlink-halloy.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-halloy.toml) i Halloys `config.toml`.
2. Vil du have ScoutLink-farverne: læg [scoutlink-dark.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-dark.toml) og [scoutlink-light.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-light.toml) i `themes`, og skriv `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` øverst i `config.toml`.
3. Brug de korte kommandoer, for eksempel `/wcapsd Ola` eller `/kspame Ola`. Ban laver du i mIRC, ZoiteChat/HexChat, WeeChat eller irssi.
4. Installationsprogrammet tilføjer også serveren `chat.scoutlink.net` (port 6697, TLS) med #scandinavia og #help, uden adgangskode, og kan installere Halloy for dig, hvis du ikke har det.

Expand Down
14 changes: 7 additions & 7 deletions docs/install/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo

🥇 Gold · Windows, Linux

1. Download [ScoutLink-Setup-Windows.exe](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Windows.exe) or [ScoutLink-Setup-Linux](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Linux) and run it.
1. Download [ScoutLink-Setup-Windows.exe](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Windows.exe) or [ScoutLink-Setup-Linux](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Linux) and run it.
2. Tick your client and press Install. The program checks that the Python plugin is there.
3. Without the program: put [scoutlink.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.py) in the `addons` folder and restart the client.
3. Without the program: put [scoutlink.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.py) in the `addons` folder and restart the client.

> 📷 *ZoiteChat screenshot coming.*

Expand All @@ -64,7 +64,7 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo

🥈 Silver · Android · Button panel instead of right-click. Tells you when a new version is out.

1. Download [scoutlink.hex](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.hex) on your phone.
1. Download [scoutlink.hex](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.hex) on your phone.
2. In HexDroid: the menu, **Scripts**, **Import file**, and choose scoutlink.hex.
3. Type `/sl nick` in a channel to open the panel with buttons.

Expand All @@ -76,7 +76,7 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo

🥈 Silver · Linux, macOS

1. Run ScoutLink-Setup-Linux, or download [scoutlink-weechat.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-weechat.py) and save it as `~/.local/share/weechat/python/scoutlink.py`.
1. Run ScoutLink-Setup-Linux, or download [scoutlink-weechat.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-weechat.py) and save it as `~/.local/share/weechat/python/scoutlink.py`.
2. Make a link in `python/autoload` so it starts by itself: `ln -s ../scoutlink.py ~/.local/share/weechat/python/autoload/`
3. Type `/python load scoutlink.py`, then `/sl lang en`.

Expand All @@ -88,7 +88,7 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo

🥈 Silver · Linux, macOS

1. Run ScoutLink-Setup-Linux, or download [scoutlink.pl](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.pl) to `~/.irssi/scripts/`.
1. Run ScoutLink-Setup-Linux, or download [scoutlink.pl](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.pl) to `~/.irssi/scripts/`.
2. Make a link in `autorun` so it starts by itself: `ln -s ../scoutlink.pl ~/.irssi/scripts/autorun/`
3. Type `/script load scoutlink`, then `/sl lang en`.

Expand All @@ -100,8 +100,8 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo

🥉 Bronze · Windows, Linux, macOS · Comes with the ScoutLink theme (light and dark).

1. Run the installer, or paste the contents of [scoutlink-halloy.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-halloy.toml) into Halloy's `config.toml`.
2. For the ScoutLink colours: put [scoutlink-dark.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-dark.toml) and [scoutlink-light.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-light.toml) in `themes`, and add `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` at the top of `config.toml`.
1. Run the installer, or paste the contents of [scoutlink-halloy.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-halloy.toml) into Halloy's `config.toml`.
2. For the ScoutLink colours: put [scoutlink-dark.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-dark.toml) and [scoutlink-light.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-light.toml) in `themes`, and add `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` at the top of `config.toml`.
3. Use the short commands, for example `/wcapse Ola` or `/kspame Ola`. Bans are done in mIRC, ZoiteChat/HexChat, WeeChat or irssi.
4. The installer also adds the server `chat.scoutlink.net` (port 6697, TLS) with #english and #help, no password, and can install Halloy for you if you do not have it.

Expand Down
Loading