This script looks up people on the World of Warcraft armory, on ONLY US servers.
usage:/armory Character @realm
Sorry for the messiness, I am still learning mSL lol
Feel free to change, edit, and remake this small script
alias armory {
if ($1- == $null) { echo -a Nothing entered. } { halt }
if (@ isin $1-) {
if ($1 != $null) {
set %name $1
}
if ($left($2,1) == @) {
set %realm $replace($2-,@,$null)
}
echo -a Armorying $replace(%name,$left(%name,1),$upper($left(%name,1))) of $replace(%realm,$left(%realm,1),$upper($left(%realm,1))) $+ .
run http://www.wowarmory.com/character-sheet.xml?r= $+ %realm $+ &n= $+ %name
unset %realm
unset %name
}
else echo -a Correct format: /armory <name> @<realm>.
}
Shorter version?
alias armory {
if (@ isin $1) && ($left($2,1) == @) {
var %realm $remove($2-,@)
echo -a Armorying $replace($1,$left($1,1),$upper($left($1,1))) of $replace(%realm,$left(%realm,1),$upper($left(%realm,1))) $+ .
run http://www.wowarmory.com/character-sheet.xml?r= $+ %realm $+ &n= $+ %name
}
else echo -a Insufficent parems Correct format: /armory <name> @<realm>.
}