Files
dsrc/sku.0/sys.server/compiled/game/script/working/royscript.script
T
2013-09-10 23:17:15 -07:00

35 lines
711 B
Plaintext

/**
* myscript.script
*/
//include steve.mylib;
include library.pclib;
include library.factions;
include library.player_structure;
include library.skill;
trigger OnSpeaking(string strText)
{
string[] strCommands = split(strText, ' ' );
if(strCommands[0]=="setupImperialFaction")
{
factions.addFactionStanding(self, factions.FACTION_IMPERIAL, 3000);
sendSystemMessageTestingOnly(self, "Done");
}
if(strCommands[0]=="makeInteresting")
{
setCondition(getLookAtTarget(self), CONDITION_INTERESTING);
sendSystemMessageTestingOnly(self, "Set condition");
}
if(strCommands[0]=="setYaw")
{
setYaw(self, 90);
sendSystemMessageTestingOnly(self, "Set condition");
}
return SCRIPT_CONTINUE;
}