# ScriptStrings

The **ScriptStrings** object is returned by the [**DOpus**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/dopus)**.strings** property. It lets you access any strings defined via [string resources](https://chaoses-ib.gitbook.io/directory-opus/manual/scripting/resources/string_resources).

| Property Name | Return Type                                                                                                                       | Description                                                                                                                                                                                                  |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| langs         | *object:*[**Vector**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/vector) | Returns a [**Vector**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/vector) of strings representing the languages that strings have been defined for. |

| Method Name | **Arguments**                               | Return Type | Description                                                                                                                                                                                                                                                                                          |
| ----------- | ------------------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Get         | <p>\<string:name><br>\<string:language></p> | *string*    | <p>Returns the text of a string specified by name. The name must match the name used in the string resources.<br>Optionally you can provide a language name as the second parameter, to retrieve a string from a particular language. Otherwise, the string is returned in the current language.</p> |
| HasLanguage | \<string:language>                          | *bool*      | Returns **True** if strings in the specified language are defined in the resources.                                                                                                                                                                                                                  |
