Advertisement
OrFeAsGr

Untitled

Nov 19th, 2021
1,633
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.67 KB | None | 0 0
  1. def identify(self):
  2.         identify = self.settings("identify")
  3.         if identify == True:
  4.             global NickServName
  5.             global NickServPass
  6.             global NickServAcc
  7.             try:
  8.                 NickServName = self.settings("NickServName")
  9.                 NickServAcc = self.settings("NickServAcc")
  10.             except:
  11.                 NickServName = "NickServ"
  12.                 NickServAcc = self.settings("nickname")
  13.             finally:
  14.                 NickServPass = self.settings("NickServPass")
  15.                 NickServMsg = "identify " + NickServAcc " " + NickServPass
  16.                 self.connection.privmsg(NickServName, NickServMsg)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement