Quantcast
Download
(159 Kb)
Download
Updated: 10-24-20 01:55 PM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:10-24-20 01:55 PM
Created:09-27-13 10:43 AM
Downloads:2,221
Favorites:11
MD5:
Categories:Developer Utilities, Mounts & Pets, Miscellaneous, Utility Mods, WoW Tools & Utilities

Slash Magic

Version: 9.00.01.4
by: Billtopia [More]

This addon allows you to turn small lua scripts into slash commands that can be saved and loaded automatically each time you log into the game. Add your own lua scripts and make your own slash commands all while logged into, and playing WoW. No reloads required to edit your code or activate the new commands. Just type "/sm config" to get started.

If you have any ideas for new default commands let me know... To change the addon settings type /sm config
current commands are:

current commands are:
/artifact Display Artifact power
/autoclick Auto click certain pop up dialogs
/autodnd Auto set yourself as DND
/autogeneral Auto leave general chat when in an instance and rejoin when no longer in an instance
/autorez Auto-accept Rez request when out of combat
/calc A simple command line calculator
/carbautotrack Set Carbonite's auto quest track from the command line
/cdown counts down from passed number by optional second passed number (limited ability due to Blizz changes)
/clear clear all world markers (smoke bombs)
/cmount summons the class mount
/critter summons the first vanity pet matching the passed string (attempts favorite pets first)
/dboss Are the (Pandaria) daily world bosses/quests done?
/eject ejects passenger from seat # or all seats
/events Starts event debugger that shows ALL events
/exp displays your experience and rested experience
/expauto displays experience summary at certain percents of level (0 = each time you get exp 25 = when you cross 25/50/75/100 ect)
/gfx restart the gfx engine
/gryphons hides or shows the Blizzard gryphons
/hn HandyNotes display toggle
/in will run a slash command in a set amount of time \"/in ## /whatever\" or \"/in #:## /whatever\" (not all slash commands can be delayed)
/inframes will run a slash command in a set amount of frames \"/inframes ## /whatever\" (not all slash commands can be delayed)
/lvgrp will leave your group
/mana alerts your group if your mana goes below user set percentage
/matchmount attempts to match the mount of your target
/motd Guild MOTD
/mount summons the first mount matching the passed string (attempts favorite flying/ favorite/ flying/ any mount in that order
/names toggles the display of names in the 3d world
/narco wakes you up if a long time has passed since last keypress/movement
/ready initiate a ready check
/role initiates a role check
/sha checks to see if you did the "Sha of Anger"
/sticky Change the sticky chat channels
/tmover Toggle "Toast Mover" anchor (If you have Toast Mover installed)
/toast sets or clears your Battle-Net toast message
/tele teleport in/out of lfg dungeon
/p2r convert your party to a raid
/passloot will toggle pass on loot (still on option?)
/r2p convert your raid to a party
/unsheath Keeps your weapon out
/wboss" Are the (Pandaria) weekly world bosses/quests done?
/xx attempts to dismount you and leave any vehicle you are in including taxis

to create a new command type /sm config
type in the name of your new slash command like "test" for the command "/test"
this addon will not allow you to make a command named the same as some other command as you will not know which command will be the one ran because they overwrite each other...
put your code in the code window
put a description in the description window
click save
click activate

your command should now work

9.00.01.4
fixed lowercase r in Red(text color)

9.00.01.3
missed several commas in coloring library

9.00.01
new commands and fixes for Blizzard changes

2014.10.16
update for WoW 6.x

2014.05.21
new commands
command aliases
major improvements to the config lua editor (screen scrolling, line numbers, cursor positioning...)
moved editor into own addon so only loads when you use it

2014.04.28
added new commands
added saved variables and static variables for commands
/in command now supports min:secs time

2013.10.13
added new command
added uber code highlighting

2013.09.29
added 4 new requested commands
changed programing font to a monospace
added comment support
added code formatting support
added default command revisioning
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
9.00.01.3
159kB
Billtopia
10-22-20 03:12 PM
9.00.01.2
159kB
Billtopia
10-22-20 01:31 PM
2014.10.16
113kB
Billtopia
10-16-14 01:30 PM
2014.05.21
103kB
Billtopia
05-21-14 07:39 AM
2014.04.28
144kB
Billtopia
04-28-14 01:12 PM
2013.10.13
149kB
Billtopia
10-13-13 10:49 AM
2013.09.29
71kB
Billtopia
09-29-13 08:30 AM
2013.09.26
40kB
Billtopia
09-27-13 10:43 AM


Post A Reply Comment Options
Unread 10-24-20, 01:58 PM  
Billtopia
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 57
Uploads: 10
Re: Re: Re: still active?

1x SlashMagic\SlashMagic-2020-10-22.lua:630: bad argument #3 to 'format' (string expected, got nil)

Should be fixed now but not sure why it is showing on log in... it was located in the command list function (that lists all the added commands and their state )
Report comment to moderator  
Reply With Quote
Unread 10-24-20, 01:10 PM  
b3n9ti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 74
Uploads: 2
Re: Re: still active?

Originally Posted by Billtopia
...
getting the following on login:

1x SlashMagic\SlashMagic-2020-10-22.lua:630: bad argument #3 to 'format' (string expected, got nil)
[string "=[C]"]: in function `format'
[string "@SlashMagic\SlashMagic-2020-10-22.lua"]:630: in function `?'
[string "@SlashMagic\SlashMagic-2020-10-22.lua"]:486: in function `?'
[string "@FrameXML\ChatFrame.lua"]:5073: in function <FrameXML\ChatFrame.lua:5019>
[string "=[C]"]: ?
[string "=[C]"]: in function `ChatEdit_ParseText'
[string "@FrameXML\ChatFrame.lua"]:4737: in function <FrameXML\ChatFrame.lua:4736>
[string "=[C]"]: in function `ChatEdit_SendText'
[string "@FrameXML\ChatFrame.lua"]:4773: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals:
(*temporary) = "%s%d. %s/%s%s %s"
(*temporary) = "|cFFFFFFFF"
(*temporary) = 1
(*temporary) = nil
(*temporary) = "artifact"
(*temporary) = "|r"
(*temporary) = "Display Artifact power"
(*temporary) = "string expected, got nil"
Report comment to moderator  
Reply With Quote
Unread 12-11-16, 07:42 PM  
Billtopia
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 57
Uploads: 10
Re: still active?

Originally Posted by Lazare
Is this addon still active?
It is, I went and got carried away with trying to add features when the patch hit so I had to fix the commands that Blizzard broke but not all of the new features are implemented. (Compression of commands and being able to send them to other people) and new default commands that I have not released one in some time...


Do you need a specific command that has been updated (like they broke the mount command.. destroyed the helm/cloak commands so they can't be fixed)


I will have to release the not quite 100% version (no transferring commands yet as there is a message size limit and how many messages you can send in a set amount of time) I need to figure out some sort of flow control for that part.
Report comment to moderator  
Reply With Quote
Unread 12-11-16, 05:19 PM  
Lazare
An Aku'mai Servant
 
Lazare's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 74
Uploads: 4
Exclamation still active?

Is this addon still active?
__________________
"There's no such thing as too many addons."
Lothaer

My Authored Addons
HOME OF THE FREE, BECAUSE OF THE BRAVE
Report comment to moderator  
Reply With Quote
Unread 04-28-14, 01:15 PM  
Billtopia
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 57
Uploads: 10
Aliases

I was thinking of adding aliases for commands if that is something people were looking for...
Report comment to moderator  
Reply With Quote
Unread 09-30-13, 12:29 PM  
Billtopia
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 57
Uploads: 10
well if you come up with any good commands I can add them to the addon as defaults...

also some generic screenshots of the config ui would help as portions are rendered relative to the size of the display... I got it looking fine on my pc but was wondering on other peoples pcs...
Last edited by Billtopia : 10-01-13 at 06:39 AM.
Report comment to moderator  
Reply With Quote
Unread 09-29-13, 09:19 PM  
dtylertx
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 8
Uploads: 2
Talking great Idea

I can't wait til I get home from work and can play with this.
Report comment to moderator  
Reply With Quote
Unread 09-29-13, 08:44 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 581
File comments: 434
Uploads: 22
really neat idea, has a lot of commands in it that I like the idea of too
__________________
Tweets YouTube Website
Report comment to moderator  
Reply With Quote
Unread 09-29-13, 04:33 PM  
Billtopia
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 57
Uploads: 10
Originally Posted by Zuedama
Thank you, thank you! =)
You're welcome, You're welcome. lol
Report comment to moderator  
Reply With Quote
Unread 09-29-13, 09:54 AM  
Zuedama
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
Thank you, thank you! =)
Report comment to moderator  
Reply With Quote
Unread 09-29-13, 08:34 AM  
Billtopia
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 57
Uploads: 10
Originally Posted by Zuedama
Not to steal from someone else, but was just thinking that if you added what this addon does:

http://www.wowinterface.com/downloads/info20854-RC.html

to this one, it would save me from having two addons installed =)
your commands are now included in the default setup
Report comment to moderator  
Reply With Quote
Unread 09-28-13, 07:28 AM  
Billtopia
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 57
Uploads: 10
Originally Posted by Zuedama
Not to steal from someone else, but was just thinking that if you added what this addon does:

http://www.wowinterface.com/downloads/info20854-RC.html

to this one, it would save me from having two addons installed =)
you will have to disable the other addon first
to make a new command in my addon type /sm config
click new
name the command like for the command "/sha" name it "sha"
hit enter
if the "/sha" command is not existing it will create it or the addon will complain
copy the code from below and paste it into the code edit window
click save
click activate


try it out /sha or whatever lol


and the code for /sha would be:

if (IsQuestFlaggedCompleted(32099)) then
print("You have completed \"Sha of Anger\" this week.")
else
print("You haven't completed \"Sha of Anger\" this week.")
end





the code for exp is:


local unit = 'player'
if(UnitLevel( unit ) < 90) then
local XP = UnitXP(unit)
local MaxXP = UnitXPMax( unit )
local XPE = GetXPExhaustion()
print( ("Exp to level: %.2f k"):format( (MaxXP - XP) / 1000))
print( ("Rested exp: %.2f k"):format( XPE / 1000) )
else
print("You are at max level.")
end
Last edited by Billtopia : 10-01-13 at 10:23 AM.
Report comment to moderator  
Reply With Quote
Unread 09-27-13, 04:57 PM  
Zuedama
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
Not to steal from someone else, but was just thinking that if you added what this addon does:

http://www.wowinterface.com/downloads/info20854-RC.html

to this one, it would save me from having two addons installed =)
Report comment to moderator  
Reply With Quote
Unread 09-27-13, 04:40 PM  
Billtopia
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 57
Uploads: 10
Originally Posted by Zuedama
Would it be possible to also add
Originally Posted by Zuedama

/ready = ready check
/role = role check


I will see what I can do, or if you know any lua the addon is designed to allow you, the user, to create commands on your own...

so the code for the role check is just one line: InitiateRolePoll()

the code for the ready check seems to be : DoReadyCheck()




I will include them in my next version but you can put them in now...

(I made an evil macro with the /in command when I am on my sandstone drake I start a countdown and eject the person with it... I am waiting to drop a friend off over a horde capital)
Last edited by Billtopia : 09-27-13 at 05:14 PM.
Report comment to moderator  
Reply With Quote
Unread 09-27-13, 04:04 PM  
Zuedama
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
Would it be possible to also add

/ready = ready check
/role = role check

?

Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.