mIRC Home    About    Download    Register    News    Help

Print Thread
#67344 10/01/04 06:01 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
alias borrar {
.unset %guest1000

.unset %guest1001
.unset %guest1001
.unset %guest1002
.unset %guest1003
.unset %guest1004
.unset %guest1005
.unset %guest1006
.unset %guest1007

}

how can i do it to unset the %guest var i have 50 to erase
with a loop

thnx



mess with the best
#67345 10/01/04 06:09 PM
Joined: Jan 2003
Posts: 148
K
Vogon poet
Offline
Vogon poet
K
Joined: Jan 2003
Posts: 148
unset %guest*

#67346 10/01/04 08:13 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
unset %guest10* ?? smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#67347 10/01/04 09:19 PM
Joined: Sep 2003
Posts: 156
B
Vogon poet
Offline
Vogon poet
B
Joined: Sep 2003
Posts: 156
if you only wanna rem 50 of them;
Code:
alias remvar var %i = 1 | while (%i <= 50) { if ($var(%guest*,%i)) unset $ifmatch | inc %i }


Link Copied to Clipboard