Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(113 Kb)
Download
Updated: 10-16-14 01:30 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-16-14 01:30 PM
Created:09-27-13 10:43 AM
Downloads:438
Favorites:7
MD5:

Slash Magic

Version: 2014.10.16
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:
/eject = ejects passenger from seat # or all seats
/xx = attempts to dismount you and leave any vehicle you are in
/gfx = restart the gfx engine
/fquit = fast quit / force quit
/tele = teleport in/out of lfg dungeon
/p2r = convert your party to a raid
/r2p = convert your raid to a party
/clear = clear all raid markers (smoke bombs)
/cloak = toggle your cloak visibility
/helm = toggle your helm visibility
/lvgrp = will leave your group
/passloot = will toggle pass on loot
/in = will run a slash command in a set amount of time ( /in delaytime /whatever) or (/in mins:secs /whatever) (not all slash commands can be delayed)
/sha = tells you if you did Sha of Anger
/exp = tells you exp to next level and rested amount
/ready = initiates a ready check
/role = initiates a role check
/names = toggle names / nameplates in the 3d world
/toast = set / clear your Battle Net message
/cdown = counts down in "SAY" from passed 1st number by optional 2nd number
/quitaftertaxi = [/qat] quits the game after landing from a taxi flight (or swim)(options are logout to just logout instead of quit or cancel to not quit after taxi)
/mount = summons a mount matching passed string ("/mount hearth" would mount hearthsteed) (prefering flying 1st)
/critter = [/vpet] summons a vanity pet matching passed string ("/vpet treas" would match Treasure Goblin) (prefering favorite pets 1st)

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

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 (5)
File Name
Version
Size
Author
Date
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 04-28-14, 01:15 PM  
Billtopia
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 53
Uploads: 9
Aliases

I was thinking of adding aliases for commands if that is something people were looking for...
Billtopia is offline 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: 53
Uploads: 9
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.
Billtopia is offline 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: 7
Uploads: 2
Talking great Idea

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

Forum posts: 486
File comments: 355
Uploads: 20
really neat idea, has a lot of commands in it that I like the idea of too
10leej is offline 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: 53
Uploads: 9
Originally Posted by Zuedama
Thank you, thank you! =)
You're welcome, You're welcome. lol
Billtopia is offline Report comment to moderator  
Reply With Quote
Unread 09-29-13, 09:54 AM  
Zuedama
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
Thank you, thank you! =)
Zuedama is offline 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: 53
Uploads: 9
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
Billtopia is offline 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: 53
Uploads: 9
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.
Billtopia is offline Report comment to moderator  
Reply With Quote
Unread 09-27-13, 04:57 PM  
Zuedama
A Kobold Labourer

Forum posts: 0
File comments: 18
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 =)
Zuedama is offline 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: 53
Uploads: 9
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.
Billtopia is offline Report comment to moderator  
Reply With Quote
Unread 09-27-13, 04:04 PM  
Zuedama
A Kobold Labourer

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

/ready = ready check
/role = role check

?

Zuedama is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: