User:Thundermaker300/TM-A/Doc

This page contains a documentation of magic that you can do using the admin.

Returns an array of Players that could be found in the given string 'find'. This allows for all things such as 'me','others','random', and commas between users. The speaker argument is required for 'me' and 'others'.

Returns the given player's admin rank.

Returns true if the given player has admin (does not include donor).

Sets the name of the player above their head to newName.

Attempts to char the player 'plr' as the person with the name 'playerName' (they do not have to be in-game). Returns "Success!" if successful, otherwise returns.

Displays a message, with the name of the message being pName, the icon of the message being pIcon, the message being message, and the message lasts duration seconds. caster is the person who sent the message. caster is required if the message is being sent by someone, and it is how the message is filtered.

WARNING: Not using caster when the player is sending something is fault on your end, and could get your account suspended.

Displays a list to the given plr. Inside the item array, there must be more arrays. In each of those arrays, there are 3 items. The first one is the name of the item, and is required. The second item is not required, and is the optional text that will show up when hovered. If not given, the hover text will be the name of the item. The last item is the color of the text. If not given, it will default to the ListTextColor setting.

Displays a notification to the given plr, with the given text, lasting for duration seconds. caster is the person who sent the message. caster is required if the notification is being sent by someone, and it is how the message is filtered.

WARNING: Not using caster when the player is sending something is fault on your end, and could get your account suspended.

Returns true if the given plr is a donor.

Attempts to set the plr's admin level to the given level. Returns whether or not it was successful.