Making a targeted command

How do I make a command that targets someone specific in chat and not someone randomly? I know this command is for someone random !commands add !slap $(user) has slapped $(urlfetch http://2g.be/twitch/randomviewer.php?channel=$(channel)). So how would I make it to target someone specific like for example: !slap @Songha_ and the message that comes out would be: LightBubba has slapped Songha.

Just use $(touser) like so:

!addcom -cd=5 !slap $(user) has slapped $(touser).

Thank you very much for this!

1 Like

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