Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (Web): Rizial says, "What about a variable system?"
- (Web): You say, "What have you got in mind?"
- (Web): Rizial says, "I mean like. For example. You set your 'target to whatever."
- (Web): Rizial says, "And when you attack you always hit that target."
- (Web): Rizial says, "Well same principle for pricing everything you want on each shelf."
- (Web): Rizial says, "That way it eliminates some of the required captures and temporary
- variables."
- (Web): Rizial says, "The less the system has to remember the less likely it is to get all
- jumbled."
- (Web): Rizial says, "So lets say you do 'S WHATEVER."
- (Web): You say, "Could be workable. I've already got an item number highlight widget and
- I have a few utility things on right click. If you could make a snippet that collects a
- list based on right clicks, that'd be pretty glorious."
- (Web): You say, "Could rightclick>addtolist for all items I want, then execute a custom
- command for each entry in the list."
- (Web): Rizial says, "Okay. When you say utility things on right click. you mean like it
- shows up in your right click along with copy and copy HTML?"
- (Web): You say, "When I right click an item number I get a custom dropdown."
- (Web): Rizial says, "Ahhh. Well if I had that code."
- (Web): Rizial says, "I could add to it."
- (Web): You say, "I can add to it myself simply enough. It's just the part that attaches
- to it that I can't write."
- (Web): Rizial says, "Ah i gotcha."
- (Web): Rizial says, "Hmmm."
- (Web): You say, "Currently I've got a bunch of things like 'probe item - get item - fill
- item' etc."
- (Web): Rizial says, "Well how about a button?"
- (Web): You say, "What d'you mean?"
- (Web): Rizial says, "Like a button fixed somewhere on the screen."
- (Web): You say, "To do what?"
- (Web): Rizial says, "So that you can click it to do basically the same thing."
- (Web): Rizial says, "I'm not a hundred percent sure on how to make custom right clicks."
- (Web): You say, "Like I said, I can do that. A button wouldn't work because the right
- click comes up when I right click on a specific item number."
- (Web): Rizial says, "Gotcha."
- (Web): Rizial says, "Alright lemme see what I can do."
- (Web): You say, "What I would need from you is the script that handles the variable list,
- and the snippet that sends an input to that script."
- (Web): You say, "Then I'd build the snippet into my right click menu."
- (Web): Rizial says, "Okay."
- (Web): Rizial says, "I'd need the variable list you use then."
- (Web): Rizial says, "Unless you want me to make one up."
- (Web): You say, "I don't have one, you'd need to write one."
- (Web): Rizial says, "Alrighty."
- (Web): You say, "I'd like it to be able to store a list of numbers. It'd need an alias to
- clear the list, and an alias to execute a command I give for each item in the list."
- (Web): You say, "'numlist' for example, which would become 'price numlist 200 shelf 2'
- and which would execute that command for every number in the list."
- (Web): Rizial says, "Ohhhhhhhh."
- (Web): Rizial says, "Ok."
- (Web): Rizial says, "Alright i'll get on that and get back with you."
- (Web): Zion says, "I am now calling targets."
- (Web): Zion says, "Target: Xorani."
- (Web): Zion says, "Roar health and stuff gab."
- (Web): Rizial says, "You templar Zion?"
- (Web): Gabriele says, "Give me."
- (Web): Zion says, "Lag sec."
- (Web): Rizial says, "Ouch."
- (Web): Rizial says, "Hey zion."
- (Web): Rizial says, "What guild you in?"
- (Web): Zion says, "Non."
- (Web): Rizial says, "Oh nice."
- (Web): Rizial says, "Alright i may be a bit distracted."
- (Web): Rizial says, "Sifting through code."
- (Web): Rizial says, "Okay what list does your right click work on Elea?"
- (Web): Rizial says, "Any list?"
- (Web): Rizial says, "As in II INV WARES and so on."
- (Web): Rizial says, "Nevermind I got it figured out."
- (Web): Zion says, "No wonder I have no resistances rings."
- (Web): Rizial says, "Ooh."
- (Web): Rizial says, "That was close."
- (Web): You say, "Sorry, afk'd. It doesn't have any list functions attached."
- (Web): Rizial says, "Okay just making sure."
- (Web): You say, "You don't need to worry about the right click list."
- (Web): You say, "Connecting it to the variable collector is the last step."
- (Web): Rizial says, "I'm gonna set it for aliases."
- (Web): Zion says, "Can't find xiu."
- (Web): Rizial says, "Meaning an alias sets the numbers it remembers until you can
- integrate it in your clicker."
- (Web): You say, "That."
- (Web): You say, "*will be fine."
- (Web): Zion says, "Eleanor hiya."
- (Web): You say, "Ahoy."
- (Web): Zion says, "Haven't seen you in awhile."
- (Web): Gabriele says, "Cant keep roars up for long."
- (Web): You say, "Been lying low thanks to work I guess, haha."
- (Web): Zion says, "Don't worry then."
- (Web): Rizial says, "Gaaab."
- (Web): Rizial says, "Make him alive."
- (Web): Rizial says, "DIAGNOSE."
- (Web): Rizial says, "See what's afflicting you."
- (Web): Gabriele says, "Endurance: 282/23655."
- (Web): Rizial says, "Ohhhh."
- (Web): Rizial says, "Yeah.."
- (Web): Rizial says, "Revive him?"
- (Web): Rizial says, "Or can you?"
- (Web): Gabriele says, "Cant."
- (Web): Rizial says, "Dang."
- (Web): Zion says, "Dam."
- (Web): Rizial says, "Sorry zion."
- (Web): Zion says, "Its cool got spiritanchor."
- (Web): Rizial says, "Sweet."
- (Web): Rizial says, "I should get that."
- (Web): Rizial says, "My alt has it."
- (Web): Gabriele says, "My endurance is shoot for now."
- (Web): Zion says, "Eat that."
- (Web): Zion says, "I always carry a few."
- (Web): Zion says, "Target: Xorani."
- (Web): Zion says, "Dammit gabriele."
- (Web): Rizial says, "Heh...not reviving?"
- (Web): Zion says, "Gabriele is at 'Ranger's trail entering the Western Ithmia in the
- Ranger's Trail.' in (13130,...) standing alone."
- (Web): Zion says, "Gabriele is at 'Ranger's trail entering the Western Ithmia in the
- Ranger's Trail.' in (13130,...) standing alone."
- (Web): Rizial says, "Odd."
- (Web): Zion says, "Target: Spellshaper."
- (Web): Zion says, "I am no longer calling targets."
- (Web): Zion says, "Should get those resistances ring."
- (Web): Rizial says, "I have em."
- (Web): Gabriele says, "I forgot to touch starburst."
- (Web): Rizial says, "I need to go to the shop to start testin things."
- (Web): Rizial says, "Ok elea."
- (Web): Rizial says, "Now you want that for..just pricing or adding to shelves and the
- cache as well?"
- (Web): You say, "I use number lists for a bunch of things, so making it insertable as an
- alias into any command would be ideal."
- (Web): You say, "Like that example I gave with 'numlist' as the keyword."
- (Web): Rizial says, "Okay sure thing."
- (Web): Zion says, "Rizial where you go."
- (Web): Zion says, "Rizial is at 'Stockroom in the Isle of' in Delos. standing alone."
- (Web): Zion says, "Heh."
- (Web): Zion says, "Well i will chill for a min."
- (Web): Zion says, "Ezalor is at 'Xorali patrol path overlooking military grounds in the
- village of Xoral.' in 11086 with 6 people."
- (Web): Zion says, "Can't find isto."
- (Web): Zion says, "Can't find xiu."
- (Web): Zion says, "Ronnie is at 'A small den in the Aalen forest.' in (15116,...) with 1
- people."
- (Web): Rizial says, "You're a painter?!"
- (Web): Rizial says, "Awesome."
- (Web): Rizial says, "Okay so.."
- (Web): You say, "Yup, digital and traditional."
- (Web): Rizial says, "Right now i'm getting over the hurdle of making a command to price
- each number in the numlist."
- (Web): Rizial says, "That's awesome."
- (Web): Rizial says, "You should totally pain riz."
- (Web): Rizial says, "Paint."
- (Web): Rizial says, "Lol."
- (Web): Rizial says, "I remember someone was doing chibis."
- (Web): Rizial says, "Don't remember who."
- (Web): You say, "There's a few people who do 'em, I'm one of them."
- (Web): Rizial says, "Oh that's cool."
- (Web): You say, "It's been so long since I coded anything that I can't think of the
- pseudocode offhand, but what it needs to be is a thing that takes the command surrounding
- the alias (you'll need to capture it with the Matches bit) and executes that once for
- each entry in the list."
- (Web): Rizial says, "Well i'm looking to do it with ipairs instead of the matches[2]
- function."
- (Web): You say, "Thinking you'll need to make use of both."
- (Web): Rizial says, "Well yeah the matches[2] function I'm going to use for the shelf and
- price."
- (Web): You say, "Matches to capture what's surrounding the alias, ipairs to iterate
- through the list."
- (Web): Rizial says, "Just trying to figure out how to mesh em all together as a command
- haha."
- (Web): You say, "Should be able to make a general one like that which doesn't
- discriminate for what's surrounding the alias."
- (Web): Rizial says, "Okay!"
- (Web): You say, "Hm?"
- (Web): Rizial says, "Sorry I think I've figured it out."
- (Web): Rizial says, "Ok."
- (Web): Rizial says, "It works."
- (Web): Rizial says, "So what i have is."
- (Web): Rizial says, "You addnum (itemnumberhere)"
- (Web): Rizial says, "Then."
- (Web): Rizial says, "Pr (price for the items listed here)"
- (Web): Rizial says, "Then."
- (Web): Rizial says, "Sh (shelf here)"
- (Web): Rizial says, "And then GOPRICE."
- (Web): Rizial says, "And it prices all the number pairs in the table as the price and on
- the shelf specified by the other two alias/variables."
- (Web): You say, "It's not possible to just have it all in the one alias? I'm okay with
- typing out 'price numberlist 200 shelf 4' if GOPRICE will then iterate everything. That
- will make it more flexible for other commands containing numberlist."
- (Web): You say, "What I mean is, it would be more flexible to have " X NUMBERLIST Y"
- captured, and then iterate that format for each entry."
- (Web): Rizial says, "I should be able to do that."
- (Web): Rizial says, "I'll just have to toss in a matches[3]."
- (Web): You say, "Right, right. Versatility is good for a thing like this."
- (Web): Rizial says, "Okay let me see if this works."
- (Web): Rizial says, "Fucking sweet."
- (Web): You say, "Pass me a playtest of it in a pastebin?"
- (Web): Rizial says, "Okay now if you do for example ps 500 3 it will execute price
- numlist 500 3."
- (Web): Rizial says, "Ok."
- (Web): Rizial says, "Http://pastebin.com/9KmHatEL."
- (Web): Rizial says, "Ignore the 1 before the addnum. Forgot to turn that echo off."
- (Web): You say, "Okay. I'd like an alias that captures "X numberlist Y" so I can do, say,
- 'customize numberlist as 12345'"
- (Web): You say, "And have it iterate through the list as with the pricing."
- (Web): Rizial says, "Meaning so you can price different items at different prices all at
- the same time?"
- (Web): You say, "No, meaning I would like the number list to be useable with more
- commands than just 'price numberlist 200 shelf 4'."
- (Web): Rizial says, "Ohh."
- (Web): Rizial says, "So you want to make it to where it can be used for other things like
- buy 500 moss, donuts, cookies, bread, whathaveyou?"
- (Web): You say, "Yeah, that's one use for it. If I had 123, 234 and 345 in the list and I
- typed 'buy numberlist' I'd like it to send 'buy 123, buy 234, buy 345'"
- (Web): You say, "If I typed 'customise numberlist as 999' I'd like it to send 'customise
- 123 as 999, customise 234 as 999, customise 345 as 999'"
- (Web): Rizial says, "Well for that matter just do."
- (Web): Rizial says, "Ps 234."
- (Web): Rizial says, "And i can make you a separate alias for a separate use of those
- variables."
- (Web): Rizial says, "Let me see what I can do."
- (Web): Rizial says, "Wait...does it take balance to customize things?"
- (Web): Rizial says, "Or is that just an example?"
- (Web): You say, "It just needs to catch what's before the keyword in matches[x] and
- what's after it in matches[y]. Then you need the for-pairs function to send "matches[x]
- number[i] matches[y]'."
- (Web): You say, "It does. I can add things to my balance list easily enough though."
- (Web): You say, "As long as you can do what I said in pseudocode there, you don't need to
- worry about balance."
- (Web): Rizial says, "Okay so you literally want it to do customize blah as blah customize
- blah as blah?"
- (Web): You say, "Just need it to send whatever's before the number and whatever's after
- the number for each number in the list."
- (Web): Rizial says, "Oh okay easy peasy."
- (Web): Rizial says, "Ok."
- (Web): Rizial says, "Got a new one for you."
- (Web): You say, "Right?"
- (Web): Rizial says, "Almost."
- (Web): Rizial says, "One sec."
- (Web): Rizial says, "Http://pastebin.com/ju7GDDHG."
- (Web): Rizial says, "Something like that?"
- (Web): Rizial says, "I haven't quite figured out how to get it to ignore the AS if you
- just want to do derp blah blah instead of derp blah as blah."
- (Web): You say, "What does 'derp' and 'wtf' represent? And I don't want it to ignore
- parts of my command, I just want it to repeat them."
- (Web): Rizial says, "Derp is the alias command."
- (Web): Rizial says, "Wtf is the variable."
- (Web): Rizial says, "It's the numlist."
- (Web): Rizial says, "I did addnum wtf."
- (Web): You say, "You should be able to make an alias that doesn't need to be prefixed
- with anything. Regex."
- (Web): Rizial says, "Alright well i'm gonna have to hit the sack tonight. I'll keep
- working on it tomorrow."
- (Web): You say, "Righteo, sleep well."
- (Web): Rizial says, "Well yeah this is just a rough draft."
- (Web): Rizial says, "Later."
Advertisement
Add Comment
Please, Sign In to add comment