| version 1.2 | | version 1.3 |
|---|
| | |
| # | | # |
| # 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): |
| | |
| 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)) |