Advertisement
Nessiesson

brainfar

Aug 30th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. /test2 = >>>
  2. assign(@player, player())
  3. if(!is_array(pinv(@player, 103)) || pinv(@player, 103)['type'] != 298) { die('Your item did not meet the required standard.') }
  4. tmsg(@player, ('lol, ur magick works.'))
  5. assign(@m, get_itemmeta(@player, 103))
  6. if(@m == null) { die() }
  7. assign(@lm, @m['lore'])
  8. if(@lm == null) { die() }
  9. foreach(@lm, @l,
  10. if(reg_count(color(k) . color(6) . color(f), @lm) > 0) {
  11. tmsg(@player, colorize('Even the &4c&6o&el&2o&bu&1r&5s&r work!'))
  12. }
  13. )
  14. <<<
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement