In a script you could find the name "A Dark Knight" and do a string.gmatch on it. For example:
function extractMobname (s)
local mobname = ""
for w in string.gmatch (s, "%a+") do
if w:lower () ~= "a" and w:lower () ~= "the" then
mobname = w
end -- if
end -- for
return mobname
end -- extractMobname
print ("found mob:", extractMobname ("A Dark Knight"))
i am having difficulty getting my second char that i mud with to come out stunning. Currently he comes out assisting then stuns afterwards with triggers. How can i make him come out stunning <mob>? Stunning a mob is critical in retaining hitpoints.
THE PROBLEM:
the problem here is that when i try to use wild cards for <mob>, the retained wildcard isnt always the trigger name of the mob. for example:
<A Dark Knight> - the key here is knight or dark, <a dark knight> isnt a target and doesnt work
there are certain mobs that this does work for though, for example:
<matilda> - key name matches mob.
is there a way to set this up properly? I've tried numerous ways but none worked for mobs with an 'a' or 'the' infront of the mob description.
what would also resolve this would be if its possible to send the same command to both (or all) worlds open. so that i can send 'kill <knight>' and alias "kill" for assasinate for CharA and stun for CharB.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.