Script breakout and return? - 24/10/08 03:44 PM
I made some script that uses some small tvrage thing in it but at some point in script it brakes out but doesn't return to finish it.
I thought adding { return } at the end of alias tvrage would make it work but it doesn't.
Does this mean i have to split the ontext event in something like this?
Code:
on *:TEXT:*:#:{ tokenize 32 $strip($1-) if (*tvrage* iswm $1-) { /tvrage $2 if ( %show_class != Scripted ) { halt } <rest of code> } } alias tvrage { <tvrage stuff> }
Does this mean i have to split the ontext event in something like this?
Code:
on *:TEXT:*:#:{ tokenize 32 $strip($1-) if (*tvrage* iswm $1-) { /tvrage $2 } } alias tvrage { <tvrage stuff> alias restofcode } alias restofcode { if ( %show_class != Scripted ) { halt } <rest of code> }