Author Topic: One command for 2 funtions  (Read 1391 times)

0 Members and 1 Guest are viewing this topic.

Godzinhu

  • Youngling
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Godzinhu
One command for 2 funtions
« on: May 25, 2017, 03:01:32 PM »
Hello, someone my help me please ? I want to set a command to act in two distinct situations, i want a command to send my discord when the viewer uses !discord command, but when a vip uses the same command a diferent message appears for exemple:

Viewer uses !discord, then a bot send a message "join my discord blablabla"

When a VIP uses !discord the bot send a diferent message like "link your discord with the bot to get full acess"

i have done this command a very long time ago but i really dont remmember, i appreciate any help, tank you.

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: One command for 2 funtions
« Reply #1 on: May 25, 2017, 09:04:34 PM »
@if@[@lookupinfo@[@l_userclass@,@user@]||Viewer||Join my discord blablabla||Link your discord with the bot to get full access]
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport