Search found 43 matches
- Fri May 13, 2022 1:52 pm
- Forum: Help Forum
- Topic: which container to use for this and how
- Replies: 2
- Views: 3288
Re: which container to use for this and how
something like this? assuming 25% for sidebar. myBorderSize = (WindowWidth*.25) rightSideBar = Geyser.Container:new({ name = "rightSideBar", x = -myBorderSize, y = 0, width = myBorderSize, height = "100%", }) function resizeMapContainer() local getWidth, getHeight = getMainWindow...
- Thu Dec 31, 2020 4:24 pm
- Forum: Help Forum
- Topic: If /Then Alias?
- Replies: 1
- Views: 6692
Re: If /Then Alias?
The attached Glances target to spell up Stone, Haste and Globe. Should be an easy mod to gsay shields on a glance target.
Don't know if Front/Back rank code is still in on Duris, may impact in some situations if still active.
Don't know if Front/Back rank code is still in on Duris, may impact in some situations if still active.
- Sun Feb 12, 2017 12:38 pm
- Forum: Help Forum
- Topic: Comparing 2 variables became variable and string
- Replies: 5
- Views: 4172
- Thu Jul 28, 2016 12:34 am
- Forum: Help Forum
- Topic: Working with Multiple Variables
- Replies: 4
- Views: 4548
Re: Working with Multiple Variables
You could use a table with the long description as keys. InfTable = { ["some mineral dust"] = "Stone", ["a small chunk of stone"] = "Stone", ["a large, polished stone"] = "Stone", ["a small piece of meteorite"] = "Stone"...
- Sun May 22, 2016 5:35 pm
- Forum: Help Forum
- Topic: Interesting concept but... need help.
- Replies: 6
- Views: 5970
Re: Interesting concept but... need help.
Insert capture groups in your regex to align with your desired variables, then build a string from the matches and echo the string to the miniConsole. myExample: local Hps=tonumber(matches[4]) local Mvs=tonumber(matches[5]) local Name=matches[2] local CharClass=matches[3] SetHPcolor() SetMVcolor() G...
- Sun May 15, 2016 5:44 pm
- Forum: Help Forum
- Topic: Windows VS MiniConsole
- Replies: 2
- Views: 3172
Re: Windows VS MiniConsole
You can control the FontSize but not the Font for a miniConsole. They utilize the default font. calcFontSize(fontSize) Used to calculate the number of pixels wide and high a character would be on a mini console at fontSize. As the primary intended usage is for calculating the needed dimensions of a ...
- Sat Jan 23, 2016 12:08 am
- Forum: Help Forum
- Topic: Using deleteLine() at the tail of other trigger processing
- Replies: 4
- Views: 3648
Re: Using deleteLine() at the tail of other trigger processi
Any chance you trigger is multi-line? or otherwise allowing the cursor to get beyond the line your wanting to delete? Regarding you follow up, this works for me which uses matches[3]: Pattern: (Head|Front|Back)\)\s(.*)$ local xName = string.trim(matches[3]) groupMate = xName GroupCount = GroupCount ...
- Fri Jan 22, 2016 1:02 am
- Forum: Help Forum
- Topic: Using deleteLine() at the tail of other trigger processing
- Replies: 4
- Views: 3648
Re: Using deleteLine() at the tail of other trigger processi
I would suggest checking your logic without the deleteLine() to make sure you have things working appropriately. I use deleteLine() a lot to remove text from the main window that I have routed to miniconsoles. example: if not string.starts(line, "Zone:") then if not string.starts(line, &qu...
- Sun Jan 17, 2016 3:33 am
- Forum: Help Forum
- Topic: [help] replacing words
- Replies: 2
- Views: 2995
Re: [help] replacing words
how about gsub?
- Sat Jan 02, 2016 10:17 pm
- Forum: Help Forum
- Topic: Newbie Rescue Trigger Question
- Replies: 1
- Views: 2710
Re: Newbie Rescue Trigger Question
Assuming you have the exact code in your post your issue is with the variable: Brasidas. I'm assuming you really wanted "Brasidas" rather than a variable Brasidas. target = matches[2] display (target) if target ~= "Brasidas" then send("stand") send("rescue " ....