I want to be able to 'tweet' from the command line in CMUD...
Have a POG and 1000 gold for anyone that can make that happen, believe you can use python/ruby/JavaScript...
Much thanks!
Coding help with bounty...
Re: Coding help with bounty...
I'm not sure I'd be able to figure out how to get the Tweet to publish automatically via behind the scenes API, but you could use some combination of these to ghetto rig it:
An alias and the URL command - https://www.zuggsoft.com/zmud/help6/URL.htm
Twitter's URL tweet ala - https://twitter.com/intent/tweet?text=L ... 20smobbers!
And then possibly some browser userscript to automatically click the Tweet button, or do it manually.
An alias and the URL command - https://www.zuggsoft.com/zmud/help6/URL.htm
Twitter's URL tweet ala - https://twitter.com/intent/tweet?text=L ... 20smobbers!
And then possibly some browser userscript to automatically click the Tweet button, or do it manually.
Re: Coding help with bounty...
Sanguine wrote: ghetto rig
yesssss
Re: Coding help with bounty...
Usage: tweet xxx
tweet Welcome to the Wheel of Time Mud!
#CLASS {GhettoRig}
#VAR newTweet {}
#VAR toTweet {}
#VAR twitterURL {https://twitter.com/intent/tweet?text=}
#ONINPUT {^tweet (*)} {
@toTweet = %replace( %1, " ", ~%20)
@newTweet = %concat( @twitterURL, @toTweet)
#URL @newTweet
#ECHO Tweet: %1
}
#CLASS 0
tweet Welcome to the Wheel of Time Mud!
#CLASS {GhettoRig}
#VAR newTweet {}
#VAR toTweet {}
#VAR twitterURL {https://twitter.com/intent/tweet?text=}
#ONINPUT {^tweet (*)} {
@toTweet = %replace( %1, " ", ~%20)
@newTweet = %concat( @twitterURL, @toTweet)
#URL @newTweet
#ECHO Tweet: %1
}
#CLASS 0