Liam's BitchX Command Reference
BitchX scripting function $splice()
- splice
- Function
- $splice()
- Usage
- $splice(variable start length)
- Returns
- removes length words fron the given variable, starting at the startth (the
first is numbered zero) and returns the removed words
- Example
- /do assign boy.data.1 My name is Simon and my feet are bare
/do $splice(boy.data.1 3 4) returns "simon and my feet"
/do echo $boy.data.1 now shows "My name is are bare".