Is there an example or tutorial on how to make those !commands? They are really cool and I’d like to learn.
Posted using Partiko iOS
Is there an example or tutorial on how to make those !commands? They are really cool and I’d like to learn.
Posted using Partiko iOS
Just type...
!dramatoken
It has to be on one line alone as above and you do have to hold 10 DRAMA to issue them! :)
End of tutorial. :)
You have
DRAMA
!To view or trade
DRAMA
go to steem-engine.com.I mean how to create/program them.
Posted using Partiko iOS
Here's a really basic way of doing it with steemjs and nodejs.
var steem = require("steem") steem.api.streamTransactions("irreversible", function(err, result) { var op = result.operations[0] if (op[0] == "comment"){ console.log(op) if (op[1].body.includes("STUFFYOUARELOOKINGFOR")){ //DOSTUFF } } })
streamTheChain() if(transaction type == post && the !command is in it){ DoWhatYouMust() }
That was cool of you!
!dramatoken
You've got
DRAMA
!To view or trade
DRAMA
go to steem-engine.com.Hey, if I can help, I'll try.
It's a good thing.