Opened 12 years ago

#1220 new Defect

Applescript plugin "send raw command" function works only once, aborts plugin

Reported by: esialb Owned by: timothy
Component: Colloquy (Mac) Version: 2.1 (Mac)
Severity: Normal Keywords: applescript plugin command error


In an applescript plugin, the "send raw command" function works only once, sometimes not at all, and invariably terminates the plugin. The plugin can be activated again, but "send raw command" seems to cause an error. I discovered this when writing a plugin to kick and ban a user based on their hostmask rather than nickname. As a workaround, it sometimes works to append multiple commands into a single string, but sometimes does not work. I can discern no pattern between when multiple commands work and when they do not, but invariably the script terminates after/during the "send raw command" function.

Attached is my plugin, with some comments showing what seems to be going wrong.

Change History (0)

Note: See TracTickets for help on using tickets.