I'm making a dialog for the Spamfilter addon with UnrealIRCd, and I was hoping for some help on using checkboxes to get the result I am after.
Part of the command is as follows;
Use: /spamfilter [add|del|remove|+|-] [type] [action] [tkltime] [reason] [regex]
[type] specifies the target type, you can specify multiple targets:
'c' channel msg, 'p' private msg, 'n' private notice,
'N' channel notice, 'P' part msg, 'q' quit msg, 'd' dcc,
'a' away, 't' topic, 'u' user (nick!user@host:realname ban)
--
I've made a checkbox dialog for each target
here, but I was wondering how I could make the dialog output the results in a form I can use
For example, checking Channel Message and Private Message outputs cn, which I can use in the spamfilter command on the server side, or the appropriate 'token' for whatever option is ticked.
I know SFA about tokens so any help would be greatly appreciated