mIRC Home    About    Download    Register    News    Help

Print Thread
B
Buco
Buco
B
Hello





tnx, Buco

Last edited by Buco; 01/09/16 04:55 PM.
B
Buco
Buco
B
What is? Nobody here? Nobody has no idea what I'm looking for? Does nobody know how to do?

Last edited by Buco; 02/09/16 11:29 AM.
Joined: Jul 2006
Posts: 4,023
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,023
A lot of people know how to do that, it's a forum, it's common for peope to know the answer but to not reply because they consider that for correct help to be given, they have to spend some times and they don't want to do it right now, I read your post yesterday, having the letters in the images isn't helping..
Code:
on *:input:*:{
if (!$istok(/ $comchar,$left($1,1),32)) && (!$ctrlenter) {
  msg $active $replacecs($1-,É,E,Ê,E)
  halt
 }
}
Replace your letter accordingly following the same format in $replacecs()


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
B
Buco
Buco
B
sorry, but not working...

* /if: invalid format (line 2, script1.ini)
[17:27:45] <Buco> š ž

Last edited by Buco; 02/09/16 03:31 PM.
Joined: Jul 2006
Posts: 4,023
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,023
There was an extra ) in the /if line, I edited the code smile


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
B
Buco
Buco
B
now it works fine. wink
you are great, thank you wink

B
Buco
Buco
B
Wims, something is wrong with this script. Script works ok, but the problem appears in the status window, I will send any character, except / command smile Does that fix it?

[02:16:29] -> *Status* Window 1

Status No such nick/channel

[02:16:39] -> *Status* Window g

Status No such nick/channel

Joined: Jul 2006
Posts: 4,023
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,023
use $qt($active) instead of $active for /msg, why are you sending text to the status window anyway..


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
B
Buco
Buco
B
I happen to be something sent in status and I noticed an error

yes, in status usually do not write the text itself, however

Now I have discovered yet another error, namely if I copy and paste several lines and if the line between them is empty

1st picture with unload script and copy/paste. 2nd picture with load script and copy/paste two/three lines with empty between lines...

sorry for english :p

1st

2nd

Joined: Jul 2006
Posts: 4,023
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,023
Code:
on *:input:*:{
if (!$istok(/ $comchar,$left($1,1),32)) && (!$ctrlenter) {
 if ($regsubex($replacecs($1-,É,E,Ê,E),/^ +| +$/g,) != $null) {
   msg $qt($active) $v1
   halt
  }
 }
}


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
B
Buco
Buco
B
sorry



Link Copied to Clipboard