/tg/ Station 13 - Modules - Types — Var Details - Proc Details

graffiti_manager

One admin's Graffiti Manager window: the current map's graffiti a page at a time, to find, look at, jump to and delete.

Vars

pageThe page shown, from 1.
searchWhat a listed placement's ckey or painter's character name holds, escaped as character names are kept, or "" to list them all.
sortThe rows' order: "date" for the newest first, "ckey" or "area".

Procs

confirmAsks the admin to confirm a deletion. The question waits for their answer, so this also checks they are still an admin once they give it.
placements_withReturns the map's placements whose field has a value, such as one account's or one piece's.
reportLogs an admin's deletion and tells the other admins.
ui_actHandles the window's actions. Each deletion asks the admin first, then is logged and told to the other admins with how many placements went. Nothing is deleted while the map's graffiti is still loading.
ui_dataLists one page of the map's graffiti.
ui_interactOpens the window, or refreshes the open one. It refreshes only after its own actions, as listing the rows reads every placement.
ui_stateAdmins only.

Var Details

page

The page shown, from 1.

search

What a listed placement's ckey or painter's character name holds, escaped as character names are kept, or "" to list them all.

sort

The rows' order: "date" for the newest first, "ckey" or "area".

Proc Details

confirm

Asks the admin to confirm a deletion. The question waits for their answer, so this also checks they are still an admin once they give it.

Arguments:

Returns:

placements_with

Returns the map's placements whose field has a value, such as one account's or one piece's.

Arguments:

Returns:

report

Logs an admin's deletion and tells the other admins.

Arguments:

ui_act

Handles the window's actions. Each deletion asks the admin first, then is logged and told to the other admins with how many placements went. Nothing is deleted while the map's graffiti is still loading.

Arguments:

Returns:

ui_data

Lists one page of the map's graffiti.

Arguments:

Returns:

ui_interact

Opens the window, or refreshes the open one. It refreshes only after its own actions, as listing the rows reads every placement.

Arguments:

ui_state

Admins only.

Arguments:

Returns: