This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Posting vent info
Post Reply
Return to board index
Post by
ignis86
hi,
browsing through script features i have tought up some macros i would like and help making them, or a point towards a good scripting tutorial would be nice...
1) I'm looking for a nicer way of posting the vent info whenever its needed... this is my current setup... but i dont need to post to party in a raid and i don't want the not in a raid error when posting in party...
/p Vent Server
/p vent.url.com
/p port: ####
/p (Pwd is _____)
/ra Vent Server
/ra vent.url.com
/ra port: ####
/ra (Pwd is _____)
is there a script i can run that determines if im in a raid and only posts the info to there , or if only in a party posts info there? If not, how about a way to do it so left click is party announce and right is raid?
2) id like a macro that on left click sets the instance to non heroic and loot threshold to rare... and right click sets to heroic and threshold to rare
there are
group
and
Instance
functions so im thinking should be able to do it...
Post by
Neffi
/run local c = GetNumRaidMembers() > 0 and "RAID" or "PARTY"; SendChatMessage("
vent.url.com
",c) SendChatMessage("
port ####
",c) SendChatMessage("
password ___
",c)
Modify the underlined parts. Each underlined part will print into a new chat line. You can create new instances of
SendChatMessage("
...
",c)
to add new lines to the macro.
Post by
ignis86
THANKS! woot exactly what i wanted ^_^
the other one i don't care as much about...
Post by
232916
This post was from a user who has deleted their account.
Post by
ignis86
Doesn't quite seem to work... hmm...
is there a functionality for
if DungeonDifficulty(1) run SetDungeonDifficulty(2): else run SetDungeonDifficulty(1)?
how would i make a macro check to see what the setting was to?
was /run local GetDungeonDifficulty()? something like that?
kinda like
/cast dire bear form; cat form
which would go from any stance to cat and from cat to bear
Post by
Vlad
Dungeon difficulty:
/run SetLootThreshold(3)if GetCurrentDungeonDifficulty()==1 then SetDungeonDifficulty(2)else SetDungeonDifficulty(1)end
VT stuff:
/run local t={"VT 3.0.8","IP: 127.0.0.1","Port: 3784","Channel: admin","Pass: 'slacker'"}foreach(t,function(k,v)local c;if GetNumRaidMembers()>0 then c="RAID";else c="PARTY";end SendChatMessage(v,c)end)
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.