Variable question

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

MeatHead
orc pawn
orc pawn
Posts: 17
Joined: Mon Aug 19, 2002 2:23 pm
Location: Earth

Variable question

Post by MeatHead » Thu Aug 22, 2002 4:11 pm

If I can get a skill level using /skill [filter] how would I then put the result of that query into a variable.

I want V1 = Current skill level.

Your assistance is appreciated.

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Thu Aug 22, 2002 4:49 pm

Salutations,
If you wanted to get the skill value for one skill (in this example sense heading) you would do something like the following:

Code: Select all

/varset v1 $char(skill,"sense heading")
/echo Your skill in Sense Heading is $v1

MeatHead
orc pawn
orc pawn
Posts: 17
Joined: Mon Aug 19, 2002 2:23 pm
Location: Earth

Post by MeatHead » Fri Aug 23, 2002 9:56 am

Thanks Leeezard!!

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Sun Aug 25, 2002 7:58 pm

Salutations,
You're Welcome

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Sun Aug 25, 2002 8:44 pm

::worships L124rd::
Yet another thing missing from the html manual.
::sigh::