Linked Commands

I am looking to link 2 commands to each other.

Command 1: !hug (a command to hug a user in chat [!hug wizebot] )
Command 2: !hugs (the hug counter command)

When someone uses the !hug user command, i want it to also add +1 to the hugs counter.

Hello,
You can use for “!hugs” this TAG :

$cmd_count(command_id)

:slight_smile:

That didnt work. to help clarify, when someone uses !hug user $(display_name) gives $arg(1) the biggest and most realistic cyber hug ever!! i want it to also increase the !hugs counter by 1

The TAG takes the counter of the command mentioned by the ID.

This is the right way!

You must however, set the !hug command ID in the TAG :slight_smile:

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.