Sorasyn commented on a Page, My Bot  -  Mar 25, 2011

For one you can call the actual commands for your text events using $1
For example:

on *:TEXT:*:#:{
  if ($1 == !sop) {
    ;commands for !sop here
  }
  if ($1 == !aop) {
    ;etc
  }
}

$1 refers to the first token in the string so $1 in "Hello my name is Power." it would reference "Hello", $2 would reference "my" and so on. Even $0 plays a part in the string as it returns the total number of tokens within said string so "Hello my name is Power" would return 5.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.