From WikiChip
Difference between revisions of "mirc/identifiers/$lock"
(Created page with "{{mirc title|$lock Identifier}}'''$lock''' returns $true or $false depending on the lock setting for the given item in the Lock dialog option. == Synopsis == <pre>$lock(item|...") |
m (→Paramters: $lock(dll) was added in 5.71) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
* '''item''' - can be: | * '''item''' - can be: | ||
** '''startup''' - returns the setting for the 'ask for password: on startup' option | ** '''startup''' - returns the setting for the 'ask for password: on startup' option | ||
+ | ** '''sendmessage''' - returns the setting for the 'enable sendmessage server' option. | ||
+ | ** '''dll''' - returns the setting for the 'disable: dll' option | ||
** '''send''' - returns the setting for the 'disable: send' option | ** '''send''' - returns the setting for the 'disable: send' option | ||
** '''get''' - returns the setting for the 'disable: get' option | ** '''get''' - returns the setting for the 'disable: get' option | ||
Line 29: | Line 31: | ||
== See Also == | == See Also == | ||
− | |||
[[Category:mIRC identifiers]] | [[Category:mIRC identifiers]] |
Latest revision as of 19:19, 17 August 2021
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$lock returns $true or $false depending on the lock setting for the given item in the Lock dialog option.
Synopsis[edit]
$lock(item|#chan|N)
Paramters[edit]
- item - can be:
- startup - returns the setting for the 'ask for password: on startup' option
- sendmessage - returns the setting for the 'enable sendmessage server' option.
- dll - returns the setting for the 'disable: dll' option
- send - returns the setting for the 'disable: send' option
- get - returns the setting for the 'disable: get' option
- chat - returns the setting for the 'disable: chat' option
- query - returns the setting for the 'disable: query' option
- fserve - returns the setting for the 'disable: fserve' option
- channels - returns the setting for the checkbox of the 'limits channels to' option, you can access the different channel using the Nth parameter.
- tray - returns the setting for the 'hide tray menu window list when locked' option
- tips - returns the setting for the 'hide tips when locked' option
- N - returns the Nth channel in the list of limited channels
- #chan - returns the channel setting in the list of limited channels ($true if in the list)
Properties[edit]
None
Example[edit]
//echo -a $lock(tray)
Compatibility[edit]
Added: mIRC v5.61
Added on: 23 Sep 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.