mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-31 07:57:47 +01:00
port ADMIN_VERB and friends (#30646)
* port ADMIN_VERB and friends * some renaming * dumb * one more rename * never search and replace this codebase * fix TM issues, more renaming * add a static analysis to shore up user verbs * fix double message on roundstart * remove macro we're not using yet * convert remaining playsounds verbs * convert more verbs i missed somehow * why is this a completely different signature than everything else * fix ui_interact arg * fix logging view and others * buncha issues caught in TM * fix mentor tickets ui * fix bug report viewing * moron
This commit is contained in:
@@ -105,13 +105,7 @@
|
||||
popup.set_content(popup_data.Join())
|
||||
popup.open(FALSE)
|
||||
|
||||
// Just a simple verb so admins can do manual lookups
|
||||
/client/proc/ccbdb_lookup_ckey()
|
||||
set name = "Global Ban DB Lookup"
|
||||
set category = "Admin"
|
||||
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
|
||||
var/input_ckey = input(usr, "Please enter a ckey to lookup", "Global Ban DB Lookup")
|
||||
holder.create_ccbdb_lookup(input_ckey)
|
||||
/// Just a simple verb so admins can do manual lookups
|
||||
USER_VERB(ccbdb_lookup_ckey, R_ADMIN, "Global Ban DB Lookup", "Lookup global bans by ckey.", VERB_CATEGORY_ADMIN)
|
||||
var/input_ckey = input(client, "Please enter a ckey to lookup", "Global Ban DB Lookup")
|
||||
client.holder.create_ccbdb_lookup(input_ckey)
|
||||
|
||||
Reference in New Issue
Block a user