Raphael Library
Description
I built this library to ease the development of scripts. It includes many functions I find useful, so you should probably check it out.
Configuration
Download and put on Program Files (x86)/WindBot/libs.
Content
Documentation is provided in the library itself, as comments
Code:Area:createFromAreaTable(areaTable) Area:createFromSpecialArea(specialArea) Area:createFromWaypoint(waypoint) Area:extend(top, right, bottom, left) Area:getBottom() Area:getHeight() Area:getLeft() Area:getRight() Area:getTop() Area:getWidth() Area:hasPoint(point, y) Area:move(point, y) Area:new(firstCorner, width, height) beep() calltable(t, ...) cetoffset() cettime() closebattlelist() curchannel() dontlist() exec(code) expatlvl(level) file.clear(filename) file.content(filename) file.exec(filename) file.exists(filename) file.isline(filename, content) file.line(filename, linenum) file.linescount(filename) file.rewrite(filename, content) file.write(filename, content) file.writeline(filename, content) flasks() getclasses(value) getopencontainers() getvalue(value, ...) getwptid(label) getwpt(id) gold(coin, location) HUD:bootstrap() HUD:drag() HUD:handleInput(e) HUD:new(options) HUD:run() HUD:setPosition(x, y) HUD:startDragging() HUD:stopDragging() HUD:updateSavedPosition() JSON.decode(str, pos, nullval, ...) JSON.encode(value, state) math.ceil(self, mult) math.floor(self, mult) math.round(self, mult) maxcap() npctalk(...) pm(player, message) Point:new(x, y) press(keys) requires(reqs) sstime() string.at(self, n) string.begin(self, substr) string.ends(self, substr) string.explode(self, delimiter) string.finish(self, substr) string.fit(self, size, trailing, trueSize) string.ltrim(self, chars) string.rtrim(self, chars) string.starts(self, substr) string.trim(self, chars) table.any(self, f) table.average(self) table.copy(self) table.each(self, f, recursive) table.every(self, f) table.filter(self, f) table.first(self) table.flatten(self, recursive) table.isempty(self) table.last(self) table.map(self, f, recursive) table.max(self) table.merge(...) table.min(self) table.normalize(self) table.pick(self, ...) table.pluck(self, prop) table.reduce(self, f, memo) table.reverse(self) table.size(self) table.stringformat(self, tablename, separator) table.sum(self) tern(expr1, expr2, expr3) timetolevel(extraPrecision, level) timezone() tobool(value, strict) toggle(setting, a, b) toonezero(value, strict) toonoff(value, strict) tostring(value) toyesno(value, strict) type(value) userdatastringformat(userdata) utcoffset() utctime() versionhigherorequal(v1, v2) waitcondition(f, time, fArgs) whisper(channel, message) yell(channel, message)
Download
Download Link
(Right Click and Save Link as...)