o.k. i'm trying to do something like this:
i have an alias "assign *", and it calls a sub "assign (name,object,wildcs)".
what this sub does is to assign the value of this mushclient variable that i assigned in that alias to a local variable in my plugin that has the same name with this mushclient variable.
so say i type "assign test" and have a mushclient variable "test" with value "true", i also have a local variable "test" in my plugin. the result should be both of my local variable "test" and mushclient variable "test" have a value of true.
this is the coding i have:
dim test
sub assign (name,object,wildcs)
wildcs (1)=world.getvariable("wildcs (1)") 'this is where i have the problem, not sure if what i did here works
world.note wildcs (1)
end sub
Thanks for help!:)
i have an alias "assign *", and it calls a sub "assign (name,object,wildcs)".
what this sub does is to assign the value of this mushclient variable that i assigned in that alias to a local variable in my plugin that has the same name with this mushclient variable.
so say i type "assign test" and have a mushclient variable "test" with value "true", i also have a local variable "test" in my plugin. the result should be both of my local variable "test" and mushclient variable "test" have a value of true.
this is the coding i have:
dim test
sub assign (name,object,wildcs)
wildcs (1)=world.getvariable("wildcs (1)") 'this is where i have the problem, not sure if what i did here works
world.note wildcs (1)
end sub
Thanks for help!:)