IRC log for #wowace on 20100829

00:13.19*** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com)
00:13.19*** mode/#wowace [+v Torhal] by ChanServ
00:14.06*** join/#wowace Wizardling (Durandal@ip-118-90-115-121.xdsl.xnet.co.nz)
00:18.31*** join/#wowace ccKep (~Kep@188-194-178-144-dynip.superkabel.de)
00:20.21Repo10heatsink: 03durcyn 07master * 0b5a630 / (3 files in 1 directory): [+1 commit] add localizations, apparently someone's actually been entering them on the web interface?
00:20.33Repo10heatsink: 03durcyn 043.3.5.5 * 65ebf30 /: [new tag] 3.3.5.5
00:30.19*** join/#wowace Aens|Superiority (~a@76-10-141-48.dsl.teksavvy.com)
00:32.19*** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com)
00:32.19*** mode/#wowace [+v Torhal] by ChanServ
00:40.00*** join/#wowace |mascondante| (~kvirc@pool-72-71-116-103.atl01.dsl-w.verizon.net)
00:50.14*** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com)
00:50.14*** mode/#wowace [+v Torhal] by ChanServ
00:51.39*** join/#wowace Funkeh` (~funk@WoWUIDev/WoWAce/Ace3/BigWigs/funkeh)
00:51.39*** mode/#wowace [+o Funkeh`] by ChanServ
00:57.40*** join/#wowace orionshock_ (~orionshoc@ip68-226-29-3.tc.ph.cox.net)
00:59.27*** join/#wowace Humbedooh^ZZzz (~Humbedooh@port530.ds1-op.adsl.cybercity.dk)
01:14.30*** join/#wowace Cralor` (~cralor@c-75-68-70-97.hsd1.ma.comcast.net)
01:16.08*** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com)
01:16.08*** mode/#wowace [+v Torhal] by ChanServ
01:18.46*** join/#wowace Next96 (Next96@121.129.140.105)
01:19.23*** join/#wowace bluspacecow (~bluspacec@60-234-165-167.bitstream.orcon.net.nz)
01:30.59*** join/#wowace orionshock__ (~orionshoc@ip68-226-29-3.tc.ph.cox.net)
01:33.21*** join/#wowace Transformer (~Transform@ool-4a59e397.dyn.optonline.net)
01:33.50*** part/#wowace Transformer (~Transform@ool-4a59e397.dyn.optonline.net)
01:38.02*** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com)
01:38.02*** mode/#wowace [+v Torhal] by ChanServ
01:53.57*** join/#wowace bluspacecow (~bluspacec@60-234-165-167.bitstream.orcon.net.nz)
01:56.17bluspacecowanyone have OS X 10.5.8 here ? ... trying to figure out why my kernel_tas is taking up 26 - 30 % of my CPU
01:58.04*** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com)
01:58.04*** mode/#wowace [+v Torhal] by ChanServ
02:00.31*** join/#wowace Nechckn (Nechckn@WoWUIDev/Norganna/Admin/Nechckn)
02:00.31*** mode/#wowace [+v Nechckn] by ChanServ
02:17.56*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
02:17.56*** mode/#wowace [+v Torhal_] by ChanServ
02:21.44*** join/#wowace FernandoLop (~root@190.233.20.128)
02:30.41*** join/#wowace Axodious (~6z9a@modemcable106.115-23-96.mc.videotron.ca)
02:46.57*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
02:46.57*** mode/#wowace [+v Torhal_] by ChanServ
03:14.07*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
03:14.07*** mode/#wowace [+v Torhal_] by ChanServ
03:39.40*** join/#wowace Kaelten (~Kaelten@WoWUIDev/WoWAce/WoWIFA/CurseStaff/kaelten)
03:39.41*** mode/#wowace [+o Kaelten] by ChanServ
03:40.06*** join/#wowace Adys (~Adys@unaffiliated/adys)
03:40.45*** join/#wowace DarkAudit (~Brian@c-98-236-98-13.hsd1.wv.comcast.net)
03:51.41*** join/#wowace Silowyi (~silowyi_d@99-5-223-222.lightspeed.snantx.sbcglobal.net)
03:55.17*** join/#wowace tekkub (~tekkub@WoWUIDev/WoWI/Featured/Dongle/GitHub/Tekkub)
03:55.17*** mode/#wowace [+v tekkub] by ChanServ
04:02.34*** join/#wowace ausmara (~syeren@cpc2-salf5-2-0-cust876.10-2.cable.virginmedia.com)
04:05.20*** join/#wowace Humbedooh^ZZzz (~Humbedooh@port530.ds1-op.adsl.cybercity.dk)
04:05.28*** join/#wowace Sesshu (~Sesshu@ip-137-17.travedsl.de)
04:25.25*** join/#wowace asmodai (asmodai@dhammapada.xs4all.nl)
04:37.56starlonMy Mom's coworker was telling people it would take a week to 7 days for their refunds to be processed.
04:50.36quiescenso.o
05:09.46*** join/#wowace RaydenUni (~rayden@ip68-5-22-175.oc.oc.cox.net)
05:13.03*** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net)
05:43.31Repo10gathermate_data: 03kagaro * r318 version: GatherMate_Data: Weekly update
05:43.38Repo10gathermate_data: 03kagaro 04v2.16 * r319 : GatherMate_Data: weekly update
06:32.22*** join/#wowace Tinyboom (~nahh@c91FD653E.dhcp.bluecom.no)
06:35.55*** join/#wowace Jygga (ordog@f053015062.adsl.alicedsl.de)
06:35.56*** join/#wowace Jygga (ordog@unaffiliated/jygga)
06:37.57*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
06:37.57*** mode/#wowace [+v Torhal_] by ChanServ
06:39.54*** join/#wowace robokitty (~roboe@50A2E6C0.flatrate.dk)
06:45.39*** join/#wowace daev (~bleh@pool-72-86-110-88.aubnin.fios.verizon.net)
06:48.15*** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net)
06:51.48*** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net)
06:55.28Connor1Any XP grinding spot at 67 I should know about?
06:57.44Nivjust quest
06:58.14*** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net)
06:59.37Connor1Found one.
07:01.06*** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net)
07:08.43*** join/#wowace evl (~evl@unaffiliated/evl)
07:16.23Connor1Hmm
07:22.13Connor1Oh
07:22.15Connor1These mobs give no XP
07:26.15*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
07:26.15*** mode/#wowace [+v Torhal_] by ChanServ
07:35.49*** join/#wowace airtonix (~airtonix@unaffiliated/airtonix)
07:47.43*** join/#wowace harl (harl@dslb-088-077-194-188.pools.arcor-ip.net)
07:48.12harlhi
07:53.40*** join/#wowace Megalon (~Megalon@d86-32-171-172.cust.tele2.at)
07:56.04sylvanaaroh hey - no "i find automatic mining addon " spam today
07:57.45Humbedooh^ZZzzyou sound disappointed
07:58.23*** join/#wowace Dashkal (~dashkal@WoWUIDev/Nexus/dashkal)
08:02.34*** join/#wowace Repo (~supybot@repos.curseforge.net)
08:09.25*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
08:09.25*** mode/#wowace [+v Torhal_] by ChanServ
08:10.34*** join/#wowace Repo (~supybot@repos.curseforge.net)
08:17.09*** join/#wowace Caleb| (~caleb@dsl51B78A9F.pool.t-online.hu)
08:21.10*** join/#wowace stolenlegacy (~stolenleg@d86-33-159-51.cust.tele2.at)
08:24.43*** join/#wowace CrazyBenny (~s_m@actplus.cust.sloane.cz)
08:29.20*** join/#wowace Srosh (~Srosh@d038105.adsl.hansenet.de)
08:31.25*** join/#wowace profalbert (~profalber@188-23-211-78.adsl.highway.telekom.at)
08:41.16*** join/#wowace silentium (silentium@dslb-088-066-018-098.pools.arcor-ip.net)
08:43.33*** join/#wowace profalbert1 (~profalber@91-113-14-200.adsl.highway.telekom.at)
08:51.04*** join/#wowace VonhintenHOME` (~Kiss@c-71-203-110-77.hsd1.fl.comcast.net)
09:50.09quiescenso.o
09:50.10ccKepguess I actually fell in love with blizzards new raid UI stuff (raid frames are a huge step in the right direction, and - even more important - this smoke-signal thingie.. lovin it :D)
09:52.57*** join/#wowace Yogibear75 (~Andreas@p57AA360F.dip.t-dialin.net)
09:53.00*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
09:53.00*** mode/#wowace [+v Torhal_] by ChanServ
09:54.41*** part/#wowace Yogibear75 (~Andreas@p57AA360F.dip.t-dialin.net)
09:57.52*** join/#wowace Ali1331 (~ali.neowi@213.83.80.129)
10:07.54Repo10raidbuffstatus: 03danielbarron 04v3.267-beta * r371 : RaidBuffStatus:
10:07.56Repo- Tagged as beta.  For Pidgeon.
10:37.25*** join/#wowace ShadniX (~shadow1st@pD9E2B440.dip.t-dialin.net)
11:12.58*** join/#wowace Next96 (Next96@121.129.140.105)
11:37.06*** join/#wowace evl (~evl@unaffiliated/evl)
11:39.51*** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com)
11:45.12*** join/#wowace Kalroth (kalroth@3e6bae47.rev.stofanet.dk)
11:46.10*** join/#wowace faCe| (~face@p5489DF90.dip.t-dialin.net)
11:56.22*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
11:56.22*** mode/#wowace [+v Torhal_] by ChanServ
12:10.54*** join/#wowace nevcairiel (~nev@WoWUIDev/WoWAce/Ace3/nevcairiel)
12:10.55*** mode/#wowace [+o nevcairiel] by ChanServ
12:23.04*** join/#wowace Fargos (~tus@manz-590f0533.pool.mediaWays.net)
12:26.31*** join/#wowace Sliker (~ponies@5e0b5116.bb.sky.com)
12:28.23*** join/#wowace Xinhuan (~xinhuan@WoWUIDev/WoWAce/xinhuan)
12:28.23*** mode/#wowace [+v Xinhuan] by ChanServ
12:45.47*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
12:45.47*** mode/#wowace [+v Torhal_] by ChanServ
12:46.27*** join/#wowace Axodious (~6z9a@modemcable106.115-23-96.mc.videotron.ca)
13:01.50*** join/#wowace ccKep (~Kep@188-194-178-144-dynip.superkabel.de)
13:10.58*** join/#wowace AKX (akx@dsl-tkubrasgw1-fe90f800-13.dhcp.inet.fi)
13:17.03*** join/#wowace Srosh_ (~Srosh@d038105.adsl.hansenet.de)
13:20.03*** join/#wowace Nickenyfiken (~Miranda@c83-255-99-211.bredband.comhem.se)
13:44.23*** join/#wowace FireAllianceNX (~leon@cpe-98-14-99-50.nyc.res.rr.com)
13:45.25*** part/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com)
13:47.15*** join/#wowace Funkeh` (~funk@WoWUIDev/WoWAce/Ace3/BigWigs/funkeh)
13:47.15*** mode/#wowace [+o Funkeh`] by ChanServ
13:56.39*** join/#wowace Jagobah (~ljugo@74-141-112-78.dhcp.insightbb.com)
14:01.02ramozccKep: got a ss of the new raidframes?
14:23.30*** join/#wowace Tinyboom_ (~nahh@c91FD653E.dhcp.bluecom.no)
14:34.52*** join/#wowace Odlaw (~ozzy@c-98-245-3-204.hsd1.co.comcast.net)
14:39.28*** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com)
14:43.17*** join/#wowace Legorol (~legorol@cpc8-sgyl28-2-0-cust43.sgyl.cable.virginmedia.com)
14:51.04*** join/#wowace ckknight (~ckknight@WoWUIDev/WoWAce/CurseStaff/CurseForge/ckknight)
14:51.04*** mode/#wowace [+o ckknight] by ChanServ
14:52.02*** join/#wowace lozon (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com)
15:10.24*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
15:10.24*** mode/#wowace [+v Torhal_] by ChanServ
15:21.55*** join/#wowace Silowyi (~silowyi_d@99-5-223-222.lightspeed.snantx.sbcglobal.net)
15:26.04*** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com)
15:30.21*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
15:30.21*** mode/#wowace [+v Torhal_] by ChanServ
15:30.28*** join/#wowace Lysithea (Lyset@c-92a572d5.017-172-73746f34.cust.bredbandsbolaget.se)
15:38.23*** join/#wowace Kaelten (~Kaelten@WoWUIDev/WoWAce/WoWIFA/CurseStaff/kaelten)
15:38.23*** mode/#wowace [+o Kaelten] by ChanServ
15:48.19*** join/#wowace Kilroo (~Kilroo@174.111.58.51)
15:55.14*** join/#wowace syeren (~syeren@cpc2-salf5-2-0-cust876.10-2.cable.virginmedia.com)
15:59.03*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
15:59.03*** mode/#wowace [+v Torhal_] by ChanServ
16:08.08Repo10gathermate: 03kagaro 07cataclysm * r692 : Creating cata branch
16:14.13*** join/#wowace Ingela (~Ingela@90-230-169-130-no35.tbcn.telia.com)
16:20.46*** join/#wowace profalbert (~profalber@80-121-25-8.adsl.highway.telekom.at)
16:33.33*** join/#wowace spode (~spode@213.21.91.195)
16:34.30*** join/#wowace harl (harl@dslb-088-077-194-188.pools.arcor-ip.net)
16:34.58*** join/#wowace Cralor` (~cralor@c-75-68-70-97.hsd1.ma.comcast.net)
16:47.11*** join/#wowace evl (~evl@unaffiliated/evl)
16:48.54*** join/#wowace NM|Xinhuan (~xinhuan@WoWUIDev/WoWAce/xinhuan)
16:48.54*** mode/#wowace [+v NM|Xinhuan] by ChanServ
16:51.26*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
16:51.26*** mode/#wowace [+v Torhal_] by ChanServ
16:55.42*** join/#wowace Yssaril (~kvirc@99-57-32-25.lightspeed.cicril.sbcglobal.net)
16:55.59*** join/#wowace SqueeG (~ZomgInter@cpe-24-161-96-151.hvc.res.rr.com)
17:03.12*** join/#wowace Groktar (Groktar@c-76-20-77-109.hsd1.ca.comcast.net)
17:06.00*** join/#wowace lozon (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com)
17:24.24*** join/#wowace lozon_ (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com)
17:27.22evlHow's inlining functions compared to calling them in speed?
17:27.29*** join/#wowace lozon__ (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com)
17:28.51*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
17:28.51*** mode/#wowace [+v Torhal_] by ChanServ
17:30.16*** join/#wowace Fogger (~fogger@host109-152-40-51.range109-152.btcentralplus.com)
17:31.10*** join/#wowace nuoHep (~nuohep@89.222.156.36)
17:31.58*** join/#wowace daev (~bleh@pool-72-86-110-88.aubnin.fios.verizon.net)
17:39.08*** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net)
17:39.11*** join/#wowace Mochito (~smbdy@HSI-KBW-078-043-115-068.hsi4.kabel-badenwuerttemberg.de)
17:39.39*** part/#wowace Mochito (~smbdy@HSI-KBW-078-043-115-068.hsi4.kabel-badenwuerttemberg.de)
17:49.17Pneumatushahaha phishmail saying that my AION account may have been traded, which conflicts with Blizzard's EULA
17:50.50durcynyou didn't read the non-compete clause in the new EULA?  thou shalt have no other gods before blizzard.
17:55.43*** join/#wowace Wobin (~quassel@203-214-158-61.perm.iinet.net.au)
17:55.43*** mode/#wowace [+v Wobin] by ChanServ
17:56.08*** join/#wowace MoonWitch (~Kelly@d51A56B25.access.telenet.be)
18:04.17*** join/#wowace nuoHep (~nuohep@89.222.156.36)
18:09.04*** join/#wowace lozon (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com)
18:11.35*** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net)
18:15.08*** join/#wowace [SW]Dodge`oFF (dodge@ip01.vserver01.remolus.at)
18:18.04*** join/#wowace BigRedBrent (~Brent@pool-72-86-75-100.aubnin.fios.verizon.net)
18:22.16*** join/#wowace highvoltz (~mmmhmm@71.50.206.19)
18:23.42*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
18:23.42*** mode/#wowace [+v Torhal_] by ChanServ
18:26.50SqueeGwhy is this slash command recognizing a number as a string?
18:27.44BigRedBrentas far as I knew all commands passed to the slash handler are outputted as strings
18:28.59BigRedBrentIf you need to find a number I would suggest using the string.find function with the correct regular expression to find what you are looking for.
18:29.30SqueeGthat's weird
18:29.44Funkeh`Not really
18:29.56quiescensmoo
18:30.07BigRedBrentwell it is the way I do it, I am sure someone knows of a better way
18:31.09*** join/#wowace Tinyboom (~nahh@c91FD653E.dhcp.bluecom.no)
18:31.22*** part/#wowace highvoltz (~mmmhmm@71.50.206.19)
18:31.28BigRedBrentSo I figured out how to use the .pkgmeta file in the repository, but not so sure about the .docmeta file. I am pretty sure I put the luadoc code into the lua files correctly, and I think I uploaded the correctly formatted .docmeta file, but when I package the release I don't see any difference. Isn't an API page of some kind supposed to be generated? I am trying to get this documenter working so that the moderators will approve
18:31.40BigRedBrentHere is the location of my repository if it will help:
18:31.40BigRedBrentsvn://svn.curseforge.net/wow/spellflashcore/mainline/trunk
18:34.59SqueeGtype() should recognize a number as a number, not a string
18:35.02SqueeGand.... it's not
18:35.08*** join/#wowace spode- (~spode@213.21.91.195)
18:35.29*** join/#wowace TNSe (~evil@ti0042a380-3718.bb.online.no)
18:35.59*** join/#wowace sylvanaar (~sylvanaar@unaffiliated/sylvanaar)
18:35.59BigRedBrentif the number is inside of a string it will recognize it as a string
18:38.20BigRedBrentif you are looking for only a number you can see if the string only contains a number and then convert the string into a number
18:39.50SqueeGhrm
18:40.20*** join/#wowace spode (~spode@213.21.91.195)
18:43.05BigRedBrentlocal number = nil if string.find(slashcommand, "^%d+$") then number = tonumber(slashcommand) end if number then --[[do something with number]] end
18:44.32SqueeGmmmm
18:45.29Repo10ihml: 03Ackis 07master * v2.7-6-g641dd04 / (2 files in 2 directories): [+2 commits]
18:45.31Repo641dd04: Possibly break somethings to understand what's going on.  Yes this is an alpha.  If I am reading the code correctly, I would have never changed macros based on SubZoneText, so now I'm trying to do it for everything instead of RealZoneText.  Also added MiniMapText as a fall back if SubZoneText is empty.
18:45.32Repo34af00d: Add Ornolf the Scarred
18:45.35SqueeGor i could just try turning every string into a number
18:45.42SqueeGif nil, ignore it :D
18:45.53SqueeGit's only suppose to be accepting numbers anyway
18:46.26BigRedBrentlocal number = nil
18:46.27BigRedBrentif string.find(slashcommand, "^%d+$") then
18:46.27BigRedBrent<PROTECTED>
18:46.27BigRedBrentend
18:46.27BigRedBrentif number then
18:46.27BigRedBrent<PROTECTED>
18:46.27BigRedBrentend
18:46.37BigRedBrentwhat is, if you explain more it may help
18:47.20BigRedBrentwhat is giving the input?
18:47.55SqueeGthe slash command
18:48.05BigRedBrenta slash command? like: /thisismyslashcommand 55
18:48.08SqueeGyea
18:48.14SqueeGi'm screwing around with scaling
18:48.38BigRedBrentok, well someone could use /thisismyslashcommand biteme
18:48.44BigRedBrentthat would not be a number at all
18:49.36SqueeGexactly
18:49.39SqueeGand would  be ignored
18:50.03BigRedBrentif I was you I would add a key word to the command so that this would work: /thisismyslashcommand scale 33
18:50.48SqueeGHai
18:51.11SqueeGI was thinking of something along those lines when I start to mess with other things
18:51.22SqueeGBut right now it's just the one
18:51.35BigRedBrentthis would be fairly simple to do, I can show you how if you like
18:52.14SqueeGsure :D
18:52.39*** join/#wowace faCe| (~face@p5489DF90.dip.t-dialin.net)
18:52.42BigRedBrentyou don't want to use just a number unless it will not be a problem with adding key worlds in later, otherwise it would be best to just start with using key words
18:53.32BigRedBrentfirst of all what is the argument named that is passed to the slash handler?
18:53.41SqueeGn
18:54.10BigRedBrentok, so you are using n as the argument passed from the slash handler
18:54.14SqueeGyup
18:54.27SqueeGi don't have an issue wiht building *up*
18:54.40SqueeGit's starting too big and then having to track down problems that annoys me ::
18:54.42SqueeG:P
18:54.53*** join/#wowace orionshock__ (~orionshoc@ip68-226-29-3.tc.ph.cox.net)
18:55.59BigRedBrentwell you can use just numbers if you like, but if you ever add more options it could get confusing depending on what the option is for
18:56.37SqueeGyea
18:57.03BigRedBrentI prefer to use string.find a lot when dealing with slash commands, it makes things simpler for me to understand
18:57.20SqueeGeven with all the regex jargon? xD
18:57.26BigRedBrentyes
18:57.54BigRedBrentI don't use regex all the time though
18:58.26BigRedBrentfor a basic slash command with no numbers regex is not needed, it will be needed to find a number in the command though
18:59.27BigRedBrentif you need to find a number in a command regex is almost unavoidable, I know the basic command for it though and I can show you
19:00.00BigRedBrentin a minute I am going to build you an example that you will be able to duplicate for your own uses
19:00.14SqueeGThanks :D
19:00.27SqueeGThat'd be really helpful ^_^
19:02.01BigRedBrentfirst of all you will want to make sure the command that is passed is converted into lower case, this can be done but putting this at the top of the function: local n = string.lower(n)
19:03.02BigRedBrentthat way when you try to compare the string with another you will always use lower case so that the command is not case sensitive
19:04.41SqueeGYea... I had that in for another command I had scratched
19:05.00BigRedBrentcould you show me all the code you are using for your existing slash handler, this will allow me to rebuild it for you as an example
19:05.10*** join/#wowace Humbedooh^nap (~Humbedooh@port530.ds1-op.adsl.cybercity.dk)
19:05.25SqueeGsure
19:05.27*** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com)
19:05.28*** mode/#wowace [+v Torhal_] by ChanServ
19:06.43SqueeGsec
19:09.46SqueeGhttp://paste.wowace.com/2381/
19:10.07SqueeGNothing crazy at the moment :p
19:10.43BigRedBrentis f local
19:12.06SqueeGyea
19:12.07SqueeGlocal frame
19:12.24SqueeGBScale is a local too
19:12.45Humbedooh^naphm, that's a lot of redundant checks there, squeeg
19:13.17BigRedBrentare you using something like this below it:
19:13.17Humbedooh^napjust do hrm
19:13.18BigRedBrentSlashCmdList.MyAddon = f.SlashCommand
19:13.18BigRedBrentSLASH_MyAddon1 = "/myslashcommand"
19:13.18BigRedBrentSLASH_MyAddon2 = "/myslashcommandtwo"
19:13.18BigRedBrentSLASH_MyAddon3 = "/myslashcommandthree"
19:13.28Humbedooh^napfunction f.slashCommand(n)
19:13.45SqueeGsec, i'm pushing thing around
19:14.03Humbedooh^napif ( tonumber(n) == nil ) then print("Expected number, got " .. type(n)); else scale = tonumber(x); end
19:14.06Humbedooh^napend
19:15.10Humbedooh^naps/x\)/n\)/
19:15.14Humbedooh^napwru purl!
19:15.51SqueeGHumbedooh^nap: I'm probably going to be mixing in text for key words
19:16.04SqueeGThat's what BigRed has been talking to me about xD
19:16.51SqueeGso trimming it down like that would work awesome until text gets mixed in
19:17.06Humbedooh^napmayhaps, buy all the type checks aren't really needed
19:17.18Humbedooh^napyou just need to check via tonumber() once
19:17.41Humbedooh^napif it's a string-number or a number, it'll return a number, otherwise it'll return nil
19:18.35Humbedooh^napand in your error message, x will always be nil, so that's useless info as well
19:19.06SqueeGoh
19:19.15SqueeGthose checks are left overs xD
19:19.27Humbedooh^napyou just need one initial check :)
19:19.33BigRedBrentWhat is the best way to extract a number from a string with a key word in it? The only way I know of is:
19:19.33BigRedBrentlocal number
19:19.33BigRedBrentlocal found, _, n = string.find(string, "(%d+)")
19:19.33BigRedBrentif found then
19:19.34BigRedBrentnumber = tonumber(n)
19:19.34BigRedBrentend
19:20.07Humbedooh^napdepends on what the string is like
19:20.32BigRedBrentsomething like "keyword 987596"
19:20.36Humbedooh^napmkay
19:20.54Humbedooh^naplocal number = argument:match("(%d+)");
19:20.59Humbedooh^napwould be the fastest
19:22.04BigRedBrentI always knew a better way existed, I just never bothered to look because I already had a way. Now what if no number is in that string, what will be the output?
19:22.10BigRedBrentnil or 0 or what
19:22.21Humbedooh^napit'll output nil
19:23.06BigRedBrentbut where is string in argument:match("(%d+)")
19:23.17Humbedooh^napstring.match (s, pattern [, init])
19:23.17Humbedooh^napLooks for the first match of pattern in the string s. If it finds one, then match returns the captures from the pattern; otherwise it returns nil. If pattern specifies no captures, then the whole match is returned. A third, optional numerical argument init specifies where to start the search; its default value is 1 and can be negative.
19:23.20BigRedBrentis it: argument:match(string, "(%d+)")
19:23.24Humbedooh^napno no
19:23.36Humbedooh^nap("my string here"):match("(%d+)");
19:23.43Humbedooh^napargument is the string variable
19:23.47BigRedBrentoh, I see
19:23.59Humbedooh^napsince it's a string, it inherits the string.* stuff
19:24.04BigRedBrentstring:match("(%d+)")
19:24.15Humbedooh^napand thus, calling variable:something is like calling string.something(variable)
19:25.23*** join/#wowace DarkAudit (~Brian@64.181.5.194)
19:26.08BigRedBrentwill argument:match("(%d+)") work on numbers strings and nil variables?
19:26.25Humbedooh^napnot nil values no
19:26.32Humbedooh^napthen you need to add a statement check first
19:26.46Humbedooh^nap(argument or ""):match("(%d+)");
19:27.00Humbedooh^napthat way, if argument is nil, it'll use "" instead
19:27.01BigRedBrentif arg then number = aeg:match("(%d+)") end ?
19:27.14Humbedooh^napthat'll work too ye
19:27.27BigRedBrent<PROTECTED>
19:28.01SqueeG:D
19:28.12BigRedBrentthose tiny mistakes come back to haunt if you don't catch them right way
19:28.52Humbedooh^naphelps to have Lua installed locally for sure
19:30.20BigRedBrentwill arg:match("(%d+)") output a number or a string if arg is a string?
19:30.46YssarilBigRedBrent: always a string
19:31.05BigRedBrentgot it
19:31.26BigRedBrentso the use of tonumber would be required for my use
19:31.41Yssarilmost likely
19:31.57Gagoriandepends
19:33.16GagorianSomething like local a = "25" + 5 is fine
19:34.09GagorianAs in, no tonumber is needed on the example string "25"
19:35.13Gagorianbut if you intend to index a numeric table for example then you need to use tonumber on it
19:36.07BigRedBrentwell if it is for a function that gives the return value that could be used for anything it would be safer to have the return value be a number
19:38.29BigRedBrentwill tonumber(arg:match("(%d+)")) return nil if arg is a string but has no number in it
19:39.01Yssariltry it and see what happens :P
19:39.09BigRedBrentwill tonumber work on a nil argument
19:39.25BigRedBrentor will it throw an error
19:40.15Humbedooh^napit'll work
19:41.10SqueeGwooooooooooo
19:41.11Humbedooh^napthat is, tonumber(nil) will just return nil
19:41.53BigRedBrentwill tonumber("") or tonumber("something") return nil as well
19:42.38SqueeGyea
19:43.39BigRedBrentlocal function GetSpellRank(SpellName)
19:43.40BigRedBrent<PROTECTED>
19:43.40BigRedBrent<PROTECTED>
19:43.40BigRedBrent<PROTECTED>
19:43.40BigRedBrent<PROTECTED>
19:43.40BigRedBrent<PROTECTED>
19:43.40BigRedBrent<PROTECTED>
19:43.41BigRedBrent<PROTECTED>
19:43.41BigRedBrent<PROTECTED>
19:43.42BigRedBrent<PROTECTED>
19:43.42BigRedBrent<PROTECTED>
19:43.43BigRedBrentend
19:44.07orionshockBigRedBrent, fail
19:44.12BigRedBrentI just converted one of my simple functions that I use
19:44.15Humbedooh^napcan be done much shorter
19:44.23orionshockthings that BigRedBrent should use paste.wowace.com
19:44.24BigRedBrentok, well
19:44.30YssarilBigRedBrent: use http://paste.wowace.com/ if you want to show us your code in here it will just anoy people
19:44.47BigRedBrentok, sorry
19:44.50winkthat code indentation has a nice layout
19:45.38Humbedooh^naplocal rankNumber = GetSpellinfo(spellid):match("(%d+)") or 1;
19:45.48*** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com)
19:45.56Humbedooh^napGetSpellInfo ofc
19:46.21Humbedooh^napand you can add a tonumber() around it to get a number val
19:46.49Humbedooh^napso, local rankNumber = tonumber(GetSpellInfo(spellName):match("(%d+)")) or 1;
19:47.00BigRedBrenthttp://paste.wowace.com/2383/
19:47.41Humbedooh^naplocal function GetSpellRank(SpellName) return  tonumber(GetSpellInfo(spellName):match("(%d+)")) or 1; end
19:48.26Humbedooh^napthough...why would you need to match the string if GetSpellInfo already returns a rank ;\
19:49.04*** join/#wowace Adys (~Adys@unaffiliated/adys)
19:49.15BigRedBrentit returns the rank as a string with a word in front of it
19:49.22Humbedooh^napoh
19:50.14BigRedBrentand it is in the second index, will :match("(%d+)") look through all indexes?
19:50.47BigRedBrentand what if for some odd reason a spell name is made with a number in it, I doubt it will ever happen, but it is possable
19:51.42Humbedooh^naplike fx. "Missile 2 (Rank 5)"?
19:52.07Humbedooh^napshouldn't matter if rank just returns the rank
19:52.45BigRedBrentyes, and not all rank names have a number in them, so I count those as 1 and spells that are not found as 0
19:53.57BigRedBrentI am not sure is rank always exists if the spell name does, I think it does though, so I could shorten that part up a bit if that is the case
19:54.27Humbedooh^naprank
19:54.27Humbedooh^nap<PROTECTED>
19:55.52Humbedooh^napthe code you pasted looks fine as it is now
19:56.11BigRedBrentI just updated it
19:58.07*** join/#wowace tekkub (~tekkub@WoWUIDev/WoWI/Featured/Dongle/GitHub/Tekkub)
19:58.07*** mode/#wowace [+v tekkub] by ChanServ
20:02.01BigRedBrenthttp://paste.wowace.com/2384/
20:02.59BigRedBrentI am sure I have a lot more code that could be made simpler, this is just one that I have always wanted to be simpler because I didn't like using string find to output the number.
20:03.52SqueeGman, that's like half the code you used before xD
20:04.48BigRedBrentlol
20:07.04BigRedBrentI am glad you pointed me to http://paste.wowace.com I have a lot of snippets of code that I would like to share and perhaps even improve upon.
20:07.28Connor1Is there any way I can enable an option to require my authenticator to post on the forums?
20:08.18BigRedBrentyou should already have to, do you mean the worldofwarcraft.com forums?
20:08.56Connor1Yes
20:09.47SqueeGhm
20:09.52SqueeGI thought they didn't require that
20:09.57Connor1They don't
20:10.00SqueeGso people could post if they were hacked
20:10.01Connor1I want the option to have it
20:10.10Connor1I just got banned for the second time for 72 hours on the forums for a post I didn't make
20:10.12Connor1First time was my fault
20:10.15Connor1Second time I didn't do it
20:10.26BigRedBrentI just logged in and out with my authenticator, so I know it can be done
20:10.36*** join/#wowace Repo (~supybot@repos.curseforge.net)
20:10.38BigRedBrentI did it on the beta forums
20:10.53BigRedBrentnot sure if it is any different on live
20:10.55Connor1SO what should I do?
20:11.18Connor1There it is
20:11.19Connor1So*
20:11.20Connor1Hmm
20:11.27*** join/#wowace Kilroo1 (~Kilroo@cpe-174-111-058-051.triad.res.rr.com)
20:11.32Connor1I see the authenticator box now
20:11.43Connor1I'm always logged in on the forums though because I read them a lot
20:11.50Connor1I don't see how that post was made...
20:14.25BigRedBrenthttp://paste.wowace.com/2385/
20:14.47*** join/#wowace Gnamra (~Gnamra@195.204.136.141)
20:15.38BigRedBrentAnything that could be improved on that code?
20:16.08Humbedooh^napnothing noteworthy
20:16.23Humbedooh^naponly the length of the script - the stuff it'll really run would be the same
20:17.06Humbedooh^naplike; if ( msg:lower():match("keyword") ) then do stuf.... end
20:17.19Humbedooh^napbut it'd do the same things
20:17.46*** join/#wowace pentium166 (~pentium16@d24-235-229-73.home1.cgocable.net)
20:18.57BigRedBrentyeah, but with a long script that uses match a lot it would be nice not to use lower every time
20:19.08Humbedooh^napindeed
20:19.15*** join/#wowace Hjalte (~chatzilla@cpe.ge-0-2-0-835.arcnqu2.customer.tele.dk)
20:19.40Humbedooh^napyou should probably use upper() instead of lower()
20:19.46Humbedooh^napso you can easilly spot your keywords
20:20.15Humbedooh^napfx, a clause that says (if key == "MYKEYWORD" ) is easier to spot for you than if (key == "mykeyword")
20:20.20*** join/#wowace Funkeh` (~funk@WoWUIDev/WoWAce/Ace3/BigWigs/funkeh)
20:20.20*** mode/#wowace [+o Funkeh`] by ChanServ
20:22.18BigRedBrentI guess that is just personal preference, I use notepad++ and the strings pop out at me fine, and I prefer to use lower case strings whenever I can, they are just more legible to me, I do some times use upper case variable names some times though
20:22.58BigRedBrentno one ever talks in the #curseforge channel
20:23.16BigRedBrentI asked a question over an hour ago with no responce
20:23.16Humbedooh^napwell it's mostly just for spamming commits I guess :p
20:23.22*** join/#wowace Fogger (~fogger@host109-152-35-121.range109-152.btcentralplus.com)
20:23.35SqueeGthe curseforge community by and large seems to be less.... together
20:23.41Humbedooh^napjoin #wowuidev instead
20:23.47BigRedBrentI have all my irc commit notifications turned off
20:24.31BigRedBrentjust having a problem with .docmeta and luadoc
20:25.06BigRedBrentHere is the location of my repository if it will help:
20:25.06BigRedBrentsvn://svn.curseforge.net/wow/spellflashcore/mainline/trunk
20:25.19BigRedBrentI am pretty sure I put the luadoc code into the lua files correctly, and I think I uploaded the correctly formatted .docmeta file, but when I package the release I don't see any difference. Isn't an API page of some kind supposed to be generated?
20:25.31kagaroi dont think its working bigredbrent
20:25.40Humbedooh^napI usually just make those pages by hand
20:25.49BigRedBrentfor how long?
20:25.54kagarothats what we did for raidwatch since it wouldnt generate
20:26.01Humbedooh^naphaving a computer to it usually ends up being not-so intuitive
20:26.09BigRedBrentI would prefer not to make them by hand, I don't even know what they should look like
20:26.50Humbedooh^napthere's no de facto standard really
20:26.52BigRedBrentI mainly just want the moderators to approve the addon so I can begin using it publicly
20:26.57Humbedooh^naphttp://wow.curseforge.com/addons/libspreadsheet/pages/lib-spreadsheet-api/ fx
20:27.05Humbedooh^napjust a big pile of whatever I thought was nifty to include
20:27.38kagaroBigRedBrent:  just run luacdoc by hand and get the outputed html
20:27.48Humbedooh^napofc, now that I've added some twenty-ish macro functions, it'll be a pain to update ;|
20:28.16Humbedooh^napbut hey! Now you get to do exciting stuff like SUM(B1:D8) inside WoW as well!
20:28.17BigRedBrentI have never used luadoc, don't even know how to install or use it
20:28.22kagarohttp://luadoc.luaforge.net/
20:28.30kagarothats all the .docmeta is supposed todo
20:30.00BigRedBrentI gathered that, but how do I manually install and run luadoc on a windows (god forbid i mention anything spawned from the evil Bill Gates) machine.
20:30.37kagaroread the docs on the luadoc homepage
20:31.50SqueeGmost people use windows :p
20:32.12BigRedBrentread something to figure it out, fine I will get right on that
20:32.12SqueeGI don't see why asking about windows functionality would be flamed
20:32.17kagaroi only have a single window VM, every other machine in my network is ether linux or os x
20:32.30SqueeGyou're not the average user, kagaro :p
20:32.35BigRedBrentBill Gates is evil, didn't you know?
20:32.42kagaroi wasnt flaming, there are instructions on the luadoc hmepage
20:32.57SqueeGi didn't say you were flaming O-o
20:32.59SqueeGlol
20:33.03SqueeGso is the mac guy
20:33.05SqueeGjobs
20:33.10BigRedBrentyes
20:33.27SqueeGhis 'evil nature' just isn't held up as often
20:33.27BigRedBrentthe guy gates screwed over so very royally
20:33.35kagarosorry but rtfm it has a manual
20:33.55kagarohttp://luadoc.luaforge.net/manual.html#installation
20:34.10SqueeGkagaro ~ I wasn't attacking you
20:34.20SqueeGI was responding to his comment about windows and bill gates
20:34.33kagaroi was answering BigRedBrents how do i install run it on windows
20:35.28BigRedBrentah, I hate utilities without at least a windows compatible gui
20:36.00SqueeGthen right it by hand :p
20:36.19SqueeGwrite*
20:36.19SqueeGwow
20:36.21kagaroboo, cmdline ftw!
20:36.21BigRedBrentseriously, we are way too far into the future to make people learn how to use something that you could have made a gui for so that others don't have to wast any time learning something they otherwise would not have had to
20:36.47kagarogui is for the weak
20:36.54SqueeGlol
20:37.02kagaroif you really want a gui to it, write one
20:37.06SqueeGxD
20:37.15SqueeGi'm sure the command line isn't too complicated
20:37.26BigRedBrentah, gui's are cool...
20:37.32kagarolua luadoc.lua [files]
20:37.33SqueeGBigRedBrent, learning things is good for the soul
20:38.05nevcairielpeople don't use luadoc (or similar tools, javadoc, doxygen, whatever) from GUIs, they are mostly used scripted in build scripts to automatically generate all the docs :d
20:38.37kagarordoc ftw!
20:38.46BigRedBrentI don't even use many slash commands at all for my addons I make, I make a gui for all the options. If you have the ability to make a gui for a program you should, because if you don't your just pissing people off.
20:39.32kagaromine usually start as a slash command, till they get complicated enough to require a gui
20:39.37nevcairielMaybe you're not targeting people that want a GUI :P
20:39.56kagaro~uses a lot of slash commands
20:40.24SqueeGxD
20:40.34SqueeGI run on the same principle kagaro
20:40.37BigRedBrentI can't understand why someone would not want a gui unless they want everything to be automated, and a gui would be nice to have just to set that automation up in the first place.
20:40.53SqueeGbecause guis tend to get bloated
20:40.57kagaro^^
20:41.20kagaroplus take up screen space for something that a sinple command can handle much faster than wating for a gui to launch
20:41.30nevcairieltools like luadoc are used with other GUIs, development environments, they don't need their own GUIs :p
20:41.44SqueeGit really depends on the losses and gains
20:42.03SqueeGhandling a ton of options via cmd line can be a PiTA, that's when a GUI comes in handy
20:42.08SqueeGbut when it's something simple...
20:42.13BigRedBrentwell, I have not had any problems with bloated gui's, I just hate learning command lines for something that could have been made trivial with a simple gui
20:42.21nevcairielthat thing is trivial
20:42.27nevcairielput in the file name to parse, and it runs
20:42.33nevcairielno need to learn any switches
20:43.55nevcairielbut if you're not willing to do that, maybe its just not for you.
20:44.21kagaroill use a gui for handbrake cause the cmdline take sooo many options its faster for the gui to be used.
20:45.03kagarobut if something only has a few switches/options its just faster to hit the cmdline
20:45.33nevcairieli use git only in cmdline, because all GUIs are much more complicated then knowing a handful of switches
20:45.39BigRedBrentoh, I am willing, I have learned way too much already to stop now, I just like to find things to be simpler whenever possible
20:45.51kagaroya git or svn gui are crappy imho i always use cmdline
20:46.17SqueeGi like the git gui
20:46.34nevcairieli only use the git gui for history browsing
20:46.35BigRedBrentlol, I use subversion because I like the most popular windows gui for it
20:46.35SqueeGsimple and quick
20:46.46nevcairielanything else it fails at
20:47.02quiescenso.o
20:48.17SqueeGwhens the last time you used git gui nevcairiel?
20:48.32nevcairielfew hours ago
20:48.33nevcairielwhy? :P
20:48.55Repo10raidbuffstatus: 03danielbarron * r372 / (3 files in 1 directory): RaidBuffStatus:
20:48.55SqueeGother than for history browsing?
20:48.56Repo- Made the selection of whom to rez automatically put lower priority on those currently being rezed.
20:49.03nevcairielnever
20:49.06BigRedBrentI just hate command lines for repetitive tasks that can be automated by a simple gui, and when voice recognition becomes more advanced I will push for all interfaces to be voice activated. :P
20:49.17SqueeGxD
20:49.31SqueeG./facepalm
20:49.39SqueeGi hate voice recognition
20:49.42BigRedBrent:)
20:49.49SqueeGi still use touch tone for online menu nav
20:50.18BigRedBrentvoice recognition has a long way to go before it is anything like is depicted on StarTrek.
20:50.35BigRedBrentbut when we get there I will be on the bandwagon
20:51.00*** join/#wowace DarkerAudit (~Brian@64.181.5.194)
20:51.01*** join/#wowace Vonhinten (~Kiss@c-71-203-110-77.hsd1.fl.comcast.net)
20:52.06BigRedBrentok, well I don't even have lua installed, so I am guessing I need that installed as well
20:52.48BigRedBrentI imagine that is what the lua5.1 command is referring to
20:53.38SqueeGxD
20:53.46quiescensi hate using gui's for repetitive tasks that can be automated on a command line
20:53.48quiescensnodnod
20:54.04BigRedBrentlol
20:54.14nevcairielcmdlines are far easier to automate, indeed
20:54.29nevcairielits hard to somehow get a script to click the right box
20:55.02quiescensmostly i just don't like repeating things that require mouse movement like silly context menus and stuff
20:55.15quiescensand then people go and either skip accelerator keys on the menus
20:55.39quiescensor they put them in, but stupidly have the same accelerator key for multiple choices in the menu, so that they don't work anyway
21:01.31Humbedooh^naphttp://wow.curseforge.com/addons/libspreadsheet/pages/macro-functionality/ <- am I missing anything or do I have all the common macro math stuff listed now? :|
21:01.38BigRedBrentis arg:match("keword") the same as string.match(arg, "keyword")
21:01.44Humbedooh^napye
21:02.08nevcairielwell no
21:02.17nevcairielthe first matches for keword, the second for keyword
21:02.36Pneumatuslol
21:02.37BigRedBrentis arg:match("keyword") the same as string.match(arg, "keyword")
21:03.06BigRedBrentI did not try to make it a trick question, :)
21:03.17Pneumatusit's also the same as strmatch(arg, "keyword") fwiw
21:03.35BigRedBrentwhat is the difference between find and match
21:03.50Humbedooh^napmatch returns a match, find returns a location iirc
21:04.00orionshockfunctionally nothing
21:04.10orionshockhowever find returns the location as well, match doesn't
21:04.32orionshocklua>  ("Hi, my name is bob"):find("my")
21:04.35orionshock...
21:04.48orionshockluabot is gone.
21:04.51Humbedooh^napthe luabot is a lie
21:05.09BigRedBrenti see, so since I mostly never need the location match would be better for me to use in most cases
21:05.11quiescensyet another thing you've broken orion
21:05.12quiescens!
21:05.35Humbedooh^napit would yeah
21:06.44BigRedBrentbut if all I wanted was a Boolean return either would work fine
21:07.16Humbedooh^napclose enough :)
21:07.25Humbedooh^napyou wouldn't get a boolean, but it'd eval as one anyway
21:08.02BigRedBrentI could turn it into a boolean pretty easily, but almost no need for that is almost never required
21:10.04BigRedBrentWhy does code on http://paste.wowace.com/ expire if you select the never expire option?
21:12.35SqueeGi tried pulling from my git repo, and it didn't seem to copy anything new to my folder..
21:29.17*** join/#wowace TNSe (~evil@ti0042a380-3718.bb.online.no)
21:29.48*** join/#wowace Lisimba (~Lisimba@s55915088.adsl.wanadoo.nl)
21:31.56*** join/#wowace Diao (vince@adsl-76-254-23-136.dsl.pltn13.sbcglobal.net)
21:32.07*** join/#wowace SqueeG_ (~SqueeG@cpe-24-161-96-151.hvc.res.rr.com)
21:32.13*** join/#wowace pentium166 (~pentium16@d24-235-229-73.home1.cgocable.net)
21:34.16Repo10cowtip_luatext: 03profalbert 07master * v0.5-beta-21-g569df51 / (8 files in 1 directory): [+19 commits] (15 truncated)
21:34.18Repo569df51: fix tooltip-hiding-behaviour
21:34.19Repo9f82966: use self instead of dedicated AceTimer-3.0-ref
21:34.21Repo9707880: add cowtip as OptDep
21:34.22Repod7cb93e: Merge branch 'detach'
21:35.30evlAny inventory addon that simply displays a list of what I have in my bags?
21:36.37Humbedooh^napshift + B? :>
21:37.48evlThing is I have 5x20 slots with gems
21:37.56evland I'd like to know what kind of stock I have
21:42.18SqueeG_you mean a text list?
21:42.24evlbasically yeah
21:42.42SqueeGI looked for one once, didn't find anything promising
21:42.49*** join/#wowace harl (harl@dslb-088-076-034-077.pools.arcor-ip.net)
21:43.24SqueeGwhat about those ehm.....barker mods?
21:44.03Repo10cowtip_luatext: 03profalbert 07master * v0.5-beta-22-g52421a2 .pkgmeta: [+1 commit] add Callback-handler to .pkgmeta
21:47.05*** part/#wowace profalbert (~profalber@80-121-25-8.adsl.highway.telekom.at)
21:50.46*** join/#wowace Lisimba (~Lisimba@s55915088.adsl.wanadoo.nl)
21:50.49*** join/#wowace Fogger (~fogger@host86-164-181-17.range86-164.btcentralplus.com)
21:54.00*** join/#wowace spode (spode@213-21-77-27.bon.t3.se)
21:58.00*** join/#wowace harl (harl@dslb-088-076-057-152.pools.arcor-ip.net)
22:02.45*** join/#wowace spode (spode@213.21.119.83)
22:10.00Repo10cowtip_luatext: 03profalbert 07master * v0.5-beta-23-gd51cae8 .pkgmeta: [+1 commit] add acehook to .pkgmeta
22:12.39*** join/#wowace Antiarc (~Antiarc@ip70-190-192-186.ph.ph.cox.net)
22:12.39*** mode/#wowace [+v Antiarc] by ChanServ
22:20.39*** join/#wowace faCe| (~face@p5489EE17.dip.t-dialin.net)
22:21.39BigRedBrentis string.gsub(arg, "find", "replace") the same as arg:gsub("find", "replace")
22:22.47durcyncalling stringlib moethods on strings works the same regardless of notation, yes
22:22.56durcynmethods
22:24.56*** join/#wowace Silker (~ponies@5e0b7655.bb.sky.com)
22:26.52BigRedBrentCan you think of a better way to do this:
22:26.52BigRedBrentlocal RACE = (({UnitRace("player")})[2]):upper():gsub("[^A-Z]",""):gsub("SCOURGE","UNDEAD")
22:27.04Shadowedyes
22:27.25Shadowedlocal RACE = select(2, UnitRace("player"):upper():blah for one
22:27.32Shadowedwhats the [^A-Z] supposed to even do
22:27.51BigRedBrentremove everything but letters
22:27.55BigRedBrentif they exist
22:28.05ShadowedPretty sure UnitRace can only have letters
22:28.34BigRedBrentwell to be on the safe side I added it, :P
22:28.40Shadowedthat's silly
22:28.44BigRedBrentlol
22:28.55Humbedooh^napit's quite silly :>
22:29.04Shadowedlocal race = select(2, UnitRace("player")):upper()
22:29.05Humbedooh^napbut I get the feeling that Brent is a silly man!
22:29.08Ali1331surely if it has numbers, it's supposed to have numbers
22:29.12Shadowedrace = race == "SCOURGE" && "UNDEAD" || race
22:29.27ShadowedRealy doing SCOURGE -> UD is rather pointless too but
22:29.54ShadowedEven doing an upper() is pointless cause it doesn't change
22:30.13BigRedBrentyou forgot :gsub("SCOURGE","UNDEAD")
22:30.19*** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com)
22:30.23Humbedooh^napno he didn't :>
22:30.28Shadowedrace = race == "SCOURGE" && "UNDEAD" || race is the same thing
22:30.41ShadowedDoing a gsub is unnecessary, you're just replacing A with B if it's A
22:30.53Ali1331the first value returned has Undead instead of Scourge anyway
22:31.07ShadowedThe first value is localized, you use the second one since it's a token
22:31.14BigRedBrentyeah, but I am using it with something that will call for undead and not scourge
22:31.26ShadowedIf you wrote the code yourself, you might as well use scourge :P
22:31.37Shadowedbut suit yourself, that's a more sane way of doing it
22:32.19Humbedooh^naprace = race == "SCOURGE" && "UNDEAD" || race  means race = (true and "UNDEAD" if race == "SCOURGE") otherwise race
22:32.29Humbedooh^napit's math!
22:32.45Humbedooh^napwhich is just the ancient way of making zip files!
22:32.55Shadoweder no
22:33.05Humbedooh^napofc it is
22:33.14ShadowedWhat I gave is the equivalent to if( race == "SCOURGE" ) then race = "UNDEAD" end
22:33.27Humbedooh^napoh wait, I missed a sign there
22:33.34Humbedooh^napwell anywhooo
22:34.47Humbedooh^napactually, what I said was correct too :>
22:35.00BigRedBrentwell I am just going to use this because I don't ever want to have to change it if they mess with the case sensitivity some day:
22:35.00BigRedBrentlocal CLASS = select(2,UnitClass("player")):upper():gsub("[^A-Z]","")
22:35.00BigRedBrentlocal RACE = select(2,UnitRace("player")):upper():gsub("[^A-Z]",""):gsub("SCOURGE","UNDEAD")
22:35.03Humbedooh^napif you read it like I do :|
22:35.17Ali1331You know addons get updated right?
22:35.27Humbedooh^napthey do? ;O
22:35.36BigRedBrentlol, I never would have guessed
22:35.38Ali1331So why plan for something thats unlikely to ever happen
22:35.45Ali1331And is a simple fix anyway
22:35.53Humbedooh^naptrial and error :)
22:35.57Ali1331what
22:35.58BigRedBrentI am methodical like that
22:36.04Ali1331You're silly like that
22:36.15Humbedooh^napfirst he does it, then he twiddles his thumbs and go "why'd I do that"
22:36.20Humbedooh^napand next time, he'll wait
22:36.46Humbedooh^napfor all I care, he could add: if (time() == time()) then end
22:37.14Ali1331Is there a point to what you're saying?
22:37.31Humbedooh^napnone whatsoever
22:38.53BigRedBrentlol, I found meaning in the pretty words, :)
22:39.11*** join/#wowace spode- (spode@213.21.119.83)
22:39.19Humbedooh^napspode?
22:39.23Humbedooh^napas in Roderick Spode?
22:39.29Humbedooh^napor some other spode?
22:39.38spode-some other :)
22:39.44Humbedooh^napaaw, poo
22:43.32*** join/#wowace profalbert1 (~profalber@80-121-23-156.adsl.highway.telekom.at)
22:53.31*** join/#wowace evl (~evl@unaffiliated/evl)
23:21.58*** part/#wowace BigRedBrent (~Brent@pool-72-86-75-100.aubnin.fios.verizon.net)
23:26.20Repo10bartender4_dualspec: 03profalbert 07master * v1.2-1-gbfb7f9e / (2 files in 1 directory): [+1 commit] rewrite to support multiple addons
23:31.25*** join/#wowace |mascondante| (~kvirc@pool-72-71-116-103.atl01.dsl-w.verizon.net)
23:38.08*** join/#wowace bien|| (~bien@p4FF47433.dip.t-dialin.net)
23:43.36*** join/#wowace zero7 (~crazy@86.36.49.1)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.