I'm catching a 301 Perm Moved page when I post a link.
I added some echo's to the script to see where it was going wrong, and they all check out.
This is what I get from the sock read echo:
HTTP/1.1 301 Moved Permanently
Date: Sat, 03 Oct 2015 00:39:59 GMT
Server: gwiseguy/2.0
Content-Length: 0
X-XSS-Protection: 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube
Cache-Control: no-cache
Content-Type: text/html; charset=utf-8
X-Content-Type-Options: nosniff
P3P: CP="This is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl=en for more info."
Location: https://www.youtube.com/watch?v=kdUnpV7n1xs
Expires: Tue, 27 Apr 1971 19:44:06 EST
X-Frame-Options: SAMEORIGIN
Set-Cookie: VISITOR_INFO1_LIVE=S9KY8ccag8c; path=/; domain=.youtube.com; expires=Thu, 02-Jun-2016 12:32:59 GMT; httponly
Set-Cookie: YSC=uhmg8nBjaOs; path=/; domain=.youtube.com; httponly
[Fri 09:29:28pm] [[device]] .gcalc 2 + 2
[Fri 09:29:28pm] [notice] [cloudIPD]: Fetching data for location: 2 + 2. This may take a moment..
[Fri 09:29:28pm] [[cloudIPD]] * Sorry, [device], no information was found for your calc request.
I modified 3 lines of code, to make it look nicer on my network. I changed noticing to nick only on 2 lines, and changed the text event line so it picked up on gcalc/calc. I'm only using it for calc as I have weather/time scripts.
I uploaded this to my bot, and it worked perfect, for the first time the link was posted. but the second time, and every time after, it doesn't post the youtube info. I have now discovered this is some type of flood protection, as I posted a different link (was testing with the same youtube link), but am wondering if there is a way to remove this, or an option to have it on a timer basis?
It's not much, but it's nice. I removed as many of the external script alias calls as I could find, but there might still be some. Just put it at spot 1 in your script order, so it is executed before any other input-based scripts are called. It is still a work in progress, but I hope you like it. It's not easy to screenshot a input command script, but I'll do my best /Upon Request/ and it will be attached...
I have a severely updated version of this, but with how I've got my personal IRC set up, it's pulling aliases from about 12 other scripts, and I'm not sure which ones anymore.
Cracker200: As far as no DLLs, I'm not sure if mIRC even allows for docking of dialogs standard. I believe it is a DLL-dependent feature.
Heh. Go you, dude. My very first script was something like
on *:TEXT:**:#: { msg $chan someone needs to spell correctly!! }
which sucked, because it triggered on everything. I think after this try some regex. I'm not to heed with th whole $reg* shit but here's an example of the event trigger
on $*:TEXT:/^[.!]text(1|2|3|4|5)/Si:#:
this will check for either ".text" or "!text" followed by a number from one to five. This probably isn't the best way to do regex with numbers like that, but I'm just starting regex now. What you could do after it is "set %text $right(&1,1)" then have something check for what %text is, and send the appropriate.
|..:: root_sys-iRC v4.0.1 Beta 1 "rootSektor" Auto-Oper v1.0 Pre-beta ::..| |..:: Made for r-iRC v2.0 (mIRC 6.35) ::...____| ___| .. ____ .. .. _____*_______ .. .. _______________ .. .. ______*___________ .. .. *****______*____ .. .. __________*__*__ .. .. **________ .. .. ______*______ .. .. _____*___________ .. .. ________**____ .. .. ___ .. .. _______ .. .. __(Alaska Skriptz)___ ..