fixed friend list deltas

This commit is contained in:
Light2
2013-08-24 17:05:18 +02:00
parent b2354a18fd
commit 341b9519bf
5 changed files with 19 additions and 5 deletions
+5 -1
View File
@@ -7,6 +7,8 @@ def setup():
def run(core, actor, target, commandString):
actorFaction = actor.getFaction()
print 'test'
if commandString == ('imperial') and actorFaction != "imperial":
actor.setFaction('imperial')
actor.sendSystemMessage('You are aligned to the Imperial faction', 0)
@@ -21,4 +23,6 @@ def run(core, actor, target, commandString):
actor.setFaction('neutral')
actor.sendSystemMessage('You aren\'t aligned to any faction.', 0)
return
return
return
+2 -1
View File
@@ -7,4 +7,5 @@ def run(core, actor, target, commandString):
ghost = actor.getSlottedObject('ghost')
chatSvc = core.chatService
chatSvc.removeFriend(ghost, commandString, 1)
return
return