You need to clarify what you're searching for. Your earlier post said you wanted:
"Ideally, I'd want to be searching for the following:
! <Then the command from $2>:# <The $chan from twitch> :"
which means to me that your syntax for removing the command would be to exclude the ! from $2 because your example here showed the ! as being something to attach to a $2 which doesn't contain the !
If you want to have the $2 begin with the ! then you want to change from
var %match $+(!,$2,:,$chan,:)
to
var %match $+($2,:,$chan,:)
I still don't know what you're wanting your disk file to look like, or how you want to execute your installed commands, because a line beginning like !testing:##maroon: isn't going to be executed without some scripting.
Also, unless you're trying to create alias commands that the bot will execute, why are you loading this into the remote tab of scripts editor? You obviously don't have 'monitor file changes' enabled in the script editor, because otherwise each time you write to a loaded script file it's triggering the 'are you sure' prompt
Edit: since you don't need the path when writing to the file, if you still think you need to /load the file, then you don't need the path there either. Also, the period trailing the ending curly brace shouldn't be there, because nothing should be touching that { } pair except possibly having the event's colon preceding the opening {
You can tell the period causes a problem, since it causes Ctrl+H to report a mismatched bracket
Last edited by maroon; 03/06/22 03:39 PM.