You can also shorten this by:
alias isban { return $iif($1 isban #,$true,$false) } but i was experimenting with loops
$isban(nick/address)
i agree they look almost the same, but mine only returns the link and rating, not the quote
first script ive posted here in over 3 or 4 months :D
you can shorten the ban part by putting in: \"ban -ku $+ $iif($3,$3,120) $chan $nick 2 $4-\"
you can also use:
on :dialog:sp:sclick::{ if ($did == 1) { enable #slap_punisher | echo -a slap is on } if ($did == 2) { disable #slap_punisher | echo -a slap is off } }
to shorten your code
\"if (%me == 5) { .msg $chan Yes $nick $+ ? }\"
if your only using 1 text, why not just use:
on :text:!addoper:#:{
0o sorry :P $iif compares a statement and a: gives the true b: gives the false
try: alias iif { $iif(1 > 3),echo -a yup, your insane,nope) into remotes
also you can add in $iif for the kick reason:
$iif($4-,$4-,Banned)
i tried that ^, couldnt make any of it run
chanserv dont invite on swiftirc :P
usage: /short or at menu
you can shorten that a ton..
msg $chan $replace(A,4,a,4...)
/iban nick /iunban nick /invlist
i DO NOT recommend you use this unless your bot is in a lot of channels all the time.You need operserv exceptions.
you could also add:
var %saystyle = $iif($left($1,1) == @,msg $chan,notice $nick)
you coudl also take out the first if and use an else statement
mirc has built in timestamp
nice :D
!addmsn|setmsn !@msn !@usercount
sorry i took it out before, and if you know how to check please tell me :P
!msg nick(use _) msg to be sent !yes !no
lind try http://forum.swiftirc.net/viewtopic.php?t=1250
i tried doing that, but id rather use a spread out script.
and Pariah wrote listaway part, not yoinx :P
\"if ($1 == %away.nick) {\" use $1-
!away reason !back !@check nick !@listaway
you dont need all the | halt
for numbers without commands you dotn need a var for random
$rand(1,100) in the command gives a random number also