Author Topic: Executing a SUFFIX command  (Read 4898 times)

TheThingIs

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 278
    • HCS Voicepacks
Executing a SUFFIX command
« on: July 18, 2016, 05:04:50 PM »
I want to execute a SUFFIX command, why can't I do this? (short and sweet question haha) :D
The Singularity profile - One profile to rule them all and at HCS we bound them ;)

You see, TheThingIs, eventually you'll be allright.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Executing a SUFFIX command
« Reply #1 on: July 18, 2016, 05:58:38 PM »
A suffix requires a prefix to make what is called a composite command.  Prefixes and suffixes are specific things which are not intended to be complete commands.  I believe there was a time when you *could* call a prefix or suffix as a subcommand by name, but that was removed because it was messing people up in some way.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Executing a SUFFIX command
« Reply #2 on: July 18, 2016, 08:42:32 PM »
If you're just looking to add an optional section to your command to trigger something:

Command [Suffix;]
Code: [Select]
Begin Text Compare : [{CMD}] Ends With 'Suffix'
End Condition

TheThingIs

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 278
    • HCS Voicepacks
Re: Executing a SUFFIX command
« Reply #3 on: July 19, 2016, 01:48:33 PM »
Thanks for the answers. I'll move the contents of the suffix to a full command so I can execute it from elsewhere and just execute that command from the suffix. Bit of a dirty workaround as I was trying to reduce commands and jumping about all over the place but it'll do the job :)
The Singularity profile - One profile to rule them all and at HCS we bound them ;)

You see, TheThingIs, eventually you'll be allright.