Rename Summon Example (earth elemental) by Jaseowns
# Summon an earth elemental and rename it by Jaseowns
# UO Outlands
# Description:
# You can change the type of monster by editing
# line number 18 (find) and 27 (cast)
# ----------------
# You can add a list of names to cycle
# through starting on line 14
# edit those or add more.
if not listexists petNameList
createlist petNameList
endif
if list petNameList = 0
pushlist petNameList "earthboi"
pushlist petNameList "earthboigir"
endif
if followers > 0 and findtype "an earth elemental" ground -1 -1 2 as myPet
if noto myPet = "friend"
foreach petName in petNameList
rename myPet petName
break
endfor
poplist petNameList "front"
endif
else
cast "Earth elemental"
wait 1000
loop
endif