My reply wasnt to you it was about something someone else said.
Any way, ill read the following....
I have been working on a bot and I found out how tiring it can be to change the ` in all of the scripts in the bot (there is a lot) and so I was wondering if there was a way I can like do this
on 1:text:%tregister:#:
%t = `
instead of changing the trigger for everysingle command, that would make it much easyier.
Any other way works as well, any ideas
Alright, let me getr this straight, the code has soemthing like
on *:TEXT:!register:#:{ ..... }
on *:TEXT:!quote:#:{ ..... }
on *:TEXT:!blah *:#:{ ..... }
and you would like to change it to
on *:TEXT:`register:#:{ ..... }
on *:TEXT:`quote:#:{ ..... }
on *:TEXT:`blah *:#:{ ..... }
but later you mighty wanty to change to something else again like
on *:TEXT:@register:#:{ ..... }
on *:TEXT:@quote:#:{ ..... }
on *:TEXT:@blah *:#:{ ..... }
if this is the case, then change it once to this
alias trigger.prefix return @
on *:TEXT:$($+($trigger.prefix,register)):#:{ ..... }
on *:TEXT:$($+($trigger.prefix,quote)):#:{ ..... }
on *:TEXT:$($+($trigger.prefix,blah *)):#:{ ..... }
this well mena you simple change
alias trigger.prefix return @
to
alias trigger.prefix return !
or
alias trigger.prefix return `
etc
PS: if all the triggers are in the same file then use
alias -l trigger.prefix return `
^ placing that in the same file of course!
this well allow only that file to access that trigger prefix, aka you can use another one in another file.