Forum: AddOn Help/Support
01-22-23, 12:22 AM
|
Replies: 4
Views: 1,601
|
Forum: AddOn Help/Support
01-19-23, 11:35 PM
|
Replies: 4
Views: 1,601
|
Forum: Lua/XML Help
10-06-20, 07:24 PM
|
Replies: 1
Views: 4,128
lists with variables?
is there a way to put a variable into a list? my brain aint working today...
ie:
some_list = {}
some_list["whatevre"] = {
"something something something " (some variable) " sometihng...
|
Forum: Lua/XML Help
04-11-20, 11:21 PM
|
Replies: 6
Views: 1,988
|
Forum: Lua/XML Help
04-11-20, 02:51 PM
|
Replies: 6
Views: 1,988
|
Forum: Lua/XML Help
04-11-20, 12:34 AM
|
Replies: 6
Views: 1,988
|
Forum: Lua/XML Help
10-06-15, 08:49 PM
|
Replies: 8
Views: 3,237
|
Forum: Lua/XML Help
10-06-15, 05:44 PM
|
Replies: 8
Views: 3,237
|
Forum: Lua/XML Help
10-06-15, 04:40 PM
|
Replies: 8
Views: 3,237
|
Forum: Lua/XML Help
10-06-15, 04:09 PM
|
Replies: 8
Views: 3,237
Help me understand
Is
Local sumAmount = #sumlist
The same as
Local sumAmount = table.getn (sumList) (I think that's the call I'm using... out working not looking at my code.
Aldo what do the # mean
|
Forum: Lua/XML Help
11-17-10, 09:35 PM
|
Replies: 21
Views: 13,302
|
Forum: Lua/XML Help
11-17-10, 07:24 PM
|
Replies: 21
Views: 13,302
|
Forum: AddOn Search/Requests
11-17-10, 06:55 PM
|
Replies: 5
Views: 3,396
|
Forum: Chit-Chat
11-05-10, 03:39 PM
|
Replies: 68
Views: 36,471
|
Forum: UI Screenshots, Feedback and Design Discussion
11-05-10, 03:01 PM
|
Replies: 4,945
Views: 2,240,570
|
Forum: Lua/XML Help
11-03-10, 06:40 PM
|
Replies: 21
Views: 13,302
So i would need to extract the name then do a...
So i would need to extract the name then do a simple code like
local name = string.match(msg, "(.+) has came online.);
if ( (name ~= self) ) then
SendChatMessage("Hello "...name..."! Nice to...
|
Forum: Lua/XML Help
11-03-10, 06:13 PM
|
Replies: 21
Views: 13,302
Okay, so self is a representation of an...
Okay, so self is a representation of an "argument" or event being passed into the function.
So if i pass in a (self, event, ...)
the self would be the player that logged on? or how could i record...
|
Forum: Lua/XML Help
11-03-10, 03:17 PM
|
Replies: 21
Views: 13,302
Aww okay i wasnt quite sure..
Have another...
Aww okay i wasnt quite sure..
Have another question rather than make a new thread.
I want to extend my function to something that would tell a guildie who logs on hello. im thinking it would look...
|
Forum: Lua/XML Help
11-02-10, 06:01 PM
|
Replies: 21
Views: 13,302
|
Forum: Lua/XML Help
11-02-10, 04:49 PM
|
Replies: 21
Views: 13,302
so i tried /print in game and even tired...
so i tried /print in game and even tired print(GLUAFrame) in the .lua file
/print in game just give me refert to help yada yada yada
and when i put it in the lua file i get a return value of nil....
|
Forum: Lua/XML Help
11-02-10, 03:34 PM
|
Replies: 21
Views: 13,302
okay so after /run...
okay so after /run GLUA.OnEvent("PLAYER_LEVEL_UP") the function was successful.
However I cant get the OnLoad function to load when the game starts.. any idea?
|
Forum: Lua/XML Help
11-02-10, 02:42 PM
|
Replies: 21
Views: 13,302
|
Forum: Lua/XML Help
11-01-10, 10:43 PM
|
Replies: 21
Views: 13,302
Functions for dummies?
So im a Noob not going to lie. And ive done the simple "hello world" file. Worked fine ect.
Now im just trying to get a little more in depth by doing simple yet not so simple things like functions....
|