PtokaX forum

Archive => Archived 5.1 boards => Conversion Requests => Topic started by: ThugLife on 06 February, 2008, 22:34:58

Title: Can someone covert Banner 1.0b for the new API
Post by: ThugLife on 06 February, 2008, 22:34:58
Code (lua) Select

-- Banner 1.0b LUA 5.1
-- by Mutor The Ugly 7/15/05
--
--      +Changes from 1.0 12/23/05
--         +Added centering function
--         +Added border 2
--
--              +Converted to 5.1 03/21/06
--
--
--????[ User Settings ]??????????????????????????????????????????????????????????
--Send command
BannerCmd = "+banner"
--Max length of allowed banner
MaxLength = 1000
--Border charachter for banner ad
BorderChar1 = "="
--Name for bot
--Bot = frmHub:GetHubBotName()
BannerBot = "PtokaX"
--Menu name pulled from hub, uses hub name for menu
Menu = frmHub:GetHubName()
--Custom submenu
SubMenu ="General"
--Who may use this command/receive context menu
Profiles  = {
[-1] = 0, --Unregistered User