Download
(7Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 03-15-24 05:48 PM
Pictures
File Info
Compatibility:
Classic (1.15.1)
Seeds of Renewal (10.2.5)
Classic (1.15.0)
Guardians of the Dream (10.2.0)
WOTLK Patch (3.4.3)
Hot Fix (10.1.7)
Classic (1.14.4)
Fractures in Time (10.1.5)
WotLK Patch (3.4.2)
Dragonflight patch (10.0.7)
Embers of Neltharion (10.1.0)
WOTLK Patch (3.4.1)
Dragonflight patch (10.0.5)
Dragonflight (10.0.2)
Updated:03-15-24 05:48 PM
Created:11-03-08 07:07 PM
Downloads:7,659
Favorites:117
MD5:
Categories:Chat Mods, The Burning Crusade Classic, Classic - General, WOTLK Classic

SlashHelp  Popular! (More than 5000 hits)

Version: 5.2
by: SDPhantom [More]

SlashHelp enables the user to search all registered emotes, chat types, and slash commands as they type.
SlashHelp includes within the result list, any slash commands registered by other AddOns as well.

Contact:

I'm open to questions and suggestions. Feel free to message me here or post in the comments.
I'm also available for support on the WoWUIDev Discord, @mention me (SDPhantom) or send a DM.

v5.2 (2021-09-16)
-Multi-ToC build implemented

v5.1 (2020-11-26)
-Removed ChatFrame_ImportAllListsToHash() calls to mitigate command registration errors with some addons
Note: "Mitigate" doesn't mean "Fix". These are still bugs in the affecting addons, not SlashHelp.

v5.0 (2020-10-14)
-Tested for Shadowlands v9.0.2
-Heavily optimized scanner code
-Completely rewritten GUI

v4.2 (2012-09-26)
-Quick patch to the scanner fixes an unhandled error with some addons.

v4.1 (2011-11-29)
-WoW v4.3.0 Support
-Quick patch to the scanner fixes a conflict with Blizzard's new slash command code.

v4.0 (2010-11-04)
-Tested for Cataclysm v4.0.3
-New multi-stage command scanner for optimized run-time performance
*Initial scanner scans for all slash commands on-load (chat, emote, secure, and normal).
*Progressive scanner loads additional commands as they are registered.
*Filter runs as you type, filtering through a presorted cache.
-Scanners cache and sort only when new commands added.
-Sort and type filter preferences are now saved across sessions.
-Tooltips display token identifier, chat type, aliases, and if available, addon information.
-Clean client runs new filter at 2ms, compared to 280ms that v3.1 ran at

v3.1 (2010-09-08)
-Configuration window works properly again.
-Corrected version number in TOC file.

v3.0 (2010-08-06)
-WoW v3.3.5 Support
-New display code allows the command list to be shared among multiple edit boxes.
-New scroll indicator shows position in the list.
-API for AddOn support partially implemented. (Custom positioning not supported)

v2.2 (2008-11-03)
-Made the slash command detection a little more robust.
-Completely removed auto-complete. (You can hit Tab to have the default UI do this.)

v2.1 (2008-08-16)
-Changed a few string function calls to the object-oriented style.

v2.0 (2007-08-18)
-Remade detection code to scan through the slash globals instead of from the function table.
-Removed auto-complete ability from secure commands.

v1.1 (2006-12-10)
-WoW 2.0.1 Support
-Added the new secure slash commands implemented by Blizzard.

v1.0 (2006-11-20)
-Scans and detects all emotes, chat types, and slash commands. (Even those registered by other addons)
-Option to sort alphabetically or by command type.
-Able to filter by type. (Emote, Chat, or Command)
-Scrollable list of found commands.
-Autocomplete feature implemented when a command from the list is clicked or the search returns only one command.
Post A Reply Comment Options
Unread 02-15-22, 01:52 PM  
Dogtor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 5
Made for WotLK
Report comment to moderator  
Reply With Quote
Unread 12-01-20, 09:55 AM  
RLD
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 53
Uploads: 1
thankyou

thank you for interceding for me with the dev of buttonforge. I tried his impromptu fix and it didnit work. then I tried your update for finding slash commands in a diff. way and that didn't work with the buttonforge orig code or his impromptu update. 2 days later he got it right. now both slashhelp and buttonforge play nicely together again. thanks much

Ackl
Report comment to moderator  
Reply With Quote
Unread 11-26-20, 08:04 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2313
File comments: 132
Uploads: 38
Re: issue with buttonforge

Originally Posted by RLD
if slashhelp is loaded and working buttonforge slash commands do not work and are not shown in slashhelp window. the two commands that are not working are /bufo and /buttonforge. if I disable slashhelp buttonforge commands work fine.


Ackl

p.s. I have a suspicion the authors may be implementing a non-standard way of implementing those two commands.
ButtonForge registers the function, then waits for a non-specific event to add the slash commands. Usually, this is done one after the other, but if ChatFrame_ImportListToHash() gets run on SlashCmdList between these, the command doesn't get registered.

I opened a CurseForge issue to address the problem. Meanwhile, I'm working on a way to mitigate it from my end. There may be other addons that call this function, so this issue isn't completely gone until ButtonForge fixes it.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Last edited by SDPhantom : 11-26-20 at 08:13 PM.
Report comment to moderator  
Reply With Quote
Unread 11-26-20, 11:18 AM  
RLD
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 53
Uploads: 1
issue with buttonforge

if slashhelp is loaded and working buttonforge slash commands do not work and are not shown in slashhelp window. the two commands that are not working are /bufo and /buttonforge. if I disable slashhelp buttonforge commands work fine.


Ackl

p.s. I have a suspicion the authors may be implementing a non-standard way of implementing those two commands.
Report comment to moderator  
Reply With Quote
Unread 10-15-20, 12:29 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2313
File comments: 132
Uploads: 38
Re: Re: Re: shadowlands

Originally Posted by gmarco
Originally Posted by SDPhantom
Originally Posted by Digawen
Will there be a shadowlands version? Unfortunately the add-on does not work in the beta version at the moment.
They didn't give me access to beta, so I'll have to wait for PTR this time around.
I really have to understand how Blizzard give away beta keys. The keys are arrived also to freezed people from years, but not to all authors of addons (I got mine even if there were people that can use it in a more productive way
For as long as I can remember, they always kept keys aside for addon authors and in various ways over the years, had the staff here offer them. This is the first year this hasn't happened and many of us were stuck with the random way they're done now. I imagine I'm not the only one sitting here confused as to what happened.

I got mine finally literally days before the pre-patch went live, making me question what the point was anymore.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Last edited by SDPhantom : 10-15-20 at 12:36 AM.
Report comment to moderator  
Reply With Quote
Unread 10-14-20, 06:00 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Re: Re: shadowlands

Originally Posted by SDPhantom
Originally Posted by Digawen
Will there be a shadowlands version? Unfortunately the add-on does not work in the beta version at the moment.
They didn't give me access to beta, so I'll have to wait for PTR this time around.

I really have to understand how Blizzard give away beta keys. The keys are arrived also to freezed people from years, but not to all authors of addons (I got mine even if there were people that can use it in a more productive way

Mah ...
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 10-14-20 at 06:01 PM.
Report comment to moderator  
Reply With Quote
Unread 10-09-20, 02:48 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2313
File comments: 132
Uploads: 38
Re: shadowlands

Originally Posted by Digawen
Will there be a shadowlands version? Unfortunately the add-on does not work in the beta version at the moment.
They didn't give me access to beta, so I'll have to wait for PTR this time around.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 10-09-20, 02:40 AM  
Digawen
A Kobold Labourer

Forum posts: 1
File comments: 13
Uploads: 0
shadowlands

Will there be a shadowlands version? Unfortunately the add-on does not work in the beta version at the moment.
Report comment to moderator  
Reply With Quote
Unread 10-27-19, 05:56 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2313
File comments: 132
Uploads: 38
Re: Pls Update for Classic

Originally Posted by Digawen
I miss this addon so hard in classic.
As far as I know, it works for classic if you load out of date. The current version I have in development is in an unfinished state and I have other projects on the plate currently.



Originally Posted by Barleduq
My apologies, can you point to where I would have known that? Cause I didn't know that either, and I guess I'm very confused.
Go ahead and ignore that comment, I was posting on RealMobHealth earlier and this somehow got mixed in with those.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 10-20-19, 12:55 PM  
Digawen
A Kobold Labourer

Forum posts: 1
File comments: 13
Uploads: 0
Pls Update for Classic

I miss this addon so hard in classic.
Report comment to moderator  
Reply With Quote
Unread 10-24-14, 06:05 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2313
File comments: 132
Uploads: 38
Re: some idea to led it better .

When I get around to it, the entire interface will be rewritten from scratch. I had always intended the scrollbar on the list frame to be dragable, but I ended up settling with using the scroll wheel. The options frame will need to be placed elsewhere. Perhaps make it a popup when the list is right-clicked. Sadly, auto-complete will need to be left out as it causes taint to the editbox and prevents secure commands from being run.

I haven't even looked at the code in 2 years, so I'll have to go through and tear it down to the basics before working on it again.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 10-23-14, 05:13 PM  
uckingzou
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 3
some idea to led it better .

It's my little idea:

SlashHelp.lua
If press shift then scroll a page:
Lua Code:
  1. frame:SetScript("OnMouseWheel",function(self,delta)
  2.         local val = 3
  3.         if IsShiftKeyDown() then
  4.             val = addon.MaxListSize
  5.         end
  6.         self:ScrollBy(-delta*val);
  7.     end);

Click then finish the text
Lua Code:
  1. local function ListOnClick(self)
  2.         if addon.Parent ~= nil then
  3.             addon.Parent:SetText(self.SlashText:GetText())
  4.         end
  5.     end
  6.    
  7.     obj:SetScript("OnClick",ListOnClick)

If not type / then don't show Options
Lua Code:
  1. function addon:ShowOptions(frame)
  2. end
  3. function addon:HideOptions(frame)
  4. end
  5.  
  6. function addon:SetFilter(frame)
  7.     if self.Parent and frame==self.Parent then
  8.         local text = frame:GetText()
  9.         self.ListFrame.Offset=0;
  10.         self:BuildFilter(text);--   FilterCache is reused so returned table pointer never changes
  11.         self:UpdateFrames();
  12.         self:RepositionFrames();
  13.  
  14.         if text ~= nil and text:find("^/") then
  15.             self:ShowOptions(frame)
  16.         else
  17.             self:HideOptions(frame)
  18.         end
  19.     end
  20. end
In Options.lua
Lua Code:
  1. ----------------------------------
  2. --[[    Options Frame Hooks ]]
  3. ----------------------------------
  4. hooksecurefunc(addon,"ShowOptions",function(self,frame)
  5.     self.OptionsFrame:SetParent(frame);
  6.     self.OptionsFrame:Show();
  7. end)
  8.  
  9. hooksecurefunc(addon,"HideOptions",function(self,frame)
  10.     self.OptionsFrame:Hide();
  11. end)
Report comment to moderator  
Reply With Quote
Unread 03-20-13, 10:59 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2313
File comments: 132
Uploads: 38
Re: slight confusion on my part

Originally Posted by Barleduq
The front page of this addon says it's version 4.2, updated on March 7th, 2013. The changelog says it's version 4.2 updated in September ...

Is the changelog out of date, or the file version number, or... ?

Just checking as part of deciding if I want to add this to my collection of addons...
The changelog is correct. The website is noting that I updated the TOC interface number recently, which IMO doesn't constitute a version change or a note in the changelog. This addon continues to perform to my expectations and hasn't needed any modifications since the update noted in the changelog.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 03-15-13, 05:24 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
slight confusion on my part

The front page of this addon says it's version 4.2, updated on March 7th, 2013. The changelog says it's version 4.2 updated in September ...

Is the changelog out of date, or the file version number, or... ?

Just checking as part of deciding if I want to add this to my collection of addons...
Report comment to moderator  
Reply With Quote
Unread 09-26-12, 01:50 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2313
File comments: 132
Uploads: 38
Version 4.2 is out with a quick patch to the scanner that resolves an error that rises when an addon attempts to set nil to a new SlashCmdList entry. The same check is also applied to the hidden feature of detecting direct hash_SlashCmdList injections.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Last edited by SDPhantom : 09-26-12 at 01:55 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: