You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting star original formatting in object macros #112
@staticdev As far as I know, RiveScript preprocesses the message (which remove the non-syntax-related characters such as ,Code Line 52 out before getting a reply Code Line 68). At this time of reply it doesn't (can't) recover the original formatting of the stars (in the end a regex match).
Activity
htdinh commentedon Nov 20, 2017
@staticdev As far as I know, RiveScript preprocesses the message (which remove the non-syntax-related characters such as
,Code Line 52 out before getting a reply Code Line 68). At this time of reply it doesn't (can't) recover the original formatting of the stars (in the end a regex match).htdinh commentedon Nov 20, 2017
Just in case someone wants to have a quick code. You need to set
star2(otherwise,staralone would return you the choice ofnameornames).