$lock

From Scriptwiki
Revision as of 14:33, 10 May 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns $true or $false for the lock settings on items in the Lock dialog.

$lock(item/#/N)

You can also use $lock(N) where N returns the Nth channel in the limit channels listbox, or you can specify a channel name instead of N.

Items: send, get, chat, query, fserve, channels, com, decode, dll, run

Example

$lock(dll)   returns $true if DLLs are locked

$lock(0)     returns the number of channels in the limit channels listbox

$lock(2)     returns the second channel in the limit channels listbox

See Also

  • $locked - returns $true if mIRC is currently locked