Issue with /in
So I have a macro that is supposed to scroll through my friends list and tell me who is online, what their status is (Afk or not), and where they are. Now, this is not the only thing in the macro. For some reason or another it runs the friend script, which is at the bottom, before it runs the script at the top. So I put in a /in 1 just to make it wait a little before it ran that script. Now, I ran into a small issue. This macro only worked on 1 character. On my others, it would loop that one section of scripting infinitely. Now, it doesn't even work on that 1 character that it did before.
Quick example, I type /script i=0; then /in 1 /script SendChatMessage(i) i=i+1;. In all respects, this macro should make me say "0" after 1 second. It actually loops infinitely, counting 0 1 2 3 4 etc...The only ways of getting it to stop are /camp, /exit, and /reload. Does anyone have any idea what this is and/or how to fix it? Thanks ahead for the help. |
/in is not, and never has been, part of the default UI. The old, old Ace2 framework included the command in one of the libraries or you can also get this slash command through an addon such as SlashIn or InDemand.
/edit: meaning that you had an addon enabled on one character that you did not on the others and this is why it worked. |
Code:
/run for i=1,GetNumFriends() do local name, _, _, _, connected = GetFriendInfo(i) if(connected) then print(name, 'is online') end end |
Quote:
Quote:
I do have Ace2 and Ace3 installed. (It's needed for an Addon that I have.) Edit: Quote:
Code:
/run local _,num=GetNumFriends(); for i=1,num do ShowFriends() local name,level,_,location,_,status=GetFriendInfo(i); if num>0 then print(" "..status.."\124cffFFFF00\124Hplayer:"..name.."\124h["..name.."]\124h\124r is online and is in "..location..".") end end ; if num==0 then print(" No friends currently online.") end if num==1 then print(" 1 friend currently online.") end if num>1 then print(" "..num.." friends currently online.") end |
My bad there, I tested this myself and you're right about the script ending. :)
|
Quote:
|
Quote:
And fyi, this is an old, out-of-date addon (Gag) that I am running on 3.3.5a. |
Quote:
|
Quote:
Quote:
|
Discussion of Private Servers, in any manner other than theoretical, is completely against our rules. We are an Official Fan Site. We follow Blizzard's rules, on top of our own rules.
Threads requesting assistance with Private Servers get locked. Repeated postings get you banned. |
All times are GMT -6. The time now is 04:59 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI