Adminhelp prompts will now be larger to allow you to proofread large responses and PMs (#345)
* bigger box * even bigger well not really, but it's better anyway * fuck i didn't tick these * bigger /me input double emote size as well, stop complaining about cutoffs and don't make me regret this * cleanup
This commit is contained in:
@@ -15,16 +15,15 @@
|
||||
return
|
||||
say(message) //only carbons actually whisper, everything else just talks
|
||||
|
||||
/mob/verb/me_verb(message as text)
|
||||
/mob/verb/me_verb()
|
||||
set name = "Me"
|
||||
set category = "IC"
|
||||
|
||||
if(say_disabled) //This is here to try to identify lag problems
|
||||
to_chat(usr, "<span class='danger'>Speech is currently admin-disabled.</span>")
|
||||
return
|
||||
|
||||
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
|
||||
|
||||
var/list/replace_chars = list("\n"=" ","\t"=" ")
|
||||
var/message = copytext(sanitize((input(src,"New lines are handled as spaces","Emote", "") as message|null), replace_chars), 1, (MAX_MESSAGE_LEN*2))
|
||||
usr.emote("me",1,message)
|
||||
|
||||
/mob/proc/say_dead(var/message)
|
||||
|
||||
Reference in New Issue
Block a user