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