Hey, i was messing around with the code, and changing number around, when i thought about the
on *:dialog:isrun:sclick:
*: { event and replaced the
* with a number corrisponding with the number i wanted such as
on *:dialog:isrun:sclick:
1: {
on *:dialog:isrun:sclick:
2: {
and so on, and it created and changed the variables for me, hehe now i know it works i can go to bed and get some sleep

Thanks to all those who helped
ShadowDemon