How to check certain skill in a character?

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: How to check certain skill in a character?
Warrior
Member # 2838
Profile #0
I want a character to use a wand just if his priest skill is more than 5 so what call should I use? I've been searching in the documents and all of them check just the party member with the highest skill. I might have missed the call, though.

--------------------
…../|,-‘`¯¯`\(o)_\,----,,,_………
…( `\(o),,_/` ¯ : o : :: o`-, … I'm under your bed.
Posts: 118 | Registered: Wednesday, April 2 2003 08:00
Off With Their Heads
Member # 4045
Profile Homepage #1
The call get_stat in conjunction with who_used_custom_item will do this.

EDIT: Specifically,
if (get_stat(who_used_custom_item(),12) > 5)

[ Wednesday, July 28, 2004 14:30: Message edited by: Kelandon ]

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Warrior
Member # 2838
Profile #2
Thanks, I was confused because in the manual they talk about skills so I thought that call was for the status afflictions.

--------------------
…../|,-‘`¯¯`\(o)_\,----,,,_………
…( `\(o),,_/` ¯ : o : :: o`-, … I'm under your bed.
Posts: 118 | Registered: Wednesday, April 2 2003 08:00