It's 420 in... mIRC Script

By OrFeAsGr on Jun 23, 2016

http://its.fourtwenty.in/
Do !420
:D Have fun xD

ON *:SOCKOPEN:420api: { if ($sockerr) { msg %420chan Hm... wait i'm too high now.. try again later.. | sockclose $sockname } | sockwrite -nt $sockname GET /next HTTP/1.1 | sockwrite -nt $sockname Host: its.fourtwenty.in | sockwrite -nt $sockname Connection: Close | sockwrite $sockname $crlf }

ON *:SOCKREAD:420api: { if ($sockerr) { msg %420chan Hm... wait i'm too high now.. try again later.. | sockclose $sockname } | var %420 | sockread %420 }

ON *:SOCKCLOSE:420api: { var %420 | sockread -f %420 | var %city = $gettok(%420,4,34) | var %territory = $gettok(%420,14,34) | var %timeapi = $gmt($gettok($remove($gettok(%420,19,34),$chr(58),$chr(125)),1,46),hh:nntt) | var %fort = $replace($gettok($gettok(%420,4,125),1,34),\u201c,$chr(8220),\u201d,$chr(8220),\u2019,') | sockclose $sockname 
msg %420chan 3It's %timeapi in $+(%city,$chr(44)) $+(%territory,.) 1,3 %fort  }

ON *:TEXT:*:#: { if ($strip($1) == !420) { 420api $chan } | }

alias 420api { set %420chan $1 | sockopen 420api its.fourtwenty.in 80 }

Check out more mIRC Scripts by OrFeAsGr: http://humanity.ucoz.com :)

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.