Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override PluginArgs InputText(PluginArgs args)
- {
- if (args.Command.StartsWith("/setkey"))
- {
- BlowfishKeys frm = new BlowfishKeys(BlowfishItemFile);
- frm.Show();
- }
- foreach (BlowfishItem item in IceChatBlowfishItem.listBlowfishs)
- {
- if (item.Enable = true)
- {
- BlowfishEnabled = true;
- if (item.ChannelName == args.Channel)
- {
- String cryptedmessage = MessageEncrypt(args.Command, item.ChannelKey);
- args.Command = args.Command.Replace(args.Command, cryptedmessage);
- return args;
- }
- }
- }
- return args;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement