SHARE
TWEET

Untitled

a guest May 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on *:TEXT:!setpass:*: {
  2.   tokenize 32 $strip($1-)
  3.   if ($nick == %owner) {
  4.     .notice $nick The current bot owner is %owner
  5.     .notice $nick I have sent you a pm, please look at it.
  6.     msg $nick Input your old password.
  7.     set %pass 1
  8.   }
  9.   if ($nick != %owner) {
  10.     .notice $nick You're not capable of doing this.
  11.     .notice %owner Warn attempt of $nick
  12.   }
  13.   if (%pass == 1) {
  14.     if ($1 == %password) {
  15.       .msg $nick Input the new desired password by saying your desired password.
  16.       set %password $1
  17.       If ($1 == %password) {
  18.         .msg $nick Thank you. Password changed. New password is %password
  19.         set %pass 0
  20.       }
  21.     }
  22.   }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top