Project

General

Profile

Feature #4587

Add $dictlang() identifier to check if an dictionary is currently installed

Added by westor (GR) 3 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
05/15/2019
Due date:
% Done:

0%

Estimated time:
Operative System:
All

Description

Hello,

It would be nice if there was an identifier to check if a dictionary language is currently installed or not in AdiIRC, this can be helpful for scripting purposes.

Usage : $dictlang(Name)

The parameters will be according all the supported dictionary languages that you can install now in AdiIRC (https://dev.adiirc.com/projects/adiirc/wiki/Spellcheck#Downloadable-Dictionaries)

$true = If it is installed.
$false = If it is not installed.
$null = If the dictionary package is not in the supported list.

Examples :

Command: //echo -a IS: $dictlang(en-US)
Results: $true
Command: //echo -a IS: $dictlang(el-GR)
Results: $false
Command: //echo -a IS: $dictlang(foobar)
Results: $null

- Thanks!

Also available in: Atom PDF