{"id":783,"date":"2011-12-14T23:01:30","date_gmt":"2011-12-14T21:01:30","guid":{"rendered":"http:\/\/newage.ql.lt\/blog\/?p=783"},"modified":"2022-01-19T08:34:43","modified_gmt":"2022-01-19T06:34:43","slug":"xchat-slapper-1-2","status":"publish","type":"post","link":"https:\/\/9v.lt\/blog\/xchat-slapper-1-2\/","title":{"rendered":"[xChat] Slapper 1.2"},"content":{"rendered":"<p>Just made a \/slap script for my beloved IRC client &#8211; XChat.<br \/>\nThe script was not entirely made by me. I found it by accident on pastebin &#8211; author unknown.<br \/>\nCode was damn ugly and inefficient, had to make lots of fixes and the script turned out to be pretty good. Also I added an extra feature to specify a number and write that slap line from the list at that position.<br \/>\n<!--more--><br \/>\n<strong>Usage:<\/strong> put it into your xchat2 config folder (further instructions in the code itself) and launch xchat.<br \/>\nWrite <strong>\/slap  <\/strong><br \/>\n<strong><\/strong> is optional, and if not given, then a random line will be used.<br \/>\nWrite <strong>\/slap<\/strong> for more info.<\/p>\n<p>Code: <a href=\"http:\/\/9v.lt\/projects\/python\/slapper.py\" target=\"_blank\" rel=\"noopener\">http:\/\/9v.lt\/projects\/python\/slapper.py<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just made a \/slap script for my beloved IRC client &#8211; XChat. The script was<\/p>\n","protected":false},"author":2,"featured_media":1710,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,750],"tags":[349,108,596,597,598,140],"class_list":["post-783","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","category-software-projects","tag-command","tag-python","tag-slap","tag-slapper","tag-slapping","tag-xchat"],"_links":{"self":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/comments?post=783"}],"version-history":[{"count":0,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/783\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media\/1710"}],"wp:attachment":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media?parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/categories?post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/tags?post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}