Guest User

Untitled

a guest
Feb 21st, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. alias addident {
  2. ;/addident <network> <identify command>
  3. ;Example: /addident PurpleSurge ns identify FoogleBar
  4. if ($readini(connect.ini,Connect,$$1)) {
  5. echo -st That Network already has an identify command associated with it.
  6. echo -st Try /delident <networkname> first
  7. }
  8. else {
  9. writeini connect.ini Connect $$1 $$2-
  10. echo -st Network $1 added with identify command: $2-
  11. }
  12. }
  13. alias delident {
  14. if ($readini(connect.ini,Connect,$$1)) {
  15. remini connect.ini Connect $$1
  16. echo -st Network $1 removed.
  17. }
  18. else echo -st There is no entry for Network $$1
  19. }
  20.  
  21. on *:connect:{
  22. if ($readini(connect.ini,Connect,$network)) $v1
  23. else echo -st This network doesn't have an identify command associated with it yet.
  24. }
Add Comment
Please, Sign In to add comment