Thread created on Wed Jan 19, 2011 17:27:22 Last replied to on Sun Jan 20, 2013 14:47:36
Well I get bored at times and I feel like coding somthing however amongst all the full bot requests and the chain bot ones I get a few small scripts needed. Ima place them here as I make them.
If you find any errors with them just mail me and ill fix it.
Key for commands:
[Parameter] = Optional
{Parameter} = Needed
When using the commands, do not put in the brackets, theyre there so you can see if its optional or not.
Stat Storage Script
Commands:
!revert [nick] - Reverts to previously saved stats for when you mess up saving
!stats [nick] - Shows a users stats (Must be op for other users stats)
{Paste stats in channel} - Updates stats
Script URL:
http://pastebin.com/3K4kt87Q
Spies will be put in later as at the moment that's all I can be bothered to do
Lotto Script
Commands:
!lotto - Enters you into the current lotto
!lottostart {Prize} [(Time in minutes)] - Please note, include the curly brackets The time setting will make it end the lotto at that time.
!draw - Forces the lotto to end
!clotto -Cancels current lotto
Script URL:
http://pastebin.com/hKNMCtjk
Torn info script
OUTDATED: This has been marked as outdated. Do not use. Will either pick it up again or just keep for future reference
Edit
Oddly asked by a few people to make this. Not the best way of doing it in the world but it does allow for a bit of custimisation (Although the regex could have been used more sparingly).
But yeah what you do is type !info Torn-ID (or torn name if you have them stored in ids.txt) and it outputs a message to the channel with information on that user.
What exactly gets messaged is up to you since I have a few "backward" variables that get replaced when outputting. Just edit the first and second lines to your needs.
-Compatable with id commands script below.
Script URL:
http://www.hawkee.com/snippet/8570/
TornTunes Radio Messager OUTDATED: This has been marked as outdated. Do not use. Will either pick it up again or just keep for future reference
Commands:
!radio on - Turns on messaging of current song in channel
!radio off - Turns off ^
Also has a backlog of all songs played in the radio.ini file if you want to play about with that
Script URL:
http://pastebin.com/h1FE3GR4
Message thread title to channel
Commands:
{http:// Thread Url} - Messages the thread title you are viewing to the channel so people can see what they are clicking.
Script URL:
http://plorntsscripts.pastebin.com/KJuCkvva
ID commands
Commands:
!addid {ID/Nick {ID}} - Adds a users ID
!delid {Nick} - Deletes a users ID [HAS TO BE OP]
!bust [Nick] - Shows a link
!id [Nick] - Shows a users ID or your id.
!profile [Nick] - Shows a link
!bail [Nick] - Shows a link
-Can add more in the top part, just copy it down, ill give an easy command to add commands at a later date-
- Ver 2 Added all standard links and !allids
Version: 2.0
Script URL:
http://pastebin.com/02FrhryJ
Timers -Nerve, Energy, Travel, Drug, Happy etc
Commands
Paste Travel message (or !travel), Energy bars, Nerve Bars, Happy bars, drug message (or !drug) - Notifys you when the timer has ended.
!a - Shows all current alerts
Script URL:
http://plorntsscripts.pastebin.com/DkLTL0Ch
Auto translate channel
Translates whatever text is put in the channel if these conditions are met:
1. The translation has been turned on in the channel
2. The text is not the same as the given text
It fetches a result from google and can translate the whole channel from (auto - but you can set primary) language to a specified language (Defaults to english). This is made for a bot - not yourself - it messages the channel whenever someone speaks if it finds a translation
Commands
!translate on - Turns autotranslation on for the channel you are in
!translate off - Turns autotranslation off for the channel you are in
!translate primary Language CODE - Sets the primary speaking language (Just updates a var in the url not sure if it does much )
!translate tolang Language CODE - Sets the language you want the bot to return in for example es will make it translate into spanish
Credits - other than myself
FordLawnmower - For the UrlEncode alias
JimmyJames - idea
Script URL:
http://www.hawkee.com/snippet/8383/
Auto giveaway prize script
To Evil-Duck,
I decided to name this script in honor of you for correctly spelling one sentence when requested to. We shall never forget.
[19:16:36] [Evil-Duck] My name is Evil-Duck and i need Plornts help with a script
Thank you.
Script Url:
http://pastebin.com/F5KFBDGd
Version: 2_01
Commands:
!addprize[amount] {prize} - Adds a prize to the auto giveaway - Example: !addprize Test OR !addprize100 test
!delprize[amount] {prize} - See above basically.
!prizes [Nickname] - Lists all the prizes or a specific users added prizes.
!autogive {on|off|toggletime} - Turns on or off the auto giveaway. - toggle time toggles between hourly and half hourly
!forcegive - Forces a giveaway.
!agtheme {number} - Changes the colour of the bots messages /addApi - See http://tornprize.com/?api for details. !linkchannel {Channel} - Links one channel to another so you can add prizes in {Channel} and it will go to the original channel. Useful for staff channels. !deletelink {Channel} - Removes said link.
Thanks alot for lotto script been after one for awhile!
Rated+ ...
Requested scripts:
+ Something like !rand or !win
+ One like caspeh, where you post a forum link to torn and it tells the channel what your reading.. if possible.
By the way it might take about a week for the chain bot since I didnt want to litrally recreate the ones that are already out there. Ive got half the features down already its just a case of making the rest. Also the Forum thread thingy I couldnt find but Ill make it now.
Fixed a problem with Lotto where the channel wasnt working when in the timer. Accidentally used $chan instead of $1 out of habbit.
Once again thanks alot mate means alot..
I do have some more scripts that would be nice though:
+ A command !m thats mutes the channel and the !-m command that unmutes the channel.
+ Fued (im guessing that is a hard one and wont happen.. )
+ Calc script (!calc 1+1)
+ Advert on and off (!advert on Selling **** just mail me, !advert off)
Thanks again Plornt i have a few scripts like, ID script, Dond (Deal or no deal) if you want them.. =D
By Jnr [706317]
lol i just got permission from an old user to post his id script up in the forums aswell.........TCs awash with free scripts
Hehe I used to have a whole bot on here... but that was when I was a newb, it was over 2k lines long lmao. It did do quite a bit though but its size was completly uneccessary.
would there be a way to make the translate bot work the other way
ie.
nick1 writes Spanish and converts to English
then nick2 writes English and converts to Spanish
if it already does this then i'll sit down and shut up...but if not would be very useful to people like me with a fair few non-English speaking members
Follow @TornRPG