changed to str_to_num/num_to_str

This commit is contained in:
Felix Geyer
2004-03-08 17:34:37 +00:00
parent 87378017fd
commit af26dc83a5
10 changed files with 16 additions and 16 deletions

View File

@ -318,7 +318,7 @@ public cmdPlugin(id,level,cid){
}
else if ( equal(cmds, "list" ) ) {
new arg1[8], running = 0
new start = read_argv(2,arg1,7) ? str_to_int(arg1) : 1
new start = read_argv(2,arg1,7) ? str_to_num(arg1) : 1
if (--start < 0) start = 0
new plgnum = get_pluginsnum()
if (start >= plgnum) start = plgnum - 1