/mob/proc/update_interface()
var/wasd_mode_activated = "WASD Mode Activated!"
var/wasd_mode_deactivated = "WASD Mode Deactivated!"
if(client)
if(winget(src, "mainwindow.hotkey_toggle", "is-checked") == "true")
wasd_mode_activated << "Test"
update_hotkey_mode()
else
wasd_mode_deactivated << "Test"
update_normal_mode()
/mob/proc/update_hotkey_mode()
// Ignore this
world << "Test"
winset(src, null, "mainwindow.macro=hotkeymode hotkey_toggle.is-checked=true mapwindow.map.focus=true input.background-color=#F0F0F0")
/mob/proc/update_normal_mode()
// Ignore this
world << "Test"
winset(src, null, "mainwindow.macro=macro hotkey_toggle.is-checked=false input.focus=true input.background-color=#D3B5B5")
Problem description:
I am trying to get text popped up in the chat to say "WASD Mode activated" when "mainwindow.macro=hotkeymode hotkey_toggle.is-checked=true mapwindow.map.focus=true input.background-color=#F0F0F0" happens but, I put "usr << "WASD Mode activated"" and went in game, pressed TAB and it didn't say it. I can't figure out why it won't.
If what I described doesn't make sense, we can talk about it over the pager.
to this: