GithubHelp home page GithubHelp logo

chattriggers's People

Contributors

builder-247 avatar falsehonesty avatar kerbybit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chattriggers's Issues

[SUGGESTION] {speed} built in string

Just returns the speed the player is going at. X coordinates and Z coordinates only so ignore Y.

Made it in code too :)

trigger onClientTick 20(speed) {
do {string[deltax]}.set({exactX}.-({string[oldX]}))
do {string[deltaz]}.set({exactZ}.-({string[oldZ]}))
do {string[distance]}.set({string[deltax]}.power(2))
do {string[distance]}.+({string[deltaz]}.power(2)).set(~)
killfeed <time=25> {string[distance]}.sqrt().*(2).round(2)
do {string[oldX]}.set({exactX})
do {string[oldZ]}.set({exactZ})
}

[SUGGESTION] onChatEvent trigger type

Trigger type that intercepts all messages about to be shown in chat using the "chat" event. The cancel event would stop the message from passing through. Maybe {msg} would return the message being passed through.

Example:

trigger onChatEvent(name) {
if ({list[messagesToStop]}.has({msg}))
cancel
end
}`

[BUG/SUGGESTION] Attach clickables to strings

I want to be able to suffix/prefix clickables to strings so it can outputted in chat later.

trigger other(testclick) {
do {string[test2]}.set(Base Text)
do {string[test2]}.set({string[test2]}.suffix(clickable(&c[Hi],suggest_command,hi,&cHi)))
do {string[test2]}.set({string[test2]}.suffix(clickable(&c[Bye],suggest_command,bye,&cBye)))
chat {string[test2]}
}

importing is weird

/t import only seems to work first time when loaded
enableImport and disableImport are also funky

User strings in Async can not be set

{string[name]}.set(value) and {string[name]}.save(value) do not properly set string values if in an async logic block. Needs some way to mark async strings as user strings to set during run-time outside of thread

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.