Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: Sizzles on May 07, 2017, 04:05:07 PM

Title: Checking user for mod status
Post by: Sizzles 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]]]
Title: Re: Checking user for mod status
Post by: Sizzles 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@]]]]]]]
Title: Re: Checking user for mod status
Post by: DanSizn 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?
Title: Re: Checking user for mod status
Post by: TheNumbLock on May 13, 2017, 12:08:22 PM
Not sure what you mean.
Title: Re: Checking user for mod status
Post by: DanSizn 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.
Title: Re: Checking user for mod status
Post by: TheNumbLock 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 ;)