daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defconst password "password")
  2. (defconst gl-password-phase 43)
  3. (defrule
  4.     (taunt-detected any-human 255)
  5. =>
  6.     (set-goal gl-password-phase 1)
  7.     (chat-to-player this-any-human "Please enter the password.")
  8. )
  9. (defrule
  10.     (taunt-detected any-human 255)
  11.     (goal gl-password-phase 1)
  12.     (up-compare-text c: password >= 0)
  13. =>
  14.     (chat-to-player my-player-number "Password confirmed.")
  15.     (set-goal gl-password-phase 2)
  16. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top