Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   A small request to anyone.. (https://forums.graalonline.com/forums/showthread.php?t=13451)

joseyisleet 09-30-2001 11:47 PM

A small request to anyone..
 
Could anyone list all of the variables. I know some like #v(playerap) or playerheart or playerfullhearts. I mean like what sword.gif they're using, head, shield, stuff like that. Thanks.

KJS 10-01-2001 12:02 AM

look in command.rtf

Enigma_GP6 10-01-2001 02:04 AM

Here are what the commands.rtf say about these, I am jjust gonna revise a few in a way you might understand.:

#a the account name of the player
#b line break
#c, #c(index) the current chat text of the player//I should not post this part, but I think I should because it is kinda nifty, if (playerchats){message #c;}
#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(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 if (keydown(#)){;}
#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)
#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 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
#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
#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


-Rebel95

Warcaptain 10-01-2001 02:52 AM

stefan, please delete Enigma_GP6 from the membership at communication center.

Enigma_GP6 10-01-2001 02:55 AM

Why? Is it a crime to help people?

-Rebel95

Vinvect 10-01-2001 02:56 AM

oh yeah
 
also
#C5, #C5(index) Makes A Colored Out Line Of You
it realy works!

Enigma_GP6 10-01-2001 03:05 AM

I knoew I forgot something, for example, #C5 is used like this, just like most message codes.:

if (playerenters){
setpalyerprop #C5,red;
}


and that will make you be outlined in red.

-Rebel95

IceHawk 10-01-2001 03:15 AM

merlin:

warcaptain has to have that account deleted because it might make enigma look slightly smart.

Enigma_GP6 10-01-2001 03:19 AM

What??!?! You mean Make The server lok smart, or him as an individual? I don't think this account ought to be deleted, therefore, if it is, I can file a lawsuit. I am wealthy.

-Rebel95

Aknts 10-01-2001 03:53 AM

Quote:

Originally posted by Enigma_GP6
What??!?! You mean Make The server lok smart, or him as an individual? I don't think this account ought to be deleted, therefore, if it is, I can file a lawsuit. I am wealthy.

-Rebel95

If your so "wealthy" why not by a new account?

Enigma_GP6 10-01-2001 03:53 AM

" We hold these truths to be self evident, that all men are created equal......" - Constitution of the United States.

More Important Stuff:


"We the people os the United States, in order to form a more perfect union, establish justice, insure domestic tranquility, provide for the common defense, promote General Welfare, and secure the Blessings of Liberty to ourselves and out porterity, do ordain we establish this constition for the United States of America" -Preamble to the Constituion.

I have all legal right to own an account, and to do what I please with it, no one can tell me what to do, although if I do not obey some people, I can get into trouble. Think of life like that and the world will be brighter.

-Rebel95

joseyisleet 10-01-2001 01:22 PM

Okay maybe I worded this wrong, here goes.
What all variables can be used with #v(variablehere).

Shard_IceFire 10-01-2001 08:50 PM

Um...whatever variable you want...dehr.

G_yoshi 10-01-2001 09:45 PM

Quote:

Originally posted by Enigma_GP6
" We hold these truths to be self evident, that all men are created equal......" - Constitution of the United States.

More Important Stuff:


"We the people os the United States, in order to form a more perfect union, establish justice, insure domestic tranquility, provide for the common defense, promote General Welfare, and secure the Blessings of Liberty to ourselves and out porterity, do ordain we establish this constition for the United States of America" -Preamble to the Constituion.

I have all legal right to own an account, and to do what I please with it, no one can tell me what to do, although if I do not obey some people, I can get into trouble. Think of life like that and the world will be brighter.

-Rebel95

Last I checked, GraalOnline, or for that matter, Cyberjourer are not affected by the US constitution. Therefore, you have not grounds to stand on, friend ;)

Btw, who ever said you had legal right? I guess, other than yourself, no one ever said that. It is a PRIVELEGE to have a Graal account, seeing that Stefan could have not allowed you to signup for one.


All times are GMT +2. The time now is 08:45 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.