Untitled
By: a guest | Feb 9th, 2010 | Syntax:
Python | Size: 0.38 KB | Hits: 36 | Expires: Never
elif event.type == EVENT_SHIPCHANGE:
if event.old_ship == 8:
ship_old = 'spec'
else:
ship_old = event.old_ship + 1
if event.player.ship == 8:
ship_new = 'spec'
else:
ship_new = event.player.ship + 1
if not ship_old == ship_new:
bot.queueArenaMessagePacket(event.player.name + ' changed ships from ' + str(ship_old) + ' to ' + str(ship_new))