Author Topic: Highlight Command  (Read 1684 times)

0 Members and 1 Guest are viewing this topic.

jr_uk

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: jr_uk
Highlight Command
« on: January 09, 2016, 10:31:49 PM »
Hi,

I have 2 questions surrounding the highlight command

1) Is there a way to change the location of the highlight log file at all? I understand its in there but I want my mods to have access to it as they create some of my highlights, for some reason my google drive wont let me share that file to it, so I wanted to instead change the save location to my google drive folder.

2) Is there a way to have my bot reply when one of my mods runs the !highlight command, as they are unsure whether its saved and running it multiple times.

Thanks

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: Highlight Command
« Reply #1 on: January 10, 2016, 01:14:50 AM »
1) Assuming you are making the command yourself and are running the bot as an admin, yes. With your command give the full path to where you need it to save to. For example for me to save the highlight text in my public dropbox folder it'd be

Code: [Select]
@savelog@[C:\Users\Jordan\Dropbox\Public\highlight.txt, @uptime@]
Using @savelog@ will make sure that you don't overwrite any previous highlights already made in there. This will of course mean you'll need to clear the list but otherwise, should work ok. Tested this myself and it does appear to work quite well.

To answer your original question though about being able to change the location of the highlight command itself, I'm afraid not to my knowledge

2) Chain another command (Under command chaining when you go to edit a command) on top of the custom one you make and use the following depending how you want it to be.

If you want the bot to whisper to the person
Code: [Select]
/w @user@ Highlight created, thank youIf you want the bot to just type in chat
Code: [Select]
@user@ just marked this down as the greatest moment in all history. Contribution to science recognised
Thanks,
Dante557

If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

jr_uk

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: jr_uk
Re: Highlight Command
« Reply #2 on: January 10, 2016, 06:52:11 AM »
Thank you for this, thats great :)