Open shdeb opened 1 month ago
Feature to chain chat commands eg. usage: bot cancel;bot follow me here splitting the msg with a suitable delimiter( for eg. comma , is used in vocalizer.txt for cmd1,cmd2, so that may not be suitable).
bot cancel;bot follow me
,
cmd1,cmd2
Something similar to what is done for regular command args splitting. https://github.com/smilz0/Left4Lib/blob/60f1bc3ab4b8e51821d1ab67961a2fa262348492/root/scripts/vscripts/left4lib_users.nut#L478-L479 https://github.com/smilz0/Left4Lib/blob/60f1bc3ab4b8e51821d1ab67961a2fa262348492/root/scripts/vscripts/left4lib_users.nut#L490-L493
Thanks. Sounds like a cool feature to use with L4B2, since it already allows multiple orders.
Feature to chain chat commands eg. usage:
bot cancel;bot follow me
here splitting the msg with a suitable delimiter( for eg. comma,
is used in vocalizer.txt forcmd1,cmd2
, so that may not be suitable).Implementation
Something similar to what is done for regular command args splitting. https://github.com/smilz0/Left4Lib/blob/60f1bc3ab4b8e51821d1ab67961a2fa262348492/root/scripts/vscripts/left4lib_users.nut#L478-L479 https://github.com/smilz0/Left4Lib/blob/60f1bc3ab4b8e51821d1ab67961a2fa262348492/root/scripts/vscripts/left4lib_users.nut#L490-L493