Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. public override PluginArgs InputText(PluginArgs args)
  2. {
  3. if (args.Command.StartsWith("/setkey"))
  4. {
  5.  
  6. BlowfishKeys frm = new BlowfishKeys(BlowfishItemFile);
  7. frm.Show();
  8. }
  9.  
  10.  
  11.  
  12. foreach (BlowfishItem item in IceChatBlowfishItem.listBlowfishs)
  13. {
  14. if (item.Enable = true)
  15. {
  16. BlowfishEnabled = true;
  17. if (item.ChannelName == args.Channel)
  18. {
  19. String cryptedmessage = MessageEncrypt(args.Command, item.ChannelKey);
  20. args.Command = args.Command.Replace(args.Command, cryptedmessage);
  21. return args;
  22. }
  23. }
  24.  
  25. }
  26.  
  27.  
  28.  
  29.  
  30.  
  31. return args;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement