mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 00:26:02 +01:00
Tweak hotkey change
This commit is contained in:
@@ -162,11 +162,15 @@ var/list/mentor_verbs_default = list(
|
||||
// This not really a great place to put it, but this verb replaces adminhelp in hotkeys so that people requesting help can select the type they need
|
||||
// You can still directly adminhelp if necessary, this ONLY replaces the inbuilt hotkeys
|
||||
|
||||
/client/verb/requesthelp(msg as text)
|
||||
/client/verb/requesthelp()
|
||||
set category = "Admin"
|
||||
set name = "Request help"
|
||||
set hidden = 1
|
||||
|
||||
if(tgui_alert(usr, "Select the help you need.","Request for Help",list("Adminhelp","Mentorhelp")) == "Mentorhelp")
|
||||
var/mhelp = tgui_alert(usr, "Select the help you need.","Request for Help",list("Adminhelp","Mentorhelp")) == "Mentorhelp"
|
||||
var/msg = tgui_input_text(usr, "Input your request for help.", "Request for Help")
|
||||
|
||||
if (mhelp)
|
||||
mentorhelp(msg)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user