![]() |
Furniture Codes (#n, #i, etc)
Hello,
For those who do not know, you can use #vars on furniture in iClassic. Many of the original GS1 vars have been made available to furniture say2 actions, but there are some that have not. I have compiled a list of those that are deprecated and those of which still remain in use. Key: Strikethrough - Obsolete/Deprecated Index - 0 for player, 1 for NPC/Furniture Item Vars ("Codes" as referred to by the iOS community): #a - the account name of the player #b - line break (for say2) #C0, #C0(index) - the skin color #C1, #C1(index) - the coat color #C2, #C2(index) - the sleeves color #C3, #C3(index) - the shoes color #C4, #C4(index) - the belt color #c, #c(index) - the current chat text of the player #e(startindex,length,string) - extracts a substring out of ‘string’ (length=-1 -> till the end) #f - the image filename of the npc #g, #g(index) - the guild name of the player #I(list,index) - gets a string of a string list #i(imgname), #i(imgname,x,y,w,h) - displays an image or a part of an image when used in a sign #K(keyindex) - the name of the specified key #k(keyindex) - the description of the specified key (in local language / key assignments) #L - the current level filename #m, #m(index) - the animation of the player #n, #n(index) - the nick name of the player (index=-1 -> npc character, 0 -> current player) #P1, #P1(index) - the gani attribute 1 (hat) #P2, #P2(index) - the gani attribute 2 #P3, #P3(index) - the gani attribute 3 #P4, #P4(index) - the gani attribute 4 #P5, #P5(index) - the gani attribute 5 #p(index) - action parameter of the specified index #s(var) - the value of the string variable ‘var’ #t(index) - token of the specified index, produced with tokenize #T(string) - trims the string (removes spaces at the beginning and end) #v(var) - the value of ‘var’ as string #W, #W(index) - the filename of the weapon icon #w,#w(index) - the name of the current npc weapon of the player #1, #1(index) - the sword image filename of the player #2, #2(index) - the shield image filename of the player #3, #3(index) - the head image filename of the player #5, #5(index) - the image filename of the player’s horse #6, #6(index) - the image filename of the npc that is carried by the player #8, #8(index) - the body image filename of the player I hope there's something of use stored within here. Most of this is common knowledge, but I thought I would share for those who don't know about these nifty references to strings/variables. Hope I've Been of Some Assistance, BboyEatsbacon |
Handy, but the title should probably be something people understand more.
ALSO YOU HAVE 1069 POSTS http://r15.imgfast.net/users/1511/46...1944190462.png |
Quote:
|
Quote:
The ones that are crossed out... does that mean they're disabled? |
Quote:
|
Nice. I knew all of these already, still helpful tho.
|
Great tutorial, except I don't understand a single thing x.x
|
Nice. Thanks BB.
|
Thank you so much Bboy! Iv'e asked multiple staff and the usuall response was, "lolwut"
ty :) |
missing some :) will get them later
|
"you must spread some rep before giving to BBoyEatsBacon again
|
Quote:
|
Quote:
Quote:
|
Quote:
|
is there a code that shows an image of the player's hat?
|
| All times are GMT. The time now is 06:59 AM. |
Powered by vBulletin/Copyright ©2000 - 2026, vBulletin Solutions Inc.