love your script...was trying to make my own but when I googled for an auto-translator I saw this and mine would've been crap compared. two things I'll add that you may or may not want to incorporate is an /translate so that it'll translate specific nicks and work like /ignore would, outputting [time] () in an echo....and an output for talking to ppl who only speak a language but I'll try to add these for my personal use if i can understand your script...so far its 3am and I'm looking at jibberish....undoubtedly genius but jibberish to my wary eyes.
thanks a bunch for this one.
I was thinking chess that could be played through pm's or a channel, both ppl can have the script which would read commands or they can use the commands themselves, like A3:B4....the hard parts: checking that moves are legit(more tedious than anything) and checking if there is check or check mate.....I think I'ma try and make a connect 4 first over this weekend...
thanks jonesy44 and glad you got it working theprodigy....its definitely a work in progress, sometime soon I'll convert it to an alias so that it can be used with both the !msg command and a /msg mybot !msg command(so i can institute the option to register and group msg accounts).
will keep posted and thanks :D
Ok, so a friend in a chan wanted me to make a memo system for him. He linked me to sharpknife's script and asked me to make it so that he could see how many messages were sent so pretty much that became a big deal cus i had to completely rework the script. To be honest this is nothing like sharpknife's script but i owe him the debt of a starting point. Upon close scrutiny, I'm sure you can see this..
on *:TEXT:!send*:*: {
;________________________________________________________________________________edit of original by sharpknife (hawkee.com)
;/writeini memos.ini $2 sender $nick
.writeini memos.ini $2 receiver $2
.writeini memos.ini $2 sender $nick
var %nick $nick
.write $($+($2,.memo)) ( $+ $date(ddd) $date(mmmm) $date(dd) at $time(hh:nn TT) $+ ) %nick $+ : $3-
set %nickvar %nick
;/writeini memos.ini $2 time $date(ddd) $date(mmmm) $date(dd) at $time(hh:nn TT)
;var %qwe $readini(memos.ini,$2,num)
;if (!%qwe) /writeini memos.ini $2 num 1
;if (%qwe) /writeini memos.ini $2 num $calc(%qwe + 1)
.notice $nick Memo has been sent to $2 $+ .
.notice $2 You have a new memo from $nick $+ ! Type !read to view it.
}
on *:JOIN:#:{
if ($readini(memos.ini,$nick,receiver) = $nick) {
.notice $nick You have $lines($($+($nick,.memo)) $+ ) memo(s). Type !read to view it!
}
}
on *:TEXT:!read:*: {
var %ert $lines($($+($nick,.memo)))
if ($eval(%ert,4)) {
;msg # if works
var %wer 1
;var %ert $readini(memos.ini,$2,num)
while (%wer <= %ert) {
;msg # while works
.timer 1 $eval($calc(%wer*2),3) .msg $nick $read($eval($+($nick,.memo),4),%wer)
.inc %wer 1
}
;notice $nick Memo from $readini(memos.ini,$nick,sender) on $readini(memos.ini,$nick,time)
;notice $nick ------------------------------------------------------------------------
;notice $nick $readini(memos.ini,$nick,msg)
;notice $nick ------------------------------------------------------------------------
;notice $nick This Memo will be deleted in five seconds.
}
.remini memos.ini $nick
.remove $($+($nick,.memo))
else msg $nick You dont have any memos at the moment!
}
i made an edit of it at the bequest of a friend....thought i might share....pbb gonna change the time too since differing time zones but meh....for another day....its so long cus i didn't delete any lines as i was editing, lol.....now it holds more than one memo and tells u how many
This probably won't be useful to many and its not some big breakthrough in scripting, took maybe 5 minutes cus i type slow but here it is. It just makes it so when you change your nick to something such as tra_orex|away, tra_orex|district9, tra_orex|hw, etc.... but don't wanna fill your nicklist with one-time use shit, this groups and regs your nick temporarily until you change it. I use this cus i..
i would have used $rand then used a while to parse the digits and add your colors(would be a lot more colorful)
in the end, you really just used $rand to make your random number. I kinda expected u had actually wrote a random number algorithm or used a socket to pull a "true" random number from a site.
Other than its usefulness, good job, keep it up, and get working on that algo ;)