Oh shi-
I'm dumb, thanks for this, i thought castsequence was casting every spell in the list with just one click :/
So i made this before i read your post :
Code:
/script RegisterCVar("testvar","0");
/script y=tonumber(GetCVar("testvar"))
/run if (y==0) then SendChatMessage("0","GUILD");
SetCVar("testvar","1");
else SendChatMessage("1","GUILD");
SetCVar("testvar","0");
end;
And it works. It sends 0 the first time, 1 the second, 0 the third, ....
But it won't work with "cast Fel Armor" instead of "SendChatMessage("testlol","GUILD")".
I know my problem is solved (and thanks again +rep for both of you) but by curiosity, is it possible to cast spells within a /run or /script command ? (with cast or with Click or something like that ?)