mIRC Home    About    Download    Register    News    Help

Print Thread
on input hide results #269222 21/07/21 11:01 PM
Joined: Mar 2021
Posts: 17
D
danielboom Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Mar 2021
Posts: 17
* @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

Re: on input hide results [Re: danielboom] #269224 22/07/21 01:27 PM
Joined: Jan 2012
Posts: 174
Epic Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2012
Posts: 174
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
}


πŸ…ΈπŸ†πŸ…² - 𝔦'𝔱𝔰 𝔸 π•‚π–ŽΙ΄π™™ ᴏ𝙛 π•„π™–π–Œπ™žπ™˜
Re: on input hide results [Re: danielboom] #269226 23/07/21 01:20 PM
Joined: Jan 2012
Posts: 174
Epic Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2012
Posts: 174
*** 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



πŸ…ΈπŸ†πŸ…² - 𝔦'𝔱𝔰 𝔸 π•‚π–ŽΙ΄π™™ ᴏ𝙛 π•„π™–π–Œπ™žπ™˜