atm. I am doing a script that logs out, selects a new character, logs in, lvls him up to lvl 10 , logs out, picks a new etc.
What i need now is some kind of global variable which i want to use as a counter so that the same character doesn't get
picked twice. An Integer-Type, that i can access and change from the waypoint.xml.
Everything else is pretty easy, but where do i declare this variable? how can i read it? how can i change it ?
so if a character becomes lvl 10 and goes whereever he should, then:
CHARNUMBER = CHARNUMBER + 1 ............or something like that
and for picking a new character:
if (CHARNUMBER == 1) then
blablabla;
end;
if(CHARNUMBER == 2) then
andsoon.............
i am greatful for any directions