I am trying to make a simple script where is someone says "!lmgtfy [words]" is will make the question on lmgtfy.com (let me google that for you). The way it puts it together is fairly simple so i decided not to use their API or anything like that/ Here is the script:
Code:
on *:text:!lmgtfy*:#mark_paintball:{ msg # http://lmgtfy.com/?q= $+ $2 $+ $chr(37) $+ 20 $+ $3 $+ $chr(37) $+ 20 $+ (((etc))) }
The problem is 1. this takes long to type to 30/40 words and 2. if it's not that # of words it repeats %20 20 times or so. I know i could do it to where if Words is 3, 4, 5, etc but That is even longer.
Is there an easier way to do this and would it fix the %20 problem?


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball