Advertisement
Guest User

Untitled

a guest
Jan 25th, 2022
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. if {_r} contains "##need ":
  2. replace all "##need " in {_r} with ""
  3. set {_i} to uncolored {_r} parsed as items
  4. if number of {_i} in {_p}'s inventory < item amount of {_i}:
  5. set {_error} to ""
  6. loop {_error::*}:
  7. set {_error} to "%{_error}%%loop-value-2%"
  8. gui_run({_p}, {_error})
  9. stop
  10. continue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement