Coding help with bounty...

... A place to ask for help on any topic whether it be starting out to player killing to IT issues.
Post Reply
Fermin
Posts: 459
Joined: Sat Sep 10, 2016 12:16 pm

Coding help with bounty...

Post by Fermin » Tue Aug 29, 2017 2:43 pm

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!

Sanguine
Posts: 357
Joined: Thu Oct 08, 2015 9:48 pm

Re: Coding help with bounty...

Post by Sanguine » Tue Aug 29, 2017 2:57 pm

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.

Rig
Posts: 2292
Joined: Wed Dec 16, 2015 8:00 pm
Location: JESUS

Re: Coding help with bounty...

Post by Rig » Tue Aug 29, 2017 4:24 pm

Sanguine wrote: ghetto rig


yesssss

Naerin
Posts: 313
Joined: Sat May 23, 2015 12:29 pm

Re: Coding help with bounty...

Post by Naerin » Tue Aug 29, 2017 5:50 pm

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

Post Reply