mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-13 11:12:14 +00:00
Makes a hotkey for asay
This commit is contained in:
@@ -58,7 +58,7 @@ SUBSYSTEM_DEF(input)
|
|||||||
"North", "East", "South", "West",
|
"North", "East", "South", "West",
|
||||||
"Northeast", "Southeast", "Northwest", "Southwest",
|
"Northeast", "Southeast", "Northwest", "Southwest",
|
||||||
"Insert", "Delete", "Ctrl", "Alt",
|
"Insert", "Delete", "Ctrl", "Alt",
|
||||||
"F1", "F2", "F5", "F6", "F7", "F8", "F12",
|
"F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12",
|
||||||
)
|
)
|
||||||
|
|
||||||
for(var/i in 1 to oldmode_keys.len)
|
for(var/i in 1 to oldmode_keys.len)
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
/datum/admins/key_down(_key, client/user)
|
/datum/admins/key_down(_key, client/user)
|
||||||
switch(_key)
|
switch(_key)
|
||||||
|
if("F3")
|
||||||
|
user.asay()
|
||||||
|
return
|
||||||
if("F5")
|
if("F5")
|
||||||
user.admin_ghost()
|
user.admin_ghost()
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -78,6 +78,7 @@
|
|||||||
|
|
||||||
var/adminhotkeys = {"<font color='purple'>
|
var/adminhotkeys = {"<font color='purple'>
|
||||||
Admin:
|
Admin:
|
||||||
|
\tF3 = asay
|
||||||
\tF5 = Aghost (admin-ghost)
|
\tF5 = Aghost (admin-ghost)
|
||||||
\tF6 = player-panel
|
\tF6 = player-panel
|
||||||
\tF7 = admin-pm
|
\tF7 = admin-pm
|
||||||
|
|||||||
Reference in New Issue
Block a user