mIRC Home    About    Download    Register    News    Help

Print Thread
Page 4 of 4 1 2 3 4
Joined: Feb 2011
Posts: 488
K
Pan-dimensional mouse
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 488
dialogs.html

In "The dialog table" That should be a comma.
Code
rich. optional

Joined: May 2010
Posts: 44
B
Ameglian cow
Ameglian cow
B
Joined: May 2010
Posts: 44
I've just updated to v7.86, and spaces.dll is now broken, but there is now both a /spaces command and a $spaces() identifier to replace it.

I remember seeing /spaces and $spaces mentioned in the beta thread changelog and it had some info in it as well on how to use both of these, however, the posts there have since been deleted, and the mirc.chm help file is missing documentation for both of these things.

Whilst we wait for a new mIRC version (with an updated mirc.chm), could you please post full documentation on how to use both of these? I'm trying to replace my spaces.dll implementation with this native solution.

Thank you.

Joined: Feb 2011
Posts: 488
K
Pan-dimensional mouse
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 488
The $spaces() is the same syntax: 'echo', 'send', 'dcc'.

The 'input' was deprecated in the spaces.dll (v7.52) for '$parms' so you need to use '$parms'


Code
 
on *:input:*:{
  if (!$hget(autocorrect)) { hadd -m autocorrect monday Monday } 
  var -n %temp = $regsubex($parms,/((?<=^| )\w+)/g,$iif($hget(autocorrect,\1) != $null,$v1,\1))
  if ($left($1,1) != /) && (!$ctrlenter) {
    $spaces(send, PRIVMSG $target : $+ %temp)
    $spaces(echo, -aitc own $+(<,$me,>) %temp)
    halt
  }
}

Page 4 of 4 1 2 3 4

Link Copied to Clipboard