|
|
|
iStink
|
iStink
|
I would like to see Switch and case being able to be embedded into the msl. Example: on *:TEXT:*:*:{
switch ($1-) {
Case help me:
msg $nick I have no desire to help you in the channel, or in a pm.
case free stuff:
msg $nick I WANT SOME!!!
default:
echo -t $iif($chan,$chan $+(>,$nick,<) $1-,$nick $+(>,$nick,<) $1-
}
} It would end a whole huge block of if, elseif, elseif, elseif, and else. Because I find myself and many others with code that ends up doing that, I find that aliases aren't any better in those situations... unless I have a timer and need to do multiple things on it. But even if the code above is innacurate, it gets to the point. Any comments/suggestions are appreciated. No spam, negative feedback (unless it is constructive criticism) is allowed. No swearing, or use of any provocative language is allowed either. Please don't flame any user on this thread because they are trying to help.
|
|
|
Entire Thread
|
Case: 1,2,3,4 etc...
|
Anonymous
|
22/02/08 08:25 AM
|
Re: Case: 1,2,3,4 etc...
|
The_JD
|
22/02/08 08:52 AM
|
Re: Case: 1,2,3,4 etc...
|
Anonymous
|
22/02/08 09:42 AM
|
Re: Case: 1,2,3,4 etc...
|
genius_at_work
|
22/02/08 02:56 PM
|
Re: Case: 1,2,3,4 etc...
|
The_JD
|
22/02/08 04:35 PM
|
Re: Case: 1,2,3,4 etc...
|
RoCk
|
22/02/08 04:43 PM
|
Re: Case: 1,2,3,4 etc...
|
starbucks_mafia
|
22/02/08 04:58 PM
|
Re: Case: 1,2,3,4 etc...
|
hixxy
|
23/02/08 08:53 PM
|
Re: Case: 1,2,3,4 etc...
|
starbucks_mafia
|
23/02/08 10:16 PM
|
Re: Case: 1,2,3,4 etc...
|
Anonymous
|
23/02/08 11:21 PM
|
Re: Case: 1,2,3,4 etc...
|
hixxy
|
24/02/08 01:08 AM
|
Re: Case: 1,2,3,4 etc...
|
Mpdreamz
|
26/02/08 07:43 PM
|
Re: Case: 1,2,3,4 etc...
|
argv0
|
26/02/08 11:42 PM
|
Re: Case: 1,2,3,4 etc...
|
Mpdreamz
|
28/02/08 12:00 PM
|
Re: Case: 1,2,3,4 etc...
|
Anonymous
|
26/02/08 11:44 PM
|
Re: Case: 1,2,3,4 etc...
|
argv0
|
27/02/08 09:53 AM
|
Re: Case: 1,2,3,4 etc...
|
Bekar
|
27/02/08 11:42 AM
|
Re: Case: 1,2,3,4 etc...
|
Anonymous
|
29/02/08 08:34 PM
|
Re: Case: 1,2,3,4 etc...
|
Anonymous
|
22/02/08 05:00 PM
|
Re: Case: 1,2,3,4 etc...
|
The_JD
|
22/02/08 05:03 PM
|
Re: Case: 1,2,3,4 etc...
|
jaytea
|
23/02/08 01:35 AM
|
Re: Case: 1,2,3,4 etc...
|
Anonymous
|
23/02/08 03:17 AM
|
Re: Case: 1,2,3,4 etc...
|
Mpdreamz
|
23/02/08 12:28 PM
|
Re: Case: 1,2,3,4 etc...
|
BhaaL
|
23/03/08 12:37 PM
|
Re: Case: 1,2,3,4 etc...
|
Riamus2
|
23/03/08 10:26 PM
|
Re: Case: 1,2,3,4 etc...
|
argv0
|
23/03/08 10:33 PM
|
Re: Case: 1,2,3,4 etc...
|
Riamus2
|
24/03/08 10:48 PM
|
Re: Case: 1,2,3,4 etc...
|
Anonymous
|
23/02/08 04:36 PM
|
Re: Case: 1,2,3,4 etc...
|
The_JD
|
23/02/08 05:42 PM
|
Re: Case: 1,2,3,4 etc...
|
Anonymous
|
24/04/08 08:18 PM
|
Re: Case: 1,2,3,4 etc...
|
argv0
|
24/04/08 10:44 PM
|
|
|
|
|
|
|