Im looking for a script that logs only some sertan things in a channel.
Like:
<|Quiz|> 4906: >> Who had main caracter in the movie Erin Brokovich?
<|Quiz|> Hint: ***** *******
<|Quiz|> Nobody got it right.. The answer was julia roberts
I want the bot to logg and save a file like this: julia roberts?|Who had main caracter in the movie Erin Brokovich??
Anyone out there that has a script like that? Or can show me how to make one.
yes stealing questions, or in this case revenge
I run #quiz.no and I got 4000questions. A dude in #quizno went around in Efent, and some other networks and stole all our questings, It sux seening the questions I wrote asked in his channel as his own questions. he got like 20000questions and I know he did not write the exatct same questions as we did. So I want to copy his.
I`ll never get him to stop serving out questions, but we could take he once he stole and share them.
well there U have the story behind my request or cry for help.
There should be a workaround to stop users from stealing your questions from the channel by adding some colours and some letters in the line so only when the line is coloured you can see the question but when is not you can't see/understand a damn thing. I've sow some mIRC trivia scripts doing this, haven't seen a tcl that will do this, yet. Sounds like a nice feature. Something like this, when is coloured the line will be seen like:
<|Quiz|> 4906: >> Who had main caracter in the movie Erin Brokovich?
yep I get the ideea, but I dont know anything about how to make one. I dont have a 24/7 connection at home so cant run a mirc-triviaBOT. But I have a shell account and runs a quizbot. So gona need a tcl..
and that sends me right back to where Iam.
proc get_rand {length} {
set chars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
set count [string length $chars]
set rand ""
for {set i 0} {$i < $length} {incr i} { append rand [string index $chars [rand $count]] }
return $rand
}
then just go throught every character of your string (the question), append (for example) a "\003010", add between 0 and X (i'd say 3, with the second proc you would do [get_rand [rand 4]]) random chars like the one in temp and add a "\003012" to it.
then everything with color 10 would be random and not relevant to the question, and everything in 12 belongs to the question.
i was thinking of some ways how to do it but i havent found a nice and clean way yet.
I just copy past this in my trivia.tcl and then I works my questions get "enrypted" ?? but what line du I copy it to..??
I dont know anything of tcl-scriptins... but copy past I can do... judt need to know where to past...
well thax... but didnt understand that last post...
but anyway... Im still looking for that logging script I asked about in the start of this topic, so if anyone has one and wana share please let me know...