mIRC Home    About    Download    Register    News    Help

Print Thread
#269222 21/07/21 11:01 PM
Joined: Mar 2021
Posts: 25
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Mar 2021
Posts: 25
* @PiNo (chatlaplat@PiNo.La.Plata) Quit (Ping timeout: 187 seconds)
601
<~VerDuGo> !sp Copperfield
<~VerDuGo> !sl Copperfield
* +Copperfield (chatlaplat@B05E961E.E462EEFF.194EAA6E.IP) has left #ayuda

On *:input:*: {
if $1 iswm !ifo { echo -a 0,4 cac222a | whois $2 }
if $1 iswm !sp { sapart $2 # }
if $1 iswm !sj { sajoin $2 # }
}

how can i hide the !sp , please help

Joined: Jan 2012
Posts: 301
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Jan 2012
Posts: 301
If I understand your question correctly, then you want to hide the use of these commands from being displayed on the channels.
In this case, you need to install the "halt" command at the end of the script. More on this here: https://en.wikichip.org/wiki/mirc/commands/halt or https://www.mirc.com/help/html/index.html?halting_text.html

Code
on *:INPUT:*:{
  if ($1 == !ifo) { .echo -a 00,04 cac222a  | .whois $2 }
  if ($1 == !sj) { .sajoin $2 $3 }
  if ($1 == !sp) { .sapart $2 $3 }
  halt
}


🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples
Joined: Jan 2012
Posts: 301
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Jan 2012
Posts: 301
*** There was an error in the previous post, but due to the long moderation (check), it was not possible for me to fix this error. I ask the forum moderator to delete my previous post.

danielboom - If I understand your question correctly, then you want to hide the use of these commands from being displayed on the channels.
In this case, you need to add the "halt" at the end of each condition to execute your commands:

Code
on *:INPUT:*:{
  if ($1 == !ifo) { .echo -at 08,06 Whois:00 $2  | .whois $2 | halt }
  if ($1 == !sj) { .sajoin $2 #channel | halt }
  if ($1 == !sp) { .sapart $2 #channel | halt }
}

For more details see here: https://en.wikichip.org/wiki/mirc/commands/halt or https://www.mirc.com/help/html/halting_text.html



🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples

Link Copied to Clipboard