<speechles> !bf3 mafaioz
<sp33chy> Mafaioz (of Norway) - (ps3) Rank: Corporal 3 star (12); Played: 13:07:48; Score: 165,739; Score/Minute: 210.38; Next Rank: Sergeant (in 4,261); Accuracy: 7.6%; Longest Headshot: 300.38m | Kills: 454; Deaths: 314; Assists: 127; K/D Ratio: 1.44585 | Wins: 27; Losses: 33; W/L Ratio: 0.81818 @ http://bf3stats.com/stats_ps3/Mafaioz#ps3
<speechles> !bf3 -360 mafaioz
<sp33chy> Sorry, no search results were found for "mafaioz" on 360.
<speechles> !bf3 mafaioz -pc
<sp33chy> Sorry, no search results were found for "mafaioz" on pc.
Code: Select all
#---------------------------------------------------------------#
# incith:bf3 v1.0 #
# #
# This script basically scrapes battlefield 3's api and such. #
# #
# Usage: #
# .chanset #channel +bf3 #
# !bf3 [-<platform>] <name to search for> #
# #
# ChangeLog: #
# v1.0 - first release, enjoy.. :) #
# #
# Requested by Mafaioz: If you like this script, then you #
# owe this guy your respect. Bow before him. Now! Do it! #
# #
# - - - Mafaioz, um.. like here's your BF3 script yo! :P #
# #
# #
# TODO: #
# - Suggestions/Thanks/Bugs, e-mail at bottom of header. #
# #
# LICENSE: #
# This code comes with ABSOLUTELY NO WARRANTY. #
# #
# This program is free software; you can redistribute it #
# and/or modify it under the terms of the GNU General Public #
# License as published by the Free Software Foundation; #
# either version 2 of the License, or (at your option) any #
# later version. #
# #
# This program is distributed in the hope that it will be #
# useful, but WITHOUT ANY WARRANTY; without even the implied #
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR #
# PURPOSE. See the GNU General Public License for more #
# details. (http://www.gnu.org/copyleft/library.txt) #
# #
# Portions of the script, and the name of this script are #
# property of: Copyright (C) 2005, Jordan - google@woota.net #
# #
# Everything else: #
# Copyleft (C) 2011, speechles #
# imspeechless@gmail.com #
#---------------------------------------------------------------#
package require http 2.3
setudef flag bf3
# 0 will typically disable an option, otherwise a value 1 or
# above will enable it.
#
namespace eval incith {
namespace eval bf3 {
# set this to the command character you want to use for the binds
variable command_char "!"
# set these to your preferred binds ("one two three etc etc")
variable binds "bf3 b3"
# set this to your default section if the user doesn't give one
# pc / 360 / ps3
variable section "ps3"
# if you want to allow users to search via /msg, enable this
variable private_messages 1
# ** this is not an optional setting, if a string is too long to send, it won't be sent! **
# It should be set to the max amount of characters that will be received in a public
# message by your IRC server. If you find you aren't receiving results, try lowering this.
variable split_length 403
# number of minute(s) to ignore flooders, 0 to disable flood protection
variable ignore 1
# how many requests in how many seconds is considered flooding?
# by default, this allows 3 queries in 10 seconds, the 4th being ignored
# and ignoring the flooder for 'variable ignore' minutes
variable flood 4:10
}
}
Enjoys