Identifiers

Top  Previous  Next

 

Identifiers are also commands, but instead of performing other commands, they return a value.

 

 

$asteriscs

Syntax: $asteriscs(text)

Returns the given text with asteriscs around every word.

 

$b.nick

Syntax: $b.nick(channel,banmask)

Returns the nickname(s) that match [banmask], in the given channel.

 

$ban.list

Syntax: $ban.list(user@host,channel)

Checks if the given user@host exists in channel's banlist

Returns $true or $false.

 

$channels

Syntax: $channels

Returns the channels you are currently in, seperated by spaces.

 

$chans

Syntax: $chans(nickname | user@host,flag)

Returns the channels of the given nickname or user@host, for the given flag.

If not any, it returns $null.

 

$cchans

Syntax: $cchans(nick)

Returns the common channels you have with nick.

 

$cochans

Syntax: $cochans(nick)

Returns the common channels you have with nick, in which you are opped.

 

$cs

Syntax: $cs

Returns the CService subdirectory.

 

$flags

Syntax: $flags(nickname | user@host)

Returns the flags of the given nickname or user@host.

If not any, it returns $null.

 

$gone

Syntax: $gone

Returns the duration of awaytime.

 

$htgc

Syntax: $htgc

Returns the protected channels, seperated by commas.

 

$info

Syntax: $info(nickname | user@host)

Returns the info of the given nickname or user@host.

If not any, it returns $null.

 

$is.chan

Syntax: $is.chan(user_channels,channel)

Used with $chans and checks if channel is valid for a user's channels, of a given flag.

Returns $true or $false.

 

$is.op

Syntax: $is.op(channel,nick)

Returns the nickname in @+ format.

 

$pass

Syntax: $pass(nickname | user@host)

Returns the op password of the given nickname or user@host.

If not any, it returns $null.

 

$reason

Syntax: $reason(nickname | user@host)

Returns the ban reason of the given nickname or user@host.

If not any, it returns $null.

 

$user

Syntax: $user(nick|user@host)

Checks if a user is added in your Userlist.

Returns $true or $false.

 

               Properties supported:

 

               hosts                Returns the user@hosts that the user has.

               flags                Returns the flags that the user has.

               pass                Returns the password that the user has.

               info                Returns the info that the user has.

               reason                Returns the ban reason that a user has.

               a                Returns the channels in which the user is AutoOpped.

               b                Returns the channels in which the user is Banned.

               c                Returns the channels in which the user is Protected from the Clone Kick.

               d                Returns the channels in which the user is Deoped.

               i                Returns the channels in which the user has Info.

               o                Returns the channels in which the user is Opped.

               p                Returns the channels in which the user is Protected.

               v                Returns the channels in which the user is Voiced.

 

               If none of these exist, returns $null.