View Single Post
  #1  
Old 08-30-2014, 01:49 PM
bloatedseachicken
Fire Beetle
 
Join Date: Aug 2014
Posts: 6
Default affect only named mobs?

hi,

i need help with an if statement that will only select name mobs.

For example, i tried this, but it's not working

if ($mname =~ #) then blah blah.

What is the correct way?

Also tried this.

If ($mname->GetCleanName() =~/#/i) then blah blah.

Thanks
Reply With Quote