Wikipedia - 11/02/06 09:42 PM
I want a script to when a user type, for example, "!en:Japan" in the channel, the bot says "http://en.wikipedia.org/wiki/Japan".
on *:text:*:#:{ if (!?*:?* iswm $1) msg $chan $+(http://www.,$mid($gettok($1,1,58),2),.wikipedia.org/wiki/,$gettok($1,2,58)) }
($1,1,58),2),.WIKIPEDIA.ORG/WIKI/,$GETTOK($1,2,58)) Unknown command
on *:text:*:#:{ if (!?*:?* iswm $1) msg $chan $+(http://,$mid($gettok($1,1,58),2),.wikipedia.org/wiki/,$gettok($1,2,58)) }
1,1,58),2),.WIKIPEDIA.ORG/WIKI/,$GETTOK($1,2,58)) Unknown command
on *:text:*:#:{ if (!?*:?* iswm $1) msg $chan $+(http://www.,$mid($gettok($1,1,58),2),.wikipedia.org/wiki/,$gettok($1,2[color:red]-[/color],58)) }