[MIRROR] Tweaks ahelps, mhelps and their respective pms to allow multiline entry into the text boxes (#7954)

Co-authored-by: Runa Dacino <dacinoorder@gmail.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-03-13 05:29:43 -07:00
committed by GitHub
parent f54d7bad95
commit 06164012f5
2 changed files with 7 additions and 7 deletions

View File

@@ -163,7 +163,7 @@ var/list/mentor_verbs_default = list(
if(T) // CHOMPedit - Ticket System
message_mentors("<span class='mentor_channel'>[src] has started replying to [C]'s mentor help.</span>")
var/msg = tgui_input_text(src,"Message:", "Private message to [C]")
var/msg = tgui_input_text(src,"Message:", "Private message to [C]", multiline = TRUE)
if (!msg)
message_mentors("<span class='mentor_channel'>[src] has cancelled their reply to [C]'s mentor help.</span>")
return
@@ -181,7 +181,7 @@ var/list/mentor_verbs_default = list(
set hidden = 1
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")
var/msg = tgui_input_text(usr, "Input your request for help.", "Request for Help", multiline = TRUE)
if (mhelp)
mentorhelp(msg)
@@ -215,7 +215,7 @@ var/list/mentor_verbs_default = list(
//get message text, limit it's length.and clean/escape html
if(!msg)
msg = tgui_input_text(src,"Message:", "Mentor-PM to [whom]")
msg = tgui_input_text(src,"Message:", "Mentor-PM to [whom]", multiline = TRUE)
if(!msg)
return