Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xxxScorpion

Pages: [1] 2
1
The image linked in the CSS is a png and the outside around the image is transparent but it appears black when the widget is used. How do I got about removing the black?

CSS

@font-face {
    font-family: 'Calibri';
    src: url('fonts/Calibri.ttf');
}
#infoContainer {
    width: 262px;
    height: 55px;
    background: none;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
    color: none;
    font-family: 'Calibri';
    -webkit-box-shadow: none;
}
#infoHeader {
    width: 264px;
    height: 24px;
    background: none;
    background-image: url("none");
    background-repeat: no-repeat;
    background-size: 300px 24px;
    position: relative;
    top: 0px;
    left: -10px;
    overflow: hidden;
    line-height: 250%;
    text-align: center;
    font-size: 13px;
    vertical-align:bottom;
}
#infoContent {
    width: 100%;
    height: 100%;
    background: none;
    background-image: url("https://preview.ibb.co/nfrbaQ/new_brand_shout_bar_2.png");
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}
#infoContentText {
    width: 258px;
    height: 60px;
    background: none;
    position: absolute;
    top: 0px;
    left: 2px;
    overflow: hidden;
    color: black;
    text-transform: uppercase;
    font-size: 15px;
    vertical-align: middle;
}
#InfoImage {
    width: 90px;
    height: 90px;
    float: left;
    background-image: url("images/twitchLogo.png");
    background-repeat: no-repeat;
    background-size: contain;
}

Thanks a bunch

2
Regarding the remove all points, I believe you can do @editpoints@[all|-X]. Replace X with the number of points you are removing. It doesn't produce a chat message so you'll have to include a chat message in the command that you call this in. so for example you make a command called !removepoints and it takes a single argument, you would use it like "!removepoints 5". The command code would be "@target@ @pointsname@ have been removed from all users @editpoints@[all-@target@]"

I just saw this and yeah it totally works, thanks a bunch! Will be sure to include it in upcoming games.

3
Feature Requests / Re: Shortcut Keys for commands.
« on: July 14, 2017, 10:41:16 PM »
The listening is working and I've added my API as showed http://deepbot.deep.sg/forums/index.php?topic=4486.0 to CommandCLI.exe.config. Nothing is being triggered in deepbot though neither through key press or voice recognition. Any ideas? I had to generate my API as there wasnt one at first. also in the commandcli.exe.config it didn't look like it did in the guide. it instead had...

  </setting>
      <setting name="api_key" serializeAs="String">
        <value>
      </value>

      </setting>
    </CommandCLI.Properties.CommandCLI>
    <CommandCLI.CommandCLI>
      <setting name="ip" serializeAs="String">
        <value>127.0.0.1</value>
      </setting>
      <setting name="api_key" serializeAs="String">
        <value>xxxxx</value>
      </setting>
    </CommandCLI.CommandCLI>
  </userSettings>
</configuration>

I changed it to

  </setting>
      <setting name="api_key" serializeAs="String">
        <value>And put my API here</value>
      </setting>
    </CommandCLI.Properties.CommandCLI>
    <CommandCLI.CommandCLI>
      <setting name="ip" serializeAs="String">
        <value>127.0.0.1</value>
      </setting>
      <setting name="api_key" serializeAs="String">
        <value>xxxxx</value>
      </setting>
    </CommandCLI.CommandCLI>
  </userSettings>
</configuration>

4
Feature Requests / Shortcut Keys for commands.
« on: July 14, 2017, 07:52:04 PM »
I'd like shortcut keys to be added for commands or at least a few options for it in the master settings. Currently I want a command to activate at a moments notice and in current time not stream lagged time (therefore having viewers activate it would put it 30 seconds behind from the event that I wanted it to follow). As an example I used to use a death counter program that I could add or subtract but using a hot key of my choice.

5
Help/Support / Re: More advanced Fight command
« on: June 25, 2017, 12:32:19 PM »
My brain cant read all of that at the moment from just waking up but you can put this at the beginning of the command chain.

!fight @target@

@if@[@readfile@[fightgame.txt]||closed||@exec@[0,!fightgameon] @exec@[0,!fighter1] @exec@[0,!fighttarget] @exec@[60,!fighttimer] @exec@[!fighter2msg]||/w @user@ Someone else is currently fighting!]

!fightgameon

@savefile@[fightgame.txt,open]

!fighter1

@savefile@[fighter1.txt,@user@]


!fighttarget

@savefile@[fighttarget.txt,@target@]

!fighttimer

@if@[@readfile@[fighter2.txt]||none||!fightoff||!nothing]

!fightoff

@exec@[0,@savefile@[fighter1.txt,none]]

@exec@[0,@savefile@[fightgame.txt,closed]]

!nothing

(literally does nothing)

!fighter2msg

/w @user@ has challenged you to a fight! To accept enter !fighter2

!fighter2

@if@[@readfile@[fighttarget.txt]||@user@||@savefile@[fighter2.txt,@user@]|/w @user@ You aren't being challenged to a fight!

From here you link to the main fighting game commands.

After the fight has ended just link a final command to close all open slots.


!finalcommand

@exec@[0,@savefile@[fightgame.txt,closed]] @exec@[0,@savefile@[fighter1.txt,none]] @exec@[0,@savefile@[fighter2.txt,none]]

That should more or less do it. Just gotta figure out how to chain it to the current fight game.

6
Mine isn't the line number but more a verification that the requested text is in the file somewhere. It could be used for permissions or a mini game where users pick an option and it throws them into a txt file where it keeps track of more values for said mini game.

Though both of our search ideas would have tons of uses, would be awesome to get them.

7
Being able to search a savelog of usernames to check if they're on the list for a certain command or permissions for what not would be great. The ability to target each entry in the savelog with a command would be amazing as well.

Would also like !remove to function like !add (currency) all. As in I'd like to remove a certain amount of points from all users in the channel currently.

8
Help/Support / Re: Reading user from text file
« on: June 22, 2017, 12:01:20 AM »
You're welcome. Yeah it does indeed suck. Maybe eventually some search function could be added for @savelog@ files. Until then though at least it works for now. No

9
Help/Support / Re: Reading user from text file
« on: June 21, 2017, 08:21:36 PM »
Yeah as long as its in a different folder from any other @user@.txt type things you should be fine. The first half of your example should work fine, granted I cant confirm the rest without knowing what the targets are and all that.  But yeah, that should get what you want.

10
Help/Support / Re: Reading user from text file
« on: June 21, 2017, 06:43:49 PM »
@if@[@readfile@[(name of text file).txt]||@user@||!successcommand||!failcommand]

You can also just whisper the user that the command isn't ready or they arent the person in the text file by replacing "!failcommand" (or whatever the failcommand you have is called) with /w @user@ You aren't on the list!  Full example below.

@if@[@readfile@[supercoolguys.txt]||@user@||!successcommand||/w @user@ You aren't cool enough for this command!]

The issue however is that there isn't a way to search a @savelog@. So if you had a command that added people to a @savelog@ text file you wouldn't be able to search to see if they are within the file. There's no search function.

To remedy this you can have a command that makes a new txt file per user (Yeah, lots of text files...) and put in in a new folder. So in custom logs make a "coolguyslist" folder and then make the command below.

@savefile@[coolguylist/@user@.txt,@user@]

That makes a text file with the users name and checks to see if their name is inside it. From there you can run the @if@ command to check permissions.

11
Do you still need help?
What exactly are you trying to do?

I got it thank you. What I was trying to do was remove add background images to the widget panel and get all the text sized and displayed correctly within those images I made as background boxes. After messing around for like, the last 12 hrs and checking CSS options online I got it though.

12
I don't see the edit function. Replied again to say I mostly figured it out after messing with it and checking the other info containers.

13
Know nothing about CSS upfront, I've googled the options relevant to some of the properties and tried them as such but it didnt help much.

@font-face {
    font-family: 'Dolce Vita';
    src: url('fonts/Dolce Vita.ttf');
}
#infoContainer {
    width: 0px;
    height: 0px;
    background: none;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
    color: white;
    font-family: 'Dolce Vita';
    -webkit-box-shadow: none;
}
#infoHeader {
    width: 400px;
    height: 26px;
    background: none;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-size: 24px;

}
#infoContent {
    width: 400px;
    height: 94px;
    background: none;
    background-image: url("https://thumb.ibb.co/kWUua5/blue_shout_bar.png");
    position: fixed;
    overflow: hidden;
    color: white;
}
#infoContentText {
    text-align: center;
    display: table-cell;
    height: 80px;
    width: 300px;
    vertical-align: middle;
}
#InfoImage {
    width: 90px;
    height: 90px;
    float: left;
    background-repeat: no-repeat;
    background-size: contain;
}


In the Info content I made a background 400x94 per the WxH of that section but the background image is still enlarged and spills out of the panel and becomes hidden. No idea how to get it to retain the size so I can change the graphic accordingly and it shows the whole thing.

14
Help/Support / Command Privileges
« on: June 05, 2017, 12:09:32 PM »
In making commands Ive generally always used "!example" for the starting command and then labeled the following commands numerically for ease of use "!example2", "!example3" and so on. We can hide the chained commands but if someone happened to type "!example2" they could bypass or break parts of the chain. Running items under "bot" privileges If I remember correctly this also used to break the chain in the some way so Im just looking for clarification on it. If I want to put further chained commands after an initial command behind a wall in which users simply cant use them and bypass the initial command does using "bot" privileges work? Or what exactly do these privileges cover?

15
@savefile@[read.txt,@calc@[+|@readfile@[read.txt]|5]]

Awesome thank you. I tried the calc function as well but apparently I fudged it somewhere. Appreciate it greatly.

Pages: [1] 2