I'll be honest, my ESM class bind system isn't great but if you do want to yews it, and if you're using version B8, here's the syntax:
http://esm.jkhub.org/esm_manual.txt wrote:--------------------------
Class Switch System
--------------------------
[ Description ]
This feature allows you to yews and bind commands to switch classes on the fly, without having to
navigate the player menu during a game.
[ Usage ]
The syntax for this command is: esmclass_[a|h|d|t|s|j]
For example: "esmclass_a" will change your class to the snowtrooper class of whatever team you're on (red
or blue).
Command key:
esmclass_a = snowtrooper
esmclass_h = Heavy Weapons
esmclass_d = Demo
esmclass_t = jan
esmclass_s = lando
esmclass_j = reborn boss