Hello people. I would like to ask for some help to create a script. Actually it's more than just help. If anyone could create this socket script for me I would be much appreciated. Never played around with socket scripts and am really new to scripts in general.
When you search for someone on www.lolking.net this is what you get. Because of the different regions you don't get the profile page instantly. But this is enough info anyway.
I would like to get this info sent to the channel when triggered.
Like usage: !elo euw menterothh
and it would return like:
how can I change the $replace part to replace "mentbot" with a random nick existing in the channel?
on *:TEXT:*:#todstream: {
write -i todstream.txt $replace($1-,mentbot,$nick)
var %r = $rand(1,26)
var %r2 = $rand(1,42)
set %randomtalk %r
set %randommatch %r2
if (%randomtalk == %randommatch) msg #todstream $read(todstream.txt,n)
.echo 14(00 $+ $time $+ 14) 15 todstream -- The current 00text15 variable is %randomtalk and we are looking for %randommatch
}
you can always add a "url -an http://www.twitch.tv/ $+ $$1" for nicklist too. just like in twitch chat.
this doesn't seem to work, or? I tried with a link like this http://www.imdb.com/title/tt1980209 and won't get any response posted.