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.
on *:TEXT:*:#:{
tokenize 32 $strip($1-)
if (*tvrage* iswm $1-) {
/tvrage $2
if ( %show_class != Scripted ) { halt }
<rest of code>
}
}
alias tvrage {
<tvrage stuff>
}
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?
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>
}