Hey!
I'm trying to make my script exiva my selected players from my vip list. But I dont know how to make it to exiva random online player.. Now it will exiva the same player over and over again.
This is what I made so far:
Thanks in advance!Code:init start local names = {"char1", "char2", "char3"} table.lower(names) init end auto(2000) foreach vipentry n do if table.find(names, n.name:lower()) and n.isonline then cast('exiva \"'..n.name) end end foreach newmessage m do if m.content:match('^(.+) is far to the ?a?n? (.-)%.$') or m.content:match('^(.+) is standing next to ?a?n? (.-)%.$') or m.content:match('^(.+) is to the ?a?n? (.-)%.$') or m.content:match('^(.+) is far to the ?a?n? (.-)%.$') or m.content:match('^(.+) is on a lower level to the ?a?n? (.-)%.$') or m.content:match('^(.+) is on a higher level to the ?a?n? (.-)%.$') then move('e') end end