How can i control where this window will show up and how i lock the window in that locate?
Here is the windows code:
obj/chatbutton
name = "turnchat"
icon = 'base.dmi'
Click()
if(usr.toggle == 1)
usr.closechatproc()
else
usr.openchatproc()
mob/var/toggle=1
mob
proc
closechatproc()
set hidden=0
set category="Options"
winset(src,"chat","is-visible=false",)
src.toggle=0
mob
proc
openchatproc()
set hidden=0
set category="Options"
winset(src,"chat","is-visible=true;loc=1,1")
src.toggle=1
Now back to the code. I am not really good with interface but I believe you have to place the Window (In the interface file) where it's supposed to be placed in.