replace space with + - 01/04/15 07:02 AM
I am making a script for when people are too lazy to look something up a mod can type !google and what ever the question is and the output would link them a funny google page.
Example: !google mirc replace space with plus
Output: http://lmgtfy.com/?q=mirc+replace+space+with+plus
Here is my code:
Example: !google mirc replace space with plus
Output: http://lmgtfy.com/?q=mirc+replace+space+with+plus
Here is my code:
Code:
on *:TEXT:!google *:#: { msg # Let me google that for you... http://lmgtfy.com/?q= $+ $replace($2-, , +) }