Monument ShadowMUD

Chat

[04-19 23:08][Chat]Icewolfz: youd have to trigge ron the more prompt using part line type
[04-19 23:08][Chat]Icewolfz: then a 2nd trigger that triggers on the full line to clear the send timer
[04-19 23:08][Chat]Icewolfz: youd have ot use js to track all this
[04-19 23:09][Chat]Icewolfz: so its probaly bets ot do it in triggers as in code it woule even be more complex
[04-19 23:10][Chat]Icewolfz: so your best bet is to attempt it using 2 jimud triggers
[04-19 23:10][Chat]Icewolfz: one for a ^--More--.*$ as a command input pattern
[04-19 23:10][Chat]Icewolfz: ad one for ^--More--.*$ as a normal regualr pattern
[04-19 23:11][Chat]Icewolfz: as more is a prompt line so connad input is first
[04-19 23:11][Chat]Icewolfz: the normal woudl be afte ra full line
[04-19 23:12][Chat]Icewolfz: and use js and a simple window.moreprompt = setTimeout(()=>client.sendRaw('\r\n'));
[04-19 23:12][Chat]Icewolfz: for command type
[04-19 23:12][Chat]Icewolfz: and then clearTimeout(window.moreprompt) for the 2nd
[04-19 23:12][Chat]Icewolfz: probaly only way to do it
[04-19 23:12][Chat]Icewolfz: as doing it as part of jimud it self is more complex
[04-19 23:13][Chat]Icewolfz: granted its setTimeout(()=>client.sendRaw(
[04-19 23:13][Chat]Icewolfz: err setTimeout(()=>client.sendRaw(()=>client.sendRaw('\r\n'), 6000)
[04-19 23:13][Chat]Icewolfz: for got ot add the time
[04-19 23:14][Chat]Icewolfz: but ther eis no way to do it server side
[04-19 23:16][Chat]Icewolfz: granted ther are some hiccups clinent if text splits or such the prompt may get reset
[04-19 23:16][Chat]Icewolfz: eg if yo uhave atirgger that fires and it will stop the timeout
Back to List

ShadowMUD
03:54, Lockday, Sartki 17, 207 AD.

Vote for Our Mud on TMC! Desert Bus for Hope