
06-20-2012, 06:29 PM
|
|
E-Man
|
 |
Join Date: Jun 2012
Posts: 81
|
|
Offline GS1 Commands
Just in case anyone wants to change their head with sethead or hat with sethat like on a server but in graal editor, here is a script you can use that has the same commands.
Quote:
if (created) {
hide;
toweapons Commands;
}
if (playerchats&&startswith(sethead,#c)) {
tokenize #c;
if (tokenscount==2) sethead #t(1);
}
if (playerchats&&startswith(setbody,#c)) {
tokenize #c;
if (tokenscount==2) setbody #t(1);
}
if (playerchats&&startswith(setsword,#c)) {
tokenize #c;
if (tokenscount==2) setplayerprop #1,#t(1);
}
if (playerchats&&startswith(setshield,#c)) {
tokenize #c;
if (tokenscount==2) setplayerprop #2,#t(1);
}
if (playerchats&&startswith(sethat,#c)) {
tokenize #c;
if (tokenscount==2) setplayerprop #P1,#t(1);
}
if (playerchats&&startswith(/skin,#c)) {
tokenize #c;
if (tokenscount==2) setplayerprop #C0,#t(1);
}
if (playerchats&&startswith(/coat,#c)) {
tokenize #c;
if (tokenscount==2) setplayerprop #C1,#t(1);
}
if (playerchats&&startswith(/sleeves,#c)) {
tokenize #c;
if (tokenscount==2) setplayerprop #C2,#t(1);
}
if (playerchats&&startswith(/shoes,#c)) {
tokenize #c;
if (tokenscount==2) setplayerprop #C3,#t(1);
}
if (playerchats&&startswith(/belt,#c)) {
tokenize #c;
if (tokenscount==2) setplayerprop #C4,#t(1);
}
if(playerchats&&strequals(#c,/sit)){
setani sit,;
}
if(playerchats&&strequals(#c,/pull)){
setani pull,;
}
if(playerchats&&strequals(#c,/push)){
setani push,;
}
if(playerchats&&strequals(#c,/dance)){
setani dance,;
}
if(playerchats&&strequals(#c,/grab)){
setani grab,;
}
if(playerchats&&strequals(#c,/walk)){
setani walk,;
}
if(playerchats&&strequals(#c,/dead)){
setani dead,;
}
|
|
|
|
|