20 - small update for ping slash command
What steps will reproduce the problem?
- hint enter and type "/ping player %t" with a target
What is the expected output? What do you see instead?
- Expected would be to ping the target, instead the output is that %t is not online.
What version of the product are you using?
- 1.27.1
Please provide any additional information below.
I suggest to edit the code ...
In ghi.lua (line 146-148)
elseif strlower(a) == "ping" then
GHI_SendPing(b);
else
replace with
elseif strlower(a) == "ping" and not( b == "" or b == " ") then
if b == "%t" then b = UnitName("TARGET"); end
GHI_SendPing(b);
end
This checks for "b" when pinging (and only pings when b is given) and you can ping your target via shorthand.
| User | When | Change |
|---|---|---|
| jackprince | May 01, 2010 at 16:17 UTC | Create |
Facts
- Reported
- May 01, 2010
- Status
- New - Issue has not had initial review yet.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Low - Might slip to a later milestone.
- Votes
- 0