Blastron <blastron at mac.com> wrote: > Trigger: > ^(.*)h, ^(.*)m - > > Script: > @@if arg[2] <= 100 then > drink potion > @@end You'll need to convert arg[2] from a string to a number for the comparison to work: @@if tonumber(arg[2]) <= 100 then <http://www.lua.org/manual/5.0/manual.html#5.1> -- Kevin Reid