Download
(149 Kb)
Download
Updated: 10-13-13 10:49 AM
Compatibility:
Siege of Orgrimmar (5.4)
Updated:10-13-13 10:49 AM
Created:09-27-13 10:43 AM
Downloads:222
Favorites:3
MD5:
5.4
Slash Magic
Version: 2013.10.13
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.
To change the addon settings or create a new command type /sm config
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 = NYI: will leave your group
/passloot = NYI: will set pass on loot
/in = will run a slash command in a set amount of time ( /in /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 nameplates and names on/off in 3d world

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
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 (2)
File Name
Version
Size
Author
Date
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
Old 09-30-13, 12:29 PM  
Billtopia
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 49
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
Old 09-29-13, 09:19 PM  
dtylertx
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 6
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
Old 09-29-13, 08:44 PM  
10leej
An Onyxian Warder
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 361
File comments: 288
Uploads: 15
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
Old 09-29-13, 04:33 PM  
Billtopia
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 49
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
Old 09-29-13, 09:54 AM  
Zuedama
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Thank you, thank you! =)
Zuedama is offline Report comment to moderator  
Reply With Quote
Old 09-29-13, 08:34 AM  
Billtopia
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 49
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
Old 09-28-13, 07:28 AM  
Billtopia
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 49
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
Old 09-27-13, 04:57 PM  
Zuedama
A Kobold Labourer

Forum posts: 0
File comments: 17
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
Old 09-27-13, 04:40 PM  
Billtopia
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 49
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
Old 09-27-13, 04:04 PM  
Zuedama
A Kobold Labourer

Forum posts: 0
File comments: 17
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: