Thread: P99 Add-Ons
View Single Post
  #20  
Old 11-11-2017, 10:45 PM
paulgiamatti paulgiamatti is offline
Planar Protector


Join Date: Jan 2014
Location: minneapolis belongs to me
Posts: 2,045
Default

Quote:
Originally Posted by Triiz [You must be logged in to view images. Log in or Register.]
In my experience you can do 95% of things with just those listed tags, outside of the type of things like Paul is doing which is obviously a lot less simple.
To the contrary, almost everything I've done in GINA is more less just simple string/integer matching using {S} and {N}, with the more complicated stuff utilizing GINA's UI controls in fairly unorthodox ways. The most complicated trigger I've configured is for receiving tells - I'm absolutely awful at noticing new tells so this was extremely helpful in conjunction with a simple audio alert. The RegEx code ensures the alert is only triggered when receiving a tell from a player, so it ignores tells from vendors unless the vendor doesn't have a surname:

Search text: ^(?<char>\w+)((?<!\s).)*tells you, '

Display text: new tell from ${char}, etc.