Difference for python/misc/CFInsulter.py from version 1.2 to 1.3


version 1.2 version 1.3
Line 10
 
Line 10
 #  #
 # Please help by adding new styles of insults to this fine script.  # Please help by adding new styles of insults to this fine script.
   
 import CFPython  import Crossfire
 from random import choice  from random import choice
   
 def Insult(style):  def Insult(style):
Line 63
 
Line 63
   return insult    return insult
   
   
 activator=CFPython.WhoIsActivator()  activator=Crossfire.WhoIsActivator()
 whoami=CFPython.WhoAmI()  whoami=Crossfire.WhoAmI()
 #style of insult desired to hurl in event options  #style of insult desired to hurl in event options
 style = CFPython.GetEventOptions(whoami,1) # 1 is apply event  style = Crossfire.ScriptParameters() # 1 is apply event
   
 CFPython.Write(Insult(style),activator)  activator.Write(Insult(style))


Legend:
line(s) removed in v.1.2 
line(s) changed
 line(s) added in v.1.3

File made using version 1.96 of cvs2html by leaf at 2006-02-15 17:29