# DATA_RATING

*LSL constant*

```lsl
integer DATA_RATING = 4;
```

Deprecated. Used with llRequestAgentData to return the string '0, 0, 0, 0, 0, 0'. It formerly returned a comma-separated list of positive and negative ratings (behavior, appearance, and building) before ratings were removed from SL.

Constant groups: [AgentData](/constants/groups/AgentData/)

Used with [llRequestAgentData](/functions/llRequestAgentData/) to return the string "0, 0, 0, 0, 0, 0".

The CSV list returned used to contain the positive and negative ratings the user has acquired before ratings were removed from SL.

## History

- Originally returning:
- "`pos_behavior`, `neg_behavior`, `pos_appearance`, `neg_appearance`, `pos_building`, `neg_building`"
- Negative ratings were later removed, leaving this to return:
- "`pos_behavior`, 0, `pos_appearance`, 0, `pos_building`, 0"
- Much later ratings were removed outright leaving this to return:
- "0, 0, 0, 0, 0, 0"

## See also

### Constants

|

<table>
	<tr>
		<td>[DATA_ONLINE](/constants/DATA_ONLINE/)</td>
		<td>1</td>
		<td>([integer](https://wiki.secondlife.com/wiki/integer)) boolean</td>
		<td colspan="4">If the requested agent is online</td>
	</tr>
	<tr>
		<td>[DATA_NAME](/constants/DATA_NAME/)</td>
		<td>2</td>
		<td>[string](https://wiki.secondlife.com/wiki/string)</td>
		<td colspan="4">The requested agent's [legacy name](https://wiki.secondlife.com/wiki/Category:LSL_Avatar/Name)</td>
	</tr>
	<tr>
		<td>[DATA_BORN](/constants/DATA_BORN/)</td>
		<td>3</td>
		<td>[string](https://wiki.secondlife.com/wiki/string)</td>
		<td colspan="4">The account creation/"born on" date as a string in an ISO 8601 format of YYYY-MM-DD.</td>
	</tr>
	<tr>
		<td>[DATA_RATING](/constants/DATA_RATING/)</td>
		<td>4</td>
		<td>[llCSV2List](/functions/llCSV2List/)()</td>
		<td colspan="4">**Deprecated**: Returns \[0, 0, 0, 0, 0, 0\]<br />Used to return: \[pos_behavior, neg_behavior, pos_appearance, neg_appearance, pos_building, neg_building\]</td>
	</tr>
	<tr>
		<td rowspan="3">[DATA_PAYINFO](/constants/DATA_PAYINFO/)</td>
		<td rowspan="3">8</td>
		<td rowspan="3">([integer](https://wiki.secondlife.com/wiki/integer)) mask</td>
		<th colspan="3">Flag</th>
		<th>Description</th>
	</tr>
	<tr>
		<td colspan="2">[PAYMENT_INFO_ON_FILE](/constants/PAYMENT_INFO_ON_FILE/)</td>
		<td>0x1</td>
		<td>If payment info is on file.</td>
	</tr>
	<tr>
		<td colspan="2">[PAYMENT_INFO_USED](/constants/PAYMENT_INFO_USED/)</td>
		<td>0x2</td>
		<td>If payment info has been used.</td>
	</tr>
</table>

### Functions

- [llRequestAgentData](/functions/llRequestAgentData/)

### Events

- [dataserver](/events/dataserver/)

---

*Source: [DATA RATING](https://wiki.secondlife.com/wiki/DATA_RATING) on the Second Life Wiki. Content from the Second Life Wiki articles DATA RATING (revision 1181048, 2013-08-30) and Template:LSL Constants/llRequestAgentData (revision 1167410, 2012-05-17), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/DATA_RATING/
