mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 7
J
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Oct 2003
Posts: 7
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 smile


When Joe Astor Hits The Street,
The Hottest Thing On Wheels Isnt Always The Car
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
It would've been more helpful to see the code that you used to create that dialog box, rather than the image of the dialog box.

I'll work on this and post when I've got something, adjusting appropriately if you post the code before I'm done.


Link Copied to Clipboard