I was trying to get the familiar script Infi posted on the wiki and am looking for a little help if anyone has the time or gumption.
Here it is as posted on the wiki...I added comments and comment markers designated by **
______________________________________________________________________________________-
Zmud Script
This script captures names when you type in (fam who pk) and stores them as variables. When you type "whore" your familiar will check their current area for every pkillable opponent. -Infi
<pre>
alias whore {#loop 1,@targets { **#1
fam where @tar%i
}
}
Trigger {You tell your familiar to ~'who pk~`.} {
#va cnt 0
#T+ famcheck **#2
}
CLASS {Famspy|famcheck} **#3
TRIGGER {Players found: %1} {
#va targets @cnt
#T- famcheck
}
TRIGGER {\] \(PK\) (\[\w+\] )?(\(WANTED\) )?(\w+)}{ **#4
#add cnt 1
#va tar@cnt %1
}
CLASS 0 **5
#1: Are all of those {'s and }'s supposed to be part of a script for zmud? I tried having them in there and it confused it, I wasn't sure if they were intended, or just bracketing what you would have to put in.
#2: This created what I think is a class folder, but not sure what it is doing
#3: I wasn't sure what this was...turning on a class? I wasn't sure where to put this one.
#4:Here I changed the trigger to refelct what Oscareld posts on the forums that is supposed to catch more names.
#5: Does this turn off the class?
Here is what I've created so far:
Trigger - Players found: %1
#va targets @cnt
#T- famcheck
Trigger - You tell your familiar to ~'who pk~`.
#va cnt 0
#T+ famcheck
Trigger - \] \(PK\) (\[\w+\] )?(\(WANTED\) )?(\w+)
#add cnt 1
#va tar@cnt %1
Alias - whore
#loop 1,@targets
fam where @tar%i
I'm also trying to google some other xmud scripts to learn from, but since CF would be unique on a lot of the formatting I figured I'd check here as well.