Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!

Author Topic: spawn kill detector help  (Read 7343 times)

Offline gabarram

  • Sr. Member
  • ****
  • Posts: 186
Re: spawn kill detector help
« Reply #15 on: July 18, 2011, 01:46:47 AM »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: spawn kill detector help
« Reply #16 on: July 18, 2011, 09:25:38 AM »
Code: python [Select]

def onEvent(self, event, client):
    client.message("blah")


should be

Code: python [Select]

def onEvent(self, event):
    client = event.client
    client.message("blah")

Offline virtus

  • Jr. Member
  • **
  • Posts: 13
Re: spawn kill detector help
« Reply #17 on: July 18, 2011, 04:58:47 PM »
yup, didn't get a chance to respond. Finally figured that out and running tests.

thanks

 


Rate this page +1 at Google Search