Subversion Repositories wimsdev

Rev

Rev 16069 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16069 Rev 16409
Line 4... Line 4...
4
  !changeto themes/$wims_theme/_procs/usertchat.proc
4
  !changeto themes/$wims_theme/_procs/usertchat.proc
5
!endif
5
!endif
6
!readproc linkmodule/tchat.proc
6
!readproc linkmodule/tchat.proc
7
!if $wims_allowlink_tchat=yes
7
!if $wims_allowlink_tchat=yes
8
  !set test=!defof wims_opentchat in wimshome/sessions/$wims_session/var.stat
8
  !set test=!defof wims_opentchat in wimshome/sessions/$wims_session/var.stat
-
 
9
  !set rd=!randint 1,99999
9
  !set wims_rm_0=$wims_rm_0\
10
  !set wims_rm_0=$wims_rm_0\
10
    tchat,4,module=adm/class/tchat&cmd=new,tchat
11
    tchat,4,module=adm/class/tchat&cmd=new&+randomize=$rd,tchat
11
  !if $test!=$empty
12
  !if $test!=$empty
12
    !set wims_rm_0=$wims_rm_0\
13
    !set wims_rm_0=$wims_rm_0\
13
      tchatclose,4,module=adm/class/tchat&cmd=new&job=close&autoclose=0,tchat
14
      tchatclose,4,module=adm/class/tchat&cmd=new&job=close&autoclose=0&+randomizer=$rd,tchat
14
  !endif
15
  !endif
15
!endif
16
!endif
16
!reset test
17
!reset test