GetNetSetting
From ViRC Wiki
$GetNetSetting([network] setting)
Looks up a setting using the network entry and global configuration. If [network] is supplied, the entry by that name will be used instead of the currently active entry. Return values and available settings are:
- nicklength - integer
- modeargs - integer
- defnicks - string
- ident - string
- realname - string
- ident - string
- atchan - boolean
- multinicks - boolean
- scriptdata - string
[edit] Example
Alias NICK
If ($GetNetSetting($NetworkID() nicklength) < $length($1))
Messagebox Your chosen nick is too long for the network
Else
*Nick $1
EndIf
EndAlias

