Author Topic: Checking user for mod status  (Read 1878 times)

0 Members and 1 Guest are viewing this topic.

Sizzles

  • Youngling
  • *
  • Posts: 48
  • Karma: +1/-0
    • View Profile
Checking user for mod status
« on: May 07, 2017, 04:05:07 PM »
Okay so a while back i made a kill command and it can't kill my mods. So how would i make it so mods can't use the command in general? Would it be something like
Code: [Select]
@if@[@user@||@lookupinfo@[@l_userclass@,@user@]||Mod Level 1||You can't kill @target@ because you are a mod||@if@[@lookupinfo@[@l_userclass@,@user@]||Mod Level 2||You can't kill @target@ because you are a mod||!kill_1 @target@[1]]]

Sizzles

  • Youngling
  • *
  • Posts: 48
  • Karma: +1/-0
    • View Profile
Re: Checking user for mod status
« Reply #1 on: May 08, 2017, 04:50:44 PM »
Never mind i actually figured it out myself. it is
Code: [Select]
@if@[@userclass@||Mod level 1||Sorry but mods can't do this command||@if@[@userclass@||Mod Level 2||Sorry but mods can't do this command||@if@[@target@||RevloBot||You can't kill the bots!||@if@[@lookupinfo@[@l_userclass@,@target@]||Deepbot||You can't kill the bots!||@if@[@lookupinfo@[@l_userclass@,@target@]||Mod Level 1||You can't kill @target@ as they are a mod FailFish||@if@[@lookupinfo@[@l_userclass@,@target@]||Mod Level 2||You can't kill @target@ as they are a powerful mod. Fear them and their godly powers! SwiftRage||@if@[@lookupinfo@[@l_userclass@,@target@]||Streamer||You can't kill the majestic Shyfoxx! You'd ruin the show! BibleThump||!kill_3 @target@]]]]]]]

DanSizn

  • Youngling
  • *
  • Posts: 35
  • Karma: +0/-0
    • View Profile
  • Twitch Name: DanSizn
Re: Checking user for mod status
« Reply #2 on: May 13, 2017, 11:39:52 AM »
How would you have the bot add mod access to both the channel and bot to a user?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Checking user for mod status
« Reply #3 on: May 13, 2017, 12:08:22 PM »
Not sure what you mean.
Old Name: RepentGamingTV
Twitch: Here

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

DanSizn

  • Youngling
  • *
  • Posts: 35
  • Karma: +0/-0
    • View Profile
  • Twitch Name: DanSizn
Re: Checking user for mod status
« Reply #4 on: May 18, 2017, 04:20:31 PM »
For example;

Right now I have to add an mod manually to my channel on twitch chat and then edit the user access on the bot to give mod.

What I want to do is !givemod @target@ so it runs a mod command in the twitch channel and gives the user access on the bot mod as well.

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Checking user for mod status
« Reply #5 on: May 18, 2017, 09:48:53 PM »
You would just enable syncing on mods from twitch in your Master Settings. Then when you give someone mod, it will sync it with the bot to give them deepbot mod ;)
Old Name: RepentGamingTV
Twitch: Here

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