WhichServiceMenu

Syntax:

WhichServiceMenu

Returns a value corresponding to which service menu is currently being displayed:

0 = Barter
1 = Repair
2 = Training
3 = Recharge
4 = Spell Buying


NOTE: This works only as a condition function.