Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:!setpass:*: {
- tokenize 32 $strip($1-)
- if ($nick == %owner) {
- .notice $nick The current bot owner is %owner
- .notice $nick I have sent you a pm, please look at it.
- msg $nick Input your old password.
- set %pass 1
- }
- if ($nick != %owner) {
- .notice $nick You're not capable of doing this.
- .notice %owner Warn attempt of $nick
- }
- if (%pass == 1) {
- if ($1 == %password) {
- .msg $nick Input the new desired password by saying your desired password.
- set %password $1
- If ($1 == %password) {
- .msg $nick Thank you. Password changed. New password is %password
- set %pass 0
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement